cancel
Showing results for 
Search instead for 
Did you mean: 

STM3210E-EVAL - Update NOR Flash

matthias
Associate II
Posted on June 21, 2013 at 10:14

Hallo all,

How do I program the NOR Flash on the STM3210E-Eval board from my IAR platform?

I'm experimenting with the STM3210E-EVAL demonstration firmware (UM0549) and accidentally deleted the contents of the NOR Flash. Any ideas how to get it back?

Thanks
2 REPLIES 2
Posted on June 21, 2013 at 17:35

Any ideas how to get it back?

 

Did you make a backup copy? Keil and IAR probably have applets from programming NOR regions, or could build ones, Segger has a J-Flash tool for their J-Link devices.

Wouldn't you just download the demo software, and blow in the NOR image with DfuSe?

http://www.st.com/web/en/catalog/tools/PF257919

via ''Design Resources'' on the product page

http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF204176

STM3210E-EVAL_FW_V2.0.0\Utilities\Binary\STM3210E-EVAL_Demo_NORFlash_V2.0.0.dfu
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
matthias
Associate II
Posted on June 28, 2013 at 09:44

Hallo Clive,

Thanks for this and I do apologise for my delayed reply. Please allow me two more questions:

  • Using DfuSe: I have read the App note UM0549. In Section 3.1 (Programming the M29W128 NOR Flash memory) it says: 
... Load the DFU firmware project using your preferred Toolchain and load the DFU image using JTAG for the first time...

Which DFU project? I have found one in the example area of the IAR environment but unfortunately the software won't run on the STM3210-EVAL board.

  • There is an IAR example ''STM3210E-EVAL_Demo'', it includes the two configurations ''Debug'' and ''Debug_NOR_update''. Why can't I blow the NOR flash using the second option? What have I done wrong?

Thanks for shedding light on this