2008-07-29 01:39 PM
why I can not download my code to flash?
2011-05-17 03:38 AM
I can not download my code to flash,the error is that:Could not write CPU register MSP:Written:0xFFFFFFFF,Read 0XFFFFFFFC,the title is J-Link! why? If i download to RAM ,it is all right!
2011-05-17 03:38 AM
Hi,
It seems that you are using the STM3210E-EVAL board. If this is the case, you need to install the following patch before using IAR with the STM32 high density devices: http://www.st.com/mcu/modules.php?name=mcu&file=familiesdocs&FAM=110#Software%20for%20Tools Regards2011-05-17 03:38 AM
thank you!
I think you are right2011-05-17 03:38 AM
I have the same problem but I am using EWARM 5.20
I looks as if my flash at 000-3FF is all FF's. So it's clear why PC and SP are mostly FF's. CPU should be hard faulting all over everything. Other parts of the flash look as if it was my code. Tried the patch for EWARM 5.11. No change. Went back and installed 5.11. No change. Applied the patch. No change. Now what? Oh well. I have go revisit some 1 MHz PIC 16F57 code. Customer has found a new way to mess up a control loop.2011-05-17 03:38 AM
picguy, (condolences)
Which board do you have?2011-05-17 03:38 AM
I am using the STM3210E-EVAL board. I am using the ''IAR'' J-Link.
2011-05-17 03:38 AM
have not worked with ''E'' bd nor hi-dense STM's-
Please be sure that under Options/Debugger you have ticked ''load code to flash.'' (sometimes we have seen this box become unticked -) Should this be ok - can you write smallest possible code (blinky or such) and try/report results? Good luck. Last thought - in case you/amigo has earlier/basic STM perhaps you can place small code in that - tell us if problem is confined to newer, high-density devices???2011-05-17 03:38 AM
Problem went away after several re-installs AND reloading a directory that worked. Saved by a memory stick backup! Some config messup I assume.