cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with F4-Discovery kit and Keil debugger

Pierre Berquin_O
Associate
Posted on April 20, 2012 at 12:49

Hello,

I started using the F4-discovery kit with Keil compiler. But I have a problem. I can not use the debugger.

when the debugger start, I see the message below :

--> Error: Could not load file 'c:\Users\F4Discovery\Project\MyProject\MDK-ARM\MyPrj.axf' Debugger aborted !

However, the code is loaded correctly but the debugger is closed !!!

This is the same behavior with all programs (even demonstration programs).

using PC with Windows 7 (64b)

What am I doing wrong?

Best regards,

Pierre

#keil #discovery #debugger
2 REPLIES 2
Posted on April 20, 2012 at 13:55

What version of Keil?

Have you tried the STM32F4 examples included with the firmware library?

Make sure the ST-LINK has the most up to date drivers, and the SWD mode is selected.

Do you have the correct memory address, and the data length doesn't exceed that memory?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Pierre Berquin_O
Associate
Posted on April 27, 2012 at 13:18

Hello,

Sorry for the delay.

I updated keil compiler version, now it's ok.

Thank very much,

Best regards,

Pierre