Re: [Simulavr-devel] Can I display the simulated controller time in gdb?

2017-03-10 Thread Markus Hitter
rap.org/wiki/Teacup_Firmware#Teacup_in_SimulAVR http://reprap.org/wiki/SimulAVR#Signal_tracing Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nong

Re: [Simulavr-devel] Settings for stackpointer

2016-02-23 Thread Markus Hitter
chaseable or not. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel

Re: [Simulavr-devel] Settings for stackpointer

2016-02-22 Thread Markus Hitter
e firmware: https://github.com/Traumflug/Teacup_Firmware/blob/master/testcases/run-in-simulavr.sh https://github.com/Traumflug/Teacup_Firmware/commit/808f5dcfca7b71b44ac35f3baa4d7c81c4673020 Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http

Re: [Simulavr-devel] Settings for stackpointer

2016-02-21 Thread Markus Hitter
pilation time? Please keep such parts. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel

Re: [Simulavr-devel] simulAVR UI

2015-05-20 Thread Markus Hitter
mulavr/tree/traumflug/examples/simple_serial Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel

Re: [Simulavr-devel] simulAVR UI

2015-05-19 Thread Markus Hitter
quot;net" feature works All the testcases are kind of a reasonably good documentation. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-

Re: [Simulavr-devel] Support for atmega2560?

2015-03-08 Thread Markus Hitter
ah.nongnu.org/bugs/?40594#comment7 Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel

Re: [Simulavr-devel] Support for atmega2560?

2015-03-06 Thread Markus Hitter
ch #ifdefs other than the -mmcu flag for gcc. > Maybe a bug in register description? That's done by gcc. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel

Re: [Simulavr-devel] Support for atmega2560?

2015-03-06 Thread Markus Hitter
=0x3bb0 On real hardware both work fine, binary size is about 18 kB. For supporting the p variants at all I added this patch: https://github.com/Traumflug/simulavr/commit/69d944dd83e3103b80772b532f6b6ad94f740df0 Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http:/

[Simulavr-devel] [sr #108667] Compilation problems

2014-10-15 Thread Markus Hitter
Follow-up Comment #1, sr #108667 (project simulavr): You can use the fork made for RepRap firmware development. Build instructions and Github link here: http://www.reprap.org/wiki/SimulAVR#Installation Just confirmed it to still build flawlessly on Ubuntu 14.04. _

[Simulavr-devel] [bug #40594] Store simulation parameters inside the ELF file

2014-10-10 Thread Markus Hitter
Follow-up Comment #8, bug #40594 (project simulavr): Having this Wont Fix unfortunately forces me to keep our SimulAVR fork at Github: https://github.com/Traumflug/simulavr . That's disappointing. ___ Reply to this item at:

Re: [Simulavr-devel] Add example python script to simulate UART

2014-08-16 Thread Markus Hitter
demonstrate what it's intended for. The "simple" part still waits here: https://github.com/Traumflug/simulavr Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing

[Simulavr-devel] [bug #40594] Store simulation parameters inside the ELF file

2014-06-14 Thread Markus Hitter
Follow-up Comment #6, bug #40594 (project simulavr): As the libbfd/libiberty version is bitrotten already. I've just rebased my fork on Github: https://github.com/Traumflug/simulavr It appears to work fine. ___ Reply to this item at: <

Re: [Simulavr-devel] fab feature deprecated

2014-03-01 Thread Markus Hitter
ual devices. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel

Re: [Simulavr-devel] fab feature deprecated

2014-02-28 Thread Markus Hitter
quency or connected devices (one line each) with an idiot-proof syntax appears to be plausible. SIMINFO inside the AVR binary would go away, as well as changes to ELF reading and this shared header file. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-in

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

2014-02-28 Thread Markus Hitter
did. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel

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

2014-02-28 Thread Markus Hitter
. With a dead simple syntax, of course. As the ELF issues appear now to be solvable universally, I no longer think this is needed. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel

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

2014-02-27 Thread Markus Hitter
e by ElfIO"), so the SIMINFO mechanism would have to be rewritten and re-tested from scratch, too. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-d

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

2014-02-26 Thread Markus Hitter
precedence over stuff in the .siminfo section, so this part should be solved. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://list

Re: [Simulavr-devel] [bug #40594] Store simulation parameters inside the ELF file

2013-12-28 Thread Markus Hitter
s earlier definition directly. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.reprap-diy.com/ http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel

Re: [Simulavr-devel] Signal tracing to VCD file.

2013-12-28 Thread Markus Hitter
next? SimulAVRs VCD tracing made this clearly visible! OK, I have to admit some additional script code was required to translate step pulse timings into motor speeds. No rocket science with this excellent dumping code, though. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Mark

[Simulavr-devel] [bug #40594] Store simulation parameters inside the ELF file

2013-11-22 Thread Markus Hitter
Follow-up Comment #5, bug #40594 (project simulavr): All my stuff is now on Github for ease of integration and ease of testing. See https://github.com/Traumflug/simulavr SIMINFO stuff works there right out of the box. ___ Reply to this item

[Simulavr-devel] Signal tracing to VCD file.

2013-11-20 Thread Markus Hitter
imple I postponed to add this to the SIMINFO strategy for now. Enjoy! Markus P.S.: if you feel like editing these instructions, the RepRap wiki is open for everybody. Just create an account an edit away. -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.

[Simulavr-devel] ELF simulation info storage

2013-11-19 Thread Markus Hitter
patches before building simulavr? First steps of documenting SimulAVR usage for RepRappers is done here: http://reprap.org/wiki/SimulAVR Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.reprap-diy.com/ http://www.jump-ing.de/ ___

[Simulavr-devel] [bug #40593] Yet another example, simple_serial

2013-11-19 Thread Markus Hitter
Follow-up Comment #1, bug #40593 (project simulavr): Reviewed the patch and added more explanations, copyright messages and all this stuff. Please find the new version attached. (file #29671) ___ Additional Item Attachment: File name: 0001

[Simulavr-devel] [bug #40638] Implement SerialRxFile and SerialTxFile

2013-11-19 Thread Markus Hitter
URL: Summary: Implement SerialRxFile and SerialTxFile Project: Simulavr: an AVR simulator Submitted by: hitterm Submitted on: Di 19 Nov 2013 21:14:59 GMT Category: Simulation

[Simulavr-devel] [bug #40598] Fix avr_message()

2013-11-19 Thread Markus Hitter
Follow-up Comment #2, bug #40598 (project simulavr): Patches 0001-* and 0002-* are identical (except for the commit ID). Also attached a slightly refined 0004-* (accidently removed a message) and added 0005-*, which fixes a number of compilation warnings. The latter is independent and can be appl

[Simulavr-devel] [bug #40611] ./bootstrap still gives warnings.

2013-11-17 Thread Markus Hitter
URL: Summary: ./bootstrap still gives warnings. Project: Simulavr: an AVR simulator Submitted by: hitterm Submitted on: So 17 Nov 2013 17:40:17 GMT Category: Configure

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

2013-11-17 Thread Markus Hitter
Follow-up Comment #8, bug #40586 (project simulavr): > Best way to run this example is to type "make do" in > examples/feedback directory. This needs, of course, that > TCL ist configured (and installed) and also iTCL is installed. Yes, this is what I slowly learn, too. These examples actually wo

[Simulavr-devel] [bug #40598] Fix avr_message()

2013-11-16 Thread Markus Hitter
Follow-up Comment #1, bug #40598 (project simulavr): As I was into it, please find a bunch of additional patches simplifying and enhancing encapsulation of the code. Global variables are "eeek", aren't they? (file #29639, file #29640, file #29641) _

[Simulavr-devel] [bug #40594] Store simulation parameters inside the ELF file

2013-11-16 Thread Markus Hitter
Follow-up Comment #4, bug #40594 (project simulavr): A bunch of additional patches. -d and -F command line parameters are redundant now with a prepared AVR firmware. Next step on the plan is to introduce similar storage for USART connections, then for VCD output. The idea of this whole story is

[Simulavr-devel] [bug #40594] Store simulation parameters inside the ELF file

2013-11-16 Thread Markus Hitter
Follow-up Comment #3, bug #40594 (project simulavr): As a first implementation of storing device information inside the ELF file bringing into action, please find a patch attached, which detects and uses the device name. It's the SIMINFO_DEVICE() macro. (file #29633) _

[Simulavr-devel] [bug #40598] Fix avr_message()

2013-11-16 Thread Markus Hitter
URL: Summary: Fix avr_message() Project: Simulavr: an AVR simulator Submitted by: hitterm Submitted on: Sa 16 Nov 2013 16:10:06 GMT Category: Simulation Severity: 3

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

2013-11-15 Thread Markus Hitter
Follow-up Comment #4, bug #40586 (project simulavr): Well, code in atmega128.cpp isn't involved here, other than by defining seven I/O ports. The next step back in the backtrace (see below) is rwmem.h, which is a C++ template and as such beyond my C++ skills. I can only guess how the pieces fall t

[Simulavr-devel] [bug #40594] Store simulation parameters inside the ELF file

2013-11-15 Thread Markus Hitter
Follow-up Comment #2, bug #40594 (project simulavr): Ach. Found the first bug already, the choosen address in the ELF file was low enough to conflict with program data. Please find the fix attached. (file #29628) ___ Additional Item Attachm

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

2013-11-15 Thread Markus Hitter
Follow-up Comment #2, bug #40586 (project simulavr): Thanks for the insight. Does this now mean all the "older" devices shoud change the default value or is it right and the problem causing all the warnings is elsewhere? ___ Reply to this i

[Simulavr-devel] [bug #40594] Store simulation parameters inside the ELF file

2013-11-15 Thread Markus Hitter
Follow-up Comment #1, bug #40594 (project simulavr): BTW., fixed also src/avrerror.h to throw fewer warnings along the way. This accidently slipped into the same commit. ___ Reply to this item at:

[Simulavr-devel] [bug #40594] Store simulation parameters inside the ELF file

2013-11-15 Thread Markus Hitter
URL: Summary: Store simulation parameters inside the ELF file Project: Simulavr: an AVR simulator Submitted by: hitterm Submitted on: Fr 15 Nov 2013 22:12:16 GMT Category: Simulatio

[Simulavr-devel] [bug #40593] Yet another example, simple_serial

2013-11-15 Thread Markus Hitter
URL: Summary: Yet another example, simple_serial Project: Simulavr: an AVR simulator Submitted by: hitterm Submitted on: Fr 15 Nov 2013 22:02:09 GMT Category: Test Suite

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

2013-11-14 Thread Markus Hitter
URL: Summary: example/feedback does not work Project: Simulavr: an AVR simulator Submitted by: hitterm Submitted on: Fr 15 Nov 2013 01:18:37 GMT Category: Simulation

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

2013-11-14 Thread Markus Hitter
Follow-up Comment #7, bug #40559 (project simulavr): Finally, the patch to fix all the '%'-style warnings. Please find it attached. Tested as much as possible, please do so as well. (file #29620) ___ Additional Item Attachment: File name:

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

2013-11-14 Thread Markus Hitter
e doings of the code. That said, a sensible logger would collect only the data requested, of course, so you'd often get away with comparing a single byte. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.reprap-diy.com/ http://www.jump-ing.de/ __

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

2013-11-14 Thread Markus Hitter
Follow-up Comment #5, bug #40559 (project simulavr): Update on the fixing attempts: - If you look closer, all the '%'-style warnings are in directories using avr-gcc only. Somebody took care of all the others already. - I tried hard to shoehorn the matter into the preferred automake pattern, lik

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

2013-11-13 Thread Markus Hitter
y and developers, well I found year old bugs with patches not committed lying around. This brought in some sort of mistrust, the entire point of a simulator is reliability, after all. Looks like there's more work ahead. Especially on documentation. :-) Thanks for the help, Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.reprap-diy.com/ http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel

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

2013-11-13 Thread Markus Hitter
g to the real hardware. As a result, you always have the exactly same file for both, simulator and hardware. -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.reprap-diy.com/ http://www.jump-ing.de/ ___ Simulavr-devel mail

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

2013-11-13 Thread Markus Hitter
- - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.reprap-diy.com/ http://www.jump-ing.de/ ___ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel

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

2013-11-13 Thread Markus Hitter
Follow-up Comment #4, bug #40559 (project simulavr): Added two more patches to fix warnings (and enhance portability). Both of them tested to build (but fail when building texinfo stuff) and run the regression tests flawlessly. (file #29604, file #29605) __

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

2013-11-13 Thread Markus Hitter
Follow-up Comment #3, bug #40559 (project simulavr): Exactly the same tools here on Ubuntu 13.10. I've added a patch which removes the "treat warnings as errors" thing. This way, Makefile.ins are created again, so it might suit as an intermediate solution. While changing variable names is straig

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

2013-11-12 Thread Markus Hitter
URL: Summary: bootstrap doesn't build src/Makefile.in Project: Simulavr: an AVR simulator Submitted by: hitterm Submitted on: Di 12 Nov 2013 23:37:13 GMT Category: Configure