cancel
Showing results for 
Search instead for 
Did you mean: 

Code works in debug mode on target but fails in stand alone from flash

ravi2
Associate
Posted on August 07, 2012 at 14:29

We are working on a project in which we write some data on to a dual port RAM and we read back the same during various instants of time.

When we run the program in debug mode it works perfectly fine. But when we flash the same to the board and power on the board we get only zeroes while reading from Dual port RAM.

We couldnot understand the reason for this peculiar problem. We would be greatly obliged if you help up to come out of this critical issue.

Controller we r using: STM32F207ZET6

IDE: Keil - MDK-ARM 4.54

Debugger/programmer: ST-LINK

#standalone-mode #debug-mode
2 REPLIES 2
Posted on August 07, 2012 at 15:50

You've failed to initialize the chip properly.

Review the bus, peripheral and clock settings in the failing condition, vs the debug one. Use the serial port to provide diagnostic information if required.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Andrew Neil
Evangelist
Posted on August 10, 2012 at 01:17

''You've failed to initialize the chip properly.''

and/or your board does not provide a good reset?