Writing to a flash memory address without nvm in samd21

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

How can I write to a flash address without using NVM? I want to place the code version on a flash memory address. Can I do it through Toolchain in Atmel Studio? Has anyone tried it?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

You can use a command line tool, e.g., atprogram is included with Atmel Studio, doc here:

http://ww1.microchip.com/downloa...

 

But I expect the version can only change when the program is updated so just include the version in the code.

https://stackoverflow.com/questi...

/Lars

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0