NVM + Bootloader on SAMD21

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

The example code of NVM works as is!! But when I am using it as an application code with a bootloader(SAMD21), it doesnt seem to write to the specified memory location. I have not made any changes in the code, just loading the code at 0x2000 location by making changing inside samd21j18a_flash.ld as rom (rx)  : ORIGIN = 0x00000000, LENGTH = 0x00040000 to rom      (rx)  : ORIGIN = 0x00002000, LENGTH = 0x00040000

 

Can you point out what exactly am I missing?