DfuSe fails to upload to write-protected chip
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-05-14 11:16 AM
Posted on May 14, 2018 at 20:16
Hi!
I'm using STM32F105RB chip with built-in bootloader code (jumping to bootloader by selecting BOOT0/BOOT1 voltages)
If part of the chip is write protected then chip erase fails , and the MCU eventually reboots into its previous firmware after leaving DFU mode
However if any sectors of the chip are write protected AND at the same time the mcu is read protected, then DfuSe offers to disable read protection, outputs error and at this point the MCU flash memory has been cleared successfully
After reentering DFU mode, normal upload is possible
Question: how can I get around the problem?
#dfuse
Labels:
- Labels:
-
Bootloader
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
