Forum breadcrumbs - You are here:ForumGeneral: HelpSPM and .db
You need to log in to create posts and topics.

SPM and .db

Hello;

I have a hex-file for an Attiny13 where I use .db-directive for Data and SPM for writing into the flash memory. At real Attiny13 it works but when I use this hex-file in simul-IDE both does not work. Can anyboby tell me why this could be so ? Best regards

Hi.

AVR SPM instruction is not implemented by now.

 

Basic support for SPM in Attiny13 was added to development version (1.2.0).

misax has reacted to this post.
misax

thank you very much. I will try in the next days. is it planned to support SPM for other AVR processors, too ?

I guess that eventually it will be added to other AVRs as well.

Attiny13 is simpler because it does not have Bootloader section, but other need support for Bootloader before SPM.