bugSimulavr: an AVR simulator - Bugs: bug #55270, simulavr for attiny25 crashes on...

 
 

bug #55270: simulavr for attiny25 crashes on watchdog reset instruction

Submitter:  None
Submitted:  Sun 23 Dec 2018 12:18:31 PM UTC
   
 
Category:  Simulation Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tomk
Originator Email:  * -email is unavailable- Open/Closed:  Closed
Component Version:  * simulavr
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 04 Dec 2019 03:34:15 PM UTC, comment #2: 

Solved in upcoming release (at most with switching to C++11)

Hold in mind: the watchdog unit have to be rewritten to use it in other parts as at90s4433 and at90s8515. (where the watchdog unit was written for!)

Thomas K. <tomk>
Group administrator
Sat 09 Nov 2019 07:58:12 AM UTC, comment #1: 

Hi,

could you append your example .c file?

cu, Thomas

Thomas K. <tomk>
Group administrator
Sun 23 Dec 2018 12:18:31 PM UTC, original submission:  

How to reproduce:

$ avr-gcc -Wall -mmcu=attiny25 -o examples/wado/wado.elf examples/wado/wado.c
$ src/simulavr -d attiny25 -f examples/wado/wado.elf
Segmentation fault

I have attached a suggested patch.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #45726:  0001-initialize-watchdog-pointer.patch added by None (766B - text/x-patch)
file #45727:  wado.c added by None (109B - text/x-csrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tomk (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-04 tomk StatusNone Fixed
        Assigned toNone tomk
        Open/ClosedOpen Closed
    2018-12-23 None Attached File- Added 0001-initialize-watchdog-pointer.patch, #45726
        Attached File- Added wado.c, #45727

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code