SAMD flash write

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

OK, I understand that it has to be erased in (256 byte) rows. But it looks that it has to be written in 64-byte chunks? Really? Am I missing something? Looking at application notes on EEPROM emulation from other manufacturers and even Atmel's own SAM4 series, they seem to allow multiples writes into a page, as long as the data in the page is still 0xff. Is SAMD really different in that sense?

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

Have you looked at Atmel's own application notes on EEPROM emulation for the SAMD series ?

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes, I have. They write in 64-byte chunks and assume that the whole page is erased. And the application notes for SAMD vs SAM4 are quite different.