NVM on SAMD21

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

Hi,

 

I am trying to write to flash using NVM driver (on samd21 xplained pro board). I started by the example project. But I'm unable to debug and check whether it is writing to flash. Please help!! 

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

Turn off 'cache flash ' in project properties/tools

:: Morten

 

(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

Last Edited: Sun. Aug 12, 2018 - 07:47 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thankyou so much!!! It works!!

  • 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!

 

What am I missing?