STM32L051R8T8 erase via SPI bootloader
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-12-01 11:41 PM
Posted on December 02, 2015 at 08:41
Hi folks!
The page erase command does not seem to work. The communication sequence is as follows with replies from the STM inside brackets: Erase:0x5A [0x79] 0x44 [0xA5] 0xBB [0xA5] pages:0x00 [0xA5] 0x04 [0x79] page:0x00 [0x79] 0x00 [0x79] page:0x00 [0x79] 0x01 [0x79] page:0x00 [0x79] 0x02 [0x79] page:0x00 [0x79] 0x03 [0x79] page:0x00 [0x79] 0x04 [0x79] Cksm:0x00 [0x79] Ack:0x00 [0x79] 0x00 [0x79] 0x79 [0x79] This seems correct but when I read the memory I get 7654 (which I wrote earlier) instead of 0000. Multiple reads give the same result. Erasing by setting and resetting read protection works, but I would like to erase parts only. Thank you. #stm32l051-bootloader
Labels:
- Labels:
-
Bootloader
0 REPLIES 0
