Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Can STDFU erase MCU embedded bootloaders?


  • Please log in to reply
2 replies to this topic

#1 knutolai

knutolai

    Advanced Member

  • Members
  • PipPipPip
  • 36 posts

Posted 08 May 2013 - 04:21 PM

Can STDFU/DFUSE erase/ruin the embedded bootloader when erasing the MCU firmware?

 

Im using a STM32F2xx MCU with a embedded bootloader. The way I have understood it, STDFU is able to erase the content of the MCU flash memory, letting you for instance remove such things as the .NET firmware of a Netduino board.

 

Is there any code accompanying a on-chip bootloader necessary for it to function? Also, where would this code be stored? Is there a risk such code would be erased when erasing the board, or overwritten when flashing binaries onto the board (say for instance if the program is great in size)?

 



#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 08 May 2013 - 08:16 PM

Hi knutolai, The ST's embedded bootloader is stored in a separate, non-erasable ROM. Feel free to erase and reprogram your Netduino; there is no risk of erasing the chip's core bootloader. Chris

#3 knutolai

knutolai

    Advanced Member

  • Members
  • PipPipPip
  • 36 posts

Posted 24 May 2013 - 11:31 AM

Ok good to know. It also makes a lot of sense I guess. 

 

DFUSE Demonstration is acting strangely. I follow the steps for firmware upgrading and when I hit the "upgrade" key, having chosen the .dfu file I wish to flash onto the board, the upgrade process takes 0 seconds and I get a error message when leaving .dfu mode. The program I attempted to upload has no effect on the board. 

 

Is this a safe indicator that the .dfu file I attempted to upload is incompatible or unrecognizable by the board? 

 

EDIT: This is being discussed in a separate thread (http://forums.netdui...e-troubleshoot/)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.