SimAvr : Add ATmega324PB support

53 views
Skip to first unread message

doom star

unread,
Sep 17, 2019, 7:07:34 PM9/17/19
to simavr
Hi,

(I have posted a message on the #simavr freenode, but I have trouble with it so I don't know if someone has answered to me)

So I tried to add support for the ATmega324PB but I don't succeeded in.
You can find my fork of simavr here : https://github.com/doom-fr/simavr

Adding a new core is not as easy as mentioned ! (at least for me)

So all compile well but I have an error when I execute with the added core :
simavr atmega324pb_example.axf 
Loaded 1912 .text at address 0x0
Loaded 114 .data
Loaded 4 .eeprom
Aborted (core dumped)


With old core, it works :
simavr atmega88_example.axf
Loaded 1760 .text at address 0x0
Loaded 114 .data
Loaded 4 .eeprom
Read from eeprom 0xdeadbeef -- should be 0xdeadbeef..
Read from eeprom 0xcafef00d -- should be 0xcafef00d..


the .h, .a and .o files come from the last pack available here : http://packs.download.atmel.com/
(Atmel.ATmega_DFP.1.3.300)
I have made some modification to correct some errors in the h file.


Can you help me as the error ('Aborted (core dumped)') doesn't help me much to find the problem and the verbose option does not give any additional information ?

Thanks.

Doom.

doom star

unread,
Sep 30, 2019, 4:53:16 AM9/30/19
to simavr
Up !

doom star

unread,
Dec 30, 2019, 10:54:51 AM12/30/19
to simavr
Reply all
Reply to author
Forward
0 new messages