Re: [Simulavr-devel] Crash after entering 'target remote localhost:1212' in avr-gdb

2016-01-31 Thread ThomasK
Hi Albrecht, looks so, as simulavr had a problem with addresses from 0x8000. (as to see in your logs below) Maybe a problem in GdbServer class. Christian has made changes in november and extended PC from a 16bit value (aka word) to a unsigned 32bit, but I assume, that this is correct and GdbS

[Simulavr-devel] project entry on sourceforge.net created

2015-03-15 Thread ThomasK
Hi @list, I have today created the project entry for simulavr on sourceforge.net. The main reason for this is to get a wiki for whatelse is usefull or needed to know around simulavr. In the moment it's just the entry and the wiki, nothing else. (sourceforge download area, bugtracker, blog, re

Re: [Simulavr-devel] Support for atmega2560?

2015-03-08 Thread ThomasK
Hi Markus, WARNING: file rwmem.cpp: line 231: Invalid write access to IO[0x90]=0x1, PC=0x3ba6 WARNING: file rwmem.cpp: line 231: Invalid write access to IO[0x91]=0x9, PC=0x3bac WARNING: file rwmem.cpp: line 231: Invalid write access to IO[0x71]=0x0, PC=0x3bb0 You assume here these addresses

Re: [Simulavr-devel] Support for atmega2560?

2015-03-08 Thread ThomasK
Hi Yifei, > Thanks for all the information! They are very helpful. How do I > contribute my code? Should I send patch files directly over the mail? > I saw a repository on GitHub at https://github.com/Traumflug > /simulavr, so can I send a pull request over there? maybe to clarify the situation:

Re: [Simulavr-devel] Support for atmega2560?

2015-03-06 Thread ThomasK
Hi Markus, My impression is, 1284p implementation works up to 64 kB, only. Running the very same code compiled for ATmega644 works, when compiling and running for ATmega1284P I get such warnings: WARNING: file rwmem.cpp: line 231: Invalid write access to IO[0x90]=0x1, PC=0x3ba6 WARNING: file

Re: [Simulavr-devel] Support for atmega2560?

2015-03-05 Thread ThomasK
Hi Yifei, as Joerg wrote before, use atmega1248 controller could be a good starting point. It has 128k flash instead of 256k flash on atmega2560. But if this could help you depends on, what you want to simulate. A full blown controller with all peripherals (and for your type correct behaviou

Re: [Simulavr-devel] [bug #42621] doc/simulavr.pdf build fails on Mac

2014-06-25 Thread ThomasK
Hi David, this is also a bug connected with autotools tool chain. The doc/Makefile is generated, change anything there is useless, because overwritten on next configure call. Your tex2dvi is newer and it looks so, that there was a change in cli interface, which autotools scripts don't know.

Re: [Simulavr-devel] [bug #42595] Faulty swig version number comparison

2014-06-24 Thread ThomasK
Hi Ryan, this is a problem (or maybe a feature) of autotools scripts, which we use too in our project. The script compare major and minor version (e.g. 1 and 3) as EQUAL and only the patchlevel (here 18) is compared to equal or greater. For the rel-1.0 branch (which you use with version 1.0.0)

Re: [Simulavr-devel] fab feature deprecated

2014-03-05 Thread ThomasK
Hi, to close (I hope) this discussion: I've analyzed, what's to find in the XML files from AVR studio. (ok, I had files from version 6.0, but I know, that the change in 6.1 isn't so big) The XML files in AVR studio are debugger centric, e.g. it contains mainly information about memory (addre

Re: [Simulavr-devel] Discussion: siminfo feature as proposed by Markus Hitter

2014-03-02 Thread ThomasK
Hi, to clarify one part of the discussion about siminfo: with the information from Markus I have made some tests about .signature and .siminfo section in elf file. Result: get .siminfo section into elf file is easy, just a command line option on compile/link. Markus has found out this and he

Re: [Simulavr-devel] Discussion: siminfo feature as proposed by Markus Hitter

2014-02-27 Thread ThomasK
Hi list, The discussion might be moot. Yesterday I tried to rebase on more recent SimulAVR sources and, unfortunately, it's no longer possible. I understand, that Markus is a bit ot POS, because the siminfo part is his "baby". But on one hand, the change isn't so difficult, the mechanism bet

[Simulavr-devel] Discussion: siminfo feature as proposed by Markus Hitter

2014-02-25 Thread ThomasK
Hi list, again a question to discuss: Markus has proposed a new feature (see http://savannah.nongnu.org/bugs/?40594 and Markus repo with this feature on https://github.com/Traumflug/simulavr) What does it do? In a similar way as avr signature it's possible to link into elf file some mor inf

[Simulavr-devel] fab feature deprecated

2014-02-23 Thread ThomasK
Hi list, I would set the fab feature, which is in the code to deprecated an remove it later, if there is no reason not to do. Onno have introduced it as a possibility to create new processors according to the description, which comes with WinAVR. (xml files) But this has some problems: - w

[Simulavr-devel] Dependency to libbfd and libiberty removed

2014-02-23 Thread ThomasK
Hi list, because of the problems on Mac OSX I have changed the read in of elf files to ElfIO. This causes, that the dependency of libbfd and libiberty (I think, this was independent of libbfd) is removed in master branch. So the corresponding configure option --with-bfd is also removed. If s

Re: [Simulavr-devel] [bug #41654] configure fails if swig version > 2.0.0

2014-02-23 Thread ThomasK
Hi Stefan, I assume, that you have used the release 1.0.0? For this it's right, build doesn't work with SWIG > 1.x.y. If you like, use the development version on git, there is a fix, which works too with SWIG 2.x.y. The question for the list: maybe backport some fixes to 1.0 and if yes, whic

Re: [Simulavr-devel] Compiling Simulavr und Mac OS X

2014-02-16 Thread ThomasK
Hi Mathias, Mac Ports provides the tools glibtool and glibtoolize. I have attached a diff for bootstrap to use these tools if available. Diff? Maybe the list software has removed the diff. Could you attach it as text? Second, simulavr requires libiberty, which is not recommended anymore a

Re: [Simulavr-devel] [bug #41419] configure fails if CXX= environment var was set

2014-02-02 Thread ThomasK
Hi Klaus, the problem with setting CXX is known (ok, at least for me :-) ) and comes from the M4 macros, which are used by autotools. Goal is, to give CXX environment variable priority over all other settings. But this macros are not bullet proved, as you can see. There are more such things .

Re: [Simulavr-devel] [PATCH 0/3] Fix several compiler warnings

2014-01-20 Thread ThomasK
Hi Stefan, if the patches are of the same subject, then put it together in one issue. What distribution do you use or what version gcc? cu, Thomas Am 20.01.2014 18:15, schrieb Stefan Brüns: On Monday 20 January 2014 08:59:28 Joerg Wunsch wrote: As Stefan Brüns wrote: Stefan Brüns (3): F

Re: [Simulavr-devel] build on debian

2013-11-24 Thread ThomasK
Hi, I have problems trying to install simulavr-1.0.0 please use the actual git version! The 1.0.0 version is only a bug collection. :-) It's not because of a bug in 1.0.0, it's because of a newer version of gcc, which handles such constructs more strict. As Klaus wrote, maybe take the ne

Re: [Simulavr-devel] [bug #40586] example/feedback does not work

2013-11-17 Thread ThomasK
Hi Markus, For example, if TCL isn't configured, typing "make" could bail out with something like: "Built the AVR binary, but you won't be able to run it, because TCL isn't configured. Try to reconfigure and rebuild simulavr with passing --enable-tcl to configure." Yes, this could be a good id

Re: [Simulavr-devel] HWPort pointers

2013-11-17 Thread ThomasK
Hi Michael, I think, not really a reason for this. Some have made this with pointers, some as static instance. Maybe it's a good idea to make it all in the same way, if there isn't a special reason to take the other way. cu, Thomas Am 17.11.2013 07:48, schrieb Michael Hennebry: I've noticed

Re: [Simulavr-devel] [bug #40559] bootstrap doesn't build src/Makefile.in

2013-11-13 Thread ThomasK
Hi, %.o: $(srcdir)/%.c If the goal is to get rid of GNU make dependencies, I think that fred.o greg.o ... zith.o : $(srcdir)/$*.c might be the best that can done. I'm not sure, what the warning message mean, because the line above (if this is the suspicious line) is plain old make syntax. I

Re: [Simulavr-devel] Howto UART, howto record pin behaviour

2013-11-13 Thread ThomasK
Hi Markus, there are possibilities to fit your task. I use GDB very seldom for avr development. Mostly I use the script extensions, in my case python. For example for virtually running amforth :-) or the simulation a LIN network on AVR. But this needs too knowledge in python programming. Othe

Re: [Simulavr-devel] Some small fixes to commit

2013-05-25 Thread ThomasK
Hi Marek, I'm in the moment a little bit handicaped, so you have to have a little bit patience. One possibility is to add the patches to patch list (and maybe create a new entry, if necessary) or you have to wait, till I can give you the write access to git repo. cu, Thomas Am 24.05.2013 2

Re: [Simulavr-devel] new release?

2013-05-22 Thread ThomasK
Hi Joerg an Klaus, automake-1.12: warnings are treated as errors examples/anacomp/Makefile.am:38: warning: '%'-style pattern rules are a GNU make extension examples/atmega128_timer/Makefile.am:27: warning: '%'-style pattern rules are a GNU make extension examples/atmega48/Makefile.am:46: warni

Re: [Simulavr-devel] pinatport vss pin

2013-03-06 Thread ThomasK
Hi, yes, in the moment it's only possible to connect HWPrescalerAsync to a PinAtPort instance. There is a (quick) workaround for that: create a port (port X) and use one of this "special port" pins as external clock input. I'm trying the async mode, with a 32KHz crystal... is that supposed

Re: [Simulavr-devel] adding a new device

2013-03-05 Thread ThomasK
Hi, unfortunately there is no complete guide for this task. Just a rough howto for the first steps. (see attached file) But it's also difficult to describe all faccets of the task to add a new device. Maybe it helps. Other possibility to make it is using a allready available device and strip

[Simulavr-devel] Rewrite of analog peripherals

2013-03-05 Thread ThomasK
Hi, I've now added to master branch a rewrite of analog comparator and ADC to fit the most functionality used in the allready implemented devices. In the moment, auto trigger functionality for ADC isn't implemented, except free running mode. This is because of some unclear descriptions in da

Re: [Simulavr-devel] Help needed: Pin handling broken

2013-01-27 Thread ThomasK
Hi Klaus, your problem with Pin class is a wrong implementation of OpenDrain class. And what you see as result is overwritten memory, sometimes you can get a segfault, sometimes it's only a endless loop! As I wrote, OpenDrain is unmaintained ... :-) Appended a patch, with one of more possibl

Re: [Simulavr-devel] Help needed: Pin handling broken

2013-01-26 Thread ThomasK
Hi Klaus, I create a net, add some pins and after simulating some steps a delete the net and run in an endless loop. Unregister of a net will not work as expected but the code is modified a lot so I have to start reading it from start. Could you give a example code. Or maybe, there are some py

Re: [Simulavr-devel] Help needed: Pin handling broken

2013-01-26 Thread ThomasK
Hi Klaus, I think, I understand your problems. But ... there is one thing, that's forever: change! :-) In your case the problem is, that the complete tcl part is unmaintained! So I'm not wondering, why you get in trouble. Sorry! But there was so much undocumented and less documented (and I d

Re: [Simulavr-devel] git ignore: gui.tcl.in

2013-01-26 Thread ThomasK
Hi Klaus, is it intention to have gui.tcl.in in git ignore? I understand to have gui.tcl in, but the gui.tcl.in is part of the repo. There is only "*.in" in .gitignore file in repository root, and "gui.tcl" in examples/.gitignore. (the same situation for simulavr.tcl.in!) So what you see is

Re: [Simulavr-devel] Missing information in trace files

2013-01-26 Thread ThomasK
Hi Klaus, My simulation breaks down with throwing an exception. That is not a good idea at all, because it tooks not a minute until the simulation is down. I have tried it just now. On my machine it works to produce subsequent trace files! Do you have more information about it? How much lines

Re: [Simulavr-devel] unit test framework added

2013-01-26 Thread ThomasK
Hi Klaus, one question more: which version gtest do you use? And which version do we want to support? Newest is 1.6.0, but I think, not all will have the newest, for example my machine (it's a 10.04 ubuntu) has 1.3.0 in standard distribution. cu, Thomas _

Re: [Simulavr-devel] irq handling is broken in simulavr

2013-01-26 Thread ThomasK
Hi Jörg, to see, that I understand it right: The delay of one opcode comes because of the 2 stage pipline, so the OUT instruction to trigger the interrupt will work at the end of instruction processing and the next instruction is allways loaded and processed before interrupt processing starts

Re: [Simulavr-devel] unit test framework added

2013-01-26 Thread ThomasK
Hi Klaus, wow, there is the party going on ... 15 posts in 2 days!:-) > I added the framework under regress/gtest To answer: I had a short look to your changes about gtest. I think, it's a good idea. Especially for regression tests. It makes it easier to make changes and to ge sure, not to ha

Re: [Simulavr-devel] dump manager and special trace options

2013-01-26 Thread ThomasK
Hi Stan, "tracer-output" is a file that will be written to. I attached a PHP script that transformes it into the AVR Studio stimuli format which should be nicer to understand. Nice idea! Maybe we can put this script into repository, that others can use it, if necessary? Because I work with Li

Re: [Simulavr-devel] dump manager and special trace options

2013-01-26 Thread ThomasK
Hi Klaus, -cEnables a tracer with a set of options. The format for is: [:further-options ...] -o Specifies a file into which all available trace value names will be written. To answer this: Onno has added some code to p

Re: [Simulavr-devel] irq handling is broken in simulavr

2013-01-26 Thread ThomasK
Hi Petr, Klaus Rudolph and Joerg Wunsch say that: if interrupts were are enabled or just became enabled (because of SEI, RETI, OUT) and an interrupt was pending or just became pending, then one more instruction will be executed and then the interrupt handler (typically a JMP/RJMP instruction) wi

Re: [Simulavr-devel] Python connect

2012-10-20 Thread ThomasK
Hi, unfortunately there is no tutorial or special howto for using python. But maybe you can have a look on examples/python, regress/timertest or regress/extinttest. And you need a good knowledge in python programming and the doxygen api documentation. cu, Thomas Am 19.10.2012 10:51, schri

Re: [Simulavr-devel] Assertion fails when using at90can128

2012-07-30 Thread ThomasK
Hi Petr, I compared the interrupt vectors to datasheet and I think the values of vector are completly wrong. Also the code wrote beyond end of array Yes, I've seen. Your diff should give a help for Ytai (I'm not sure, if this is the first name, other nation - other order ;-) ) Maybe he will

Re: [Simulavr-devel] Assertion fails when using at90can128

2012-07-29 Thread ThomasK
Hi, thanks for this message. Problem is, that on at90can processors (all, not only 128) the assignment of interrupts is wrong. (here, in special interrupt 7 is assigned twice, but the message is a little bit "mysterios") Could you create a bugreport on http://savannah.nongnu.org/bugs/?group=

Re: [Simulavr-devel] Is this correct list, concerning version 1.0 does not link using cygwin

2012-07-25 Thread ThomasK
Hi, yes, this is the correct list ... because this is the only one. :-) You wrote "link using cygwin": what cygwin, which version and what do you get for a message? Maybe a hint: download the manual (manual-1.0.pdf), there is a chapter "How to build simulavr on MingW/Windows". (ok, not reall

Re: [Simulavr-devel] cz error message

2012-03-01 Thread ThomasK
Hi Mathias, ... Btw, are you interested in a tutorial how to compile on OS X? Yes! I don't have a Mac. so I have no chance to try it on OS X. But if you like, write it here to the list. So, everybody, who seeks for this, can find it here. Maybe I'll push it later to documentation. cu, Thom

Re: [Simulavr-devel] [PATCH] Reduce warnings about registers not simulated

2012-02-23 Thread ThomasK
Hi Torsten, thanks for your informations about opensuse package. A I can see, that you've produced packages for 11.4 and 12.1. Is this then also included in opensuse distribution, e.g. it's installable by yast or yum or such? I think, I'll add a comment in documentation. And, as I've seen, thi

[Simulavr-devel] Release 1.0.0 is done.

2012-02-14 Thread ThomasK
Hi, it's done now! Release files and website are uploaded. Hope, that's fine and especially the binary packages are working. Now it's only updating git and merge back docu changes and the quickfix for the -a option on win7 to master branch. (and by the way rename stable to oldstable) And t

Re: [Simulavr-devel] call for review documentation / manual

2012-02-08 Thread ThomasK
Hi Eric, I forgot one thing: I've found a bug in simulavr. Currently option "-a" (abort register) dosn't work on Windows7! (but was working on XP) So regression test dosn't run successfull. Problem is, as I assume, the abort system call. In Win7 it raises a message box and then regression te

Re: [Simulavr-devel] call for review documentation / manual

2012-02-08 Thread ThomasK
Hi Eric, Does the project have documentation that explains how you build those windows binaries via mingw? Or is it pretty straight-forward? Yes, there is about half page on page 21. Yust a few hints from my experience with mingw and building simulavr. But it's a lot of work to get environme

Re: [Simulavr-devel] call for review documentation / manual

2012-02-07 Thread ThomasK
Hi Petr, There has been multiple releases before. Users do not know the code base is different. Right. But "first release" means for me first release for simulavr and not only tar balls, also docu, web site and such. In the moment I'm trying to build windows image. As I see, the abort functi

[Simulavr-devel] call for review documentation / manual

2012-02-06 Thread ThomasK
Hi @all, the first release is the hardest ... ;-) Now I've pushed a first version of manual for upcoming release 1.0 to savannah: http://download.savannah.gnu.org/releases/simulavr/manual-1.0.pdf (signature: http://download.savannah.gnu.org/releases/simulavr/manual-1.0.pdf.sig) (Attention,

Re: [Simulavr-devel] Release branch for release 1.0

2012-02-05 Thread ThomasK
Hi Onno, Cool! How about renaming the old 'stable' branch to 'oldstable' then? That's the very old code base from 2009. People will be confused if there is a 'master' and a 'stable' branch. I'm not sure, if it's possible to change the branch name, because this is on the server and I don't kno

[Simulavr-devel] Release branch for release 1.0

2012-02-04 Thread ThomasK
Hi @all, just for information: I have now created release branch for release "1.0". This branch get's only bugfixes for this release, if necessary. So I start now with creating release files, documentation and update for web site. In master branch, version is now "1.1dev". cu, Thomas

Re: [Simulavr-devel] GDB to stdin connection & threading

2012-01-30 Thread ThomasK
Hi Petr, * attackers on network are able to abuse the poor simulavr I think, this is really a security problem. It's an open port for somebody, which is able to connect to it and nobody can be sure, that there is no possiblity to abuse it. The first is: NOBODY SHOULD RUN SIMULAVR AS ROOT!

Re: [Simulavr-devel] Implementing device signatures

2012-01-30 Thread ThomasK
Hi Petr, Oh well, I did not see your code. It appears you implemented the signature detection in [1]. Right! I think, this should be the necessary part for signature and signature checking. Have you considered merging it into trunk/master/whatever branch? As you can se on commit dates on

Re: [Simulavr-devel] Implementing device signatures

2012-01-23 Thread ThomasK
Hi Petr, just a short answer. Do you've seen my code in branch devel-tomk? I've made something with signature, fuses and such. The change was on 2th june 2010: "Implement loading fuses, lock bits and signature from elf, check signature". But there I start with another point ov view. (as I re

Re: [Simulavr-devel] Now - about SWIG and C++ api: how to use it?

2012-01-23 Thread ThomasK
Hi Andrey, it wasn't on list, so I left your message untouched below. > print self.GetCurrentTime() Sorry, was my mistake, it must be: self.getCurrentTime() (starting with lower character for method name) This is a real python method, see ex_utils.py in examples/python directory. cu, Thomas

Re: [Simulavr-devel] doRun() and doStep() - how to use it?

2012-01-22 Thread ThomasK
Hi Andrey, just to have a quick answer: Try to use simulavr to unit-testing my firmware. In example folder found python examples, but - found absolutely no documentation about python API. Is it means that there is no such documentation, only source code? Unfortunately yes! I'm responsible f

Re: [Simulavr-devel] Script to count tab spaces in source files

2012-01-07 Thread ThomasK
Hi Petr, just to answer, not to make the "next battle in the war": :-) Readability and parsing were not affected. There are other, more important reasons for tabs. Readability IS affected if somebody looks to a source with tab space 4 (for example) and it was formatted in a few lines with ta

Re: [Simulavr-devel] Script to count tab spaces in source files

2012-01-05 Thread ThomasK
Hi Petr, Are you aware that spaces-vs-tabs issue is a holy war which has been going on for decades and remains unsolved? It is unlikely that anyone finds a solution people would like. Maybe if the solution was implemented in an editor. Yes, I know it! :-) In the historical computer age ;-) it

Re: [Simulavr-devel] Plan for make a first release of simulavr

2012-01-05 Thread ThomasK
Hi, My objection is still that the new simulavr is incomplete (the existing features would have use for some polishing). If the polishing is delayed, it will break people's stuff in next release. Agree! I think, you will have 2 times more ideas for improvements than developers. So it wouldn't

Re: [Simulavr-devel] [PATCH] Add BREAK-instruction, causes simulavr to halt.

2012-01-04 Thread ThomasK
Hi Stan, Am 04.01.2012 16:39, schrieb Stan Behrens: Back to topic: I could not find any code that implements handling of FUSEs, so that I had to change my patch. Simulavr treats the BREAK instruction as NOP now when no gdb session was established. I've started with some changes conneted with h

[Simulavr-devel] Plan for make a first release of simulavr

2012-01-04 Thread ThomasK
Hi, after some questions about building a released version of simulavr and after many months of development, :-) (sure, last time it was only Petr, which has commited some work) it's time to create a first release. I'll start this in the beginning of february, e.g. create a release branch for

[Simulavr-devel] Script to count tab spaces in source files

2012-01-04 Thread ThomasK
Hi, I've commited now a script to count all tab spaces from source files in simulavr workspace. Goal is to reduce step by step tab spaces from source files. Why? Usually developers use different editors, as they like. And also different settings. And one of such setting is the size of tab sp

[Simulavr-devel] Script to check repo and workarea

2011-12-29 Thread ThomasK
Hi, today I've commited a script to check commited work _after all is commited and _before_ pushing up work to savannah. Goal is to know, that all commits, which are pushed up, will work together. It needs at first a configuration file, see delivery-check.conf.sample for a sample configurati

Re: [Simulavr-devel] Need Tar for Atmega328 Simulation

2011-12-04 Thread ThomasK
Hi Petr, Am 04.12.2011 22:50, schrieb Petr Hluzín: Undefined symbols: "_compress", referenced from: _bfd_compress_section_contents in libbfd.a(compress.o) GNU libbfd recently introduced a dependency from zlib. (For another I'm not sure, what's happen on Brandon's box. Normally, co

Re: [Simulavr-devel] Documentation about external interrupt

2011-11-06 Thread ThomasK
Hi Andrey, Am 05.11.2011 08:18, schrieb Andrey Gill: I downloaded manual in pdf format. This manual says that I can use for simulate external interrupt file gui.tcl . I can run this file in my system - but it displays just empty window without any controls. I do not know tcl language and can

Re: [Simulavr-devel] Connect with gdb to a core of a python simulation

2011-08-19 Thread ThomasK
d only instance of GDB. Here stopping one thread (core) would stop all other threads. It's the consequence of clock concept in simulavr (and called freeze mode debugging sometimes). Of course GdbServer class is not designed to do that, but if we ever wanted to support that... Marek On Thu

Re: [Simulavr-devel] Connect with gdb to a core of a python simulation

2011-08-17 Thread ThomasK
Hi guys, just to give my 2 cents ... ;-) I think, simulavr isn't able to fit to this plan with simulating 2 or more avr cores in the same time (!) with gdb. I don't know, how to do that with gdb - but that's not my topic. simulavr isn't designed to do that! How multicore works: it's one (!)

Re: [Simulavr-devel] Simulavr unit-tests

2011-07-10 Thread ThomasK
Hi Petr & Sergei, oops, not sent to list! Here again: there are some unit tests in simulavr test suite - but nobody knows this. :-) Look in regress directory and below and try "make check" - not only to look for unit tests ... ;-) cu, Thomas Am 07.07.2011 00:33, schrieb Petr Hluzín: 2011/

Re: [Simulavr-devel] Code in devel-tomk

2011-05-08 Thread ThomasK
Hi Onno, yes, there is this code ... plan was to implement lpm and spm command right, that self programming and such will work. But then time for it run out. But maybe I have time to finish this next time. As I remember, there were some questions about where is what and with which behaviour in the

[Simulavr-devel] Nightly build service, was: [bug #33148] Modifications needed in to compile last simulavr

2011-05-02 Thread ThomasK
Hi Petr, > We do not have to cover all combinations (myriad). I believe there are > are POSIX-based systems - whose look identical for our purposes. And > there is a Visual Studio build. If someone breaks buildability on VS I > do not mind fixing that. So buildability on any Linux would cover most

Re: [Simulavr-devel] [bug #33148] Modifications needed in to compile last simulavr

2011-05-01 Thread ThomasK
Hi list, I'm back after a long time ... ;-) (hopefully) It's a question of free time, of course. About nightly build service: At all, it's a good idea. In my work I see many such solutions. Some build quick and dirty - just for this project only, some with professional software. And there a

Re: [Simulavr-devel] Simulation of the interactive, UART using firmware with pysimulavr

2010-11-07 Thread ThomasK
Hi wzab, My AVR code intensively uses the UART interface. Unfortunately it also sends smetimes the double quote character ("), which caused the Tcl/Tk GUI to crash. Your problem with double qoute is connected with tcl itself. It tries to interpret this double quote and then things go wrong. B

Re: [Simulavr-devel] Extended python interface: SetAnalog

2010-07-23 Thread ThomasK
Hi Sebastian, I don't have any ideas what to improve. Would it do any harm to push the change to the main branch, so you don't need to merge updates? fyi: your patch is now uploaded to master branch. cu, Thomas ___ Simulavr-devel mailing list Simu

Re: [Simulavr-devel] Self-programming question

2010-07-09 Thread ThomasK
Hi Quatre, One thing that I want to test in my application is self-programming flash using the SPM command. The stable branch in the git repository does not provide support for the SPM instruction. However, the master branch seems to, as there is code for it in decode.cpp. What is the state of th

Re: [Simulavr-devel] Extended python interface: SetAnalog

2010-07-09 Thread ThomasK
Hi Sebastian, last days I've tried your patch. I think the output of "Pin::operator char" was inconsistent with "Pin::operator=", so i swapped "A" and "a" there. Is this ok? Or should the swap be done in "Pin::operator="? Or was the inconsistency deliberate? Yes, this is a bug. I (!!) would p

Re: [Simulavr-devel] Installed on gentoo - a few issues

2010-07-04 Thread ThomasK
Hi David, David Hubbard schrieb: Hi everyone, This is gentoo-specific info, but I read in the manual that such feedback is welcome: Thanks for your informations about gentoo and simulavr. I'll insert it in documentation, next time I have to change something on documentation. cu, Thomas ___

Re: [Simulavr-devel] Extended python interface: SetAnalog

2010-07-04 Thread ThomasK
Hi sebastian, thanks for this change. I'll check it, but it could take some time. Sebastian schrieb: Hi, I extended the python interface so that you can simulate ADC inputs. Can you please review the attached commit? Can I get commit rights or do you prefer to push it yourself? I think, I'll

[Simulavr-devel] Eclipse project settings

2010-06-19 Thread ThomasK
Hi list, lately I've changed git settings to ignore eclipse configuration files from VC. So everybody can use it's own settings, if he/she will work with eclipse. But maybe it would be a good idea to have some "common settings" for the project (for example tab usage) and to freeze if also by

Re: [Simulavr-devel] Address of breakpoints from source lines

2010-06-19 Thread ThomasK
Hi Sebastian, From looking at this and at example.py, I got the impression that, to "continue" from a breakpoint, you must delete it. And to recognize that a breakpoint was reached, you test if getCurrentTime returns increasing values when you call doRun? Yes for the first part. No for the sec

Re: [Simulavr-devel] small fix for make install

2010-06-18 Thread ThomasK
Hi Sebastian, I fixed it in examples/python/Makefile by removing README from EXTRA_DIST because it's already contained in DIST_COMMON. Ok, thanks for reporting this. I'll make a change in master branch next time. (I hope, on weekend) The right place for such is Makefile.am, because on automa

Re: [Simulavr-devel] Address of breakpoints from source lines

2010-06-18 Thread ThomasK
Hi, I'm again ... ;-) Sebastian schrieb: > Hi, > is there a way to get breakpoint-adresses for source code lines > directly from simulavr (with the python interface)? I'ts possible to set and remove breakpoints by python interface, see method assertInitDone in regress/modules/simtestutil.py. Y

Re: [Simulavr-devel] New feature: read in signatue, lock bits and fuses from elf, if available

2010-06-12 Thread ThomasK
Hi Raphael, Let's imagine you instead change the '-d' option behaviour, and make it non-mandatory option : - if not present, ELF signature should be present, and will be used to define the AVR. If no signature in ELF : exit and error "can't guess device, use -d" - if '-d' given, - (*)if EF

[Simulavr-devel] New feature: read in signatue, lock bits and fuses from elf, if available

2010-06-06 Thread ThomasK
Hi list, now I had a little bit time to start a task, which was in my inbox for a longer time: a suggestion from Petr to read and use controller signature. I've started now to implement this. If simulavr commandline application read a given elf file, it reads now too signature, fuses and lock

Re: [Simulavr-devel] Eeprom simulation question

2010-04-30 Thread ThomasK
Hi Raphael, sorry for my late answer, but I was busy last time ... (and you found out all forself :-) ) According to Michael's feedback, fuses and lockbits are ignored as sections in the loaded ELF. My understanding of the code seems to confirm that. Anyway I admit that it would'nt be very us

[Simulavr-devel] update web site simulavr

2010-04-19 Thread ThomasK
Hi @list, I've updated web site content. (e.g. it should be visible next time) Please report mistakes, wrong words and such things, if you find it. cu, Thomas ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org http://lists.nongnu.org/mailman

Re: [Simulavr-devel] Trouble building master branch

2010-04-17 Thread ThomasK
Hi Raphael, I just arrived in this company that has a lot of ATmega32 legacy code, and I try to include some unit testing environment, that's why I'm so interested in simulavr. I won't need gdb either for that part. I think, I will look for my multicore simulation example and prepare it to in

Re: [Simulavr-devel] Trouble building master branch

2010-04-16 Thread ThomasK
Hi Raphael, Next step for me will be in a few days to try to have simulavr run two ATmega32 communicating through an SPI link. From what I read in the PDF, that should be possible, am I right ? It's possible, but only with a little bit work. You have to use TCL interface or python interface f

[Simulavr-devel] Rework documentation

2010-04-14 Thread ThomasK
Hi @list, I want to rebuild documentation. First step is done: building web site and documentation with sphinx. Next step: reorder documentation and make plans, what to change and to add. The goal is to substitute texinfo documentation after all. (and to have single source for web site AND do

Re: [Simulavr-devel] Trouble building master branch

2010-04-14 Thread ThomasK
Hi Raphael, 'make check' does not run tests any more, but I think I remember reading here that they have been disabled for now Now I will try to understand and use it ;) Yes, that's right, if you call ./configure without parameters. The reason is, that 'make check' needs python and python is

Re: [Simulavr-devel] Trouble building master branch

2010-04-14 Thread ThomasK
Hi again, you shouldn't worry about the last lines in output in "./configure" (without parameter!)! This will type out (for example): ... AVR_LIBBFD_LIB=/usr/lib/libbfd.so AVR_LIBIBERTY_LIB=/usr/lib/libiberty.a PYTHON=/usr/bin/python build verilog modul avr.vpi = no The line "PYTHON=/usr/bin/

Re: [Simulavr-devel] Trouble building master branch

2010-04-13 Thread ThomasK
Hi Raphael, make a pull from repo and try it again! There was a bug, it misses 2 config files. (if you don't see it, you'll forget it ... ;-) ) ATmega32 is supported in master branch. (it should work, but I had not so much projects to test it!) cu, Thomas Raphaël Martin schrieb: Hi, I'm n

Re: [Simulavr-devel] git repo: ready for go

2010-03-26 Thread ThomasK
Hi, Yes, we should then switch the tag 1.0rc0 back to point to latest stable. I think devel needs no tag at the moment. Ok. But now I'm a little bit fuzzy about it. ;-) Which version should be set for the NEW code in master branch? (before fork we had 0.9git, for the fork it was 0.10rc1, at

[Simulavr-devel] Preview for new project web page

2010-03-26 Thread ThomasK
Hi, I've prepared a preview for a new project web page. (the current one is from 2004! :-) ) You can find it here: http://download.savannah.gnu.org/releases-noredirect/simulavr/html.tar.gz For now, it's the boilerplate page and one (empty) sub page. It's planned to fill it in next days with

Re: [Simulavr-devel] git repo: ready for go

2010-03-25 Thread ThomasK
Hi, Joerg Wunsch schrieb: As I understood Onno, he really suggested to tag the old code base as 1.0 and "stable", and release it soon now. After all, this code hasn't been formally released for a number of years now. Once 1.0 is out, the next release could be a 1.1 then, coming from the curren

Re: [Simulavr-devel] git repo: ready for go

2010-03-25 Thread ThomasK
Hi Onno, Well, but you set master to 1.0rc0. I was proposing to set 'stable' to 1.0rc0 :-) Yes, but my understanding was to set our NEW code to 1.0, not the "old" state from simulavrxx CVS repo? For me, it makes no sense to tag the old code to 1.0. Other opinions? cu, Thomas

Re: [Simulavr-devel] git repo: ready for go

2010-03-25 Thread ThomasK
Hi Jörg, What, for example, would happen if I said git config user.email nongnu@sce-gbr.de there, and later commit and push my changes to savannah? The messages in the commit log are given by these settings. So this would set your eMails to TomK's in the commit message. That's a littl

[Simulavr-devel] git repo: ready for go

2010-03-24 Thread ThomasK
Hi @all, I've now reverted changes, which rename simulavr to avrs. This means, that code in git repo should now ready for further work. And I've set version to 1.0rc0. How to get it/use it: - at first, you need git, of course, you can try on terminal "git help", if this works, you have alre

Re: [Simulavr-devel] Undo the fork ...

2010-03-23 Thread ThomasK
Hi Joel, it looks so that you're the only active developer, which uses TCL interface. If we have uploaded code to GIT repo (and you have time and so one ... ;-) ) then it would be nice to test your projects wich use TCL interface against the new code. There are some neccessary changes on TCL

Re: [Simulavr-devel] Undo the fork ...

2010-03-23 Thread ThomasK
Hi, to answer todays mails: - I think, I'll left untouched both CVS repos, even if it isn't possible to set it read only. There are not so much people, which could upload code ... ;-) GIT repo should hold (at first only) the master branch from fork, nothing else. - Jörgs proposal, to "hide"

  1   2   >