I've been trying to flash a sample project (GPIOToggle) with Keil uVision 5 using ST-Link Debugger. However, I am getting an error message that reads - No Algorithm found for 08000000H-08000493H.Erase Skipped.Error:Flash Download Failed- "Cortex M3". I've checked and rechecked target options but it just won't work. Using Windows 8. Any help is greatly appreciated.
Hello Christopher,
I did add the software packages after an update. But I'm still getting the same error message. I notice that in the target options (debug) when I select ST-Link Debugger, a section below that reads init file is empty. Am I supposed to specify a particular file there? Also, I tried doing the same exact exercise using Keil uVision 4 in Windows XP - I had no error messages and didn't have to change any settings. Is that due to a difference between uVision4 & 5. I tried installing uVision4 on Windows 8 but it won't start either.
Regards, Nishant
It worked. Also, I noticed that unlike uVision4, you are required to add the start up file for the processor manually from Library<CMSIS<CM3<Device Support<ST<STM32F10x<StartUp. In uVision4 it would ask the user when creating the project if you want to add it automatically. Any way to do this in uVision5?
Thanks a ton,
Nishant
Hello Nishant,
when you have installed the Pack supporting a device and you open the project, click on the "Manage Run-Time Environment" button (that's the one next to the Pack Installer button. There you can add under Device:Startup the files. You will also need to add them CMSIS:Core, but you can use the "Resolve" button as well.
Kind regards,
Christopher
Tried that. Manage Run Time Environment opens when you first create a new project as well. Still fails to add the start up file startup_stm32f10x_md_vl.s. But I don't mind adding it manually either since its in CMSIS folder as well. I've run into a new problem now. I've been interfacing the discovery board with a development kit. Written code for flashing/rotating LED's, displayed a fixed message on a 7-Segment. I've created a new project and written code to interface a keypad with the controller, and display the numbers on a 7-Segment. However, when I build targets, I'm getting an error -
core_cm3.c: Error: C4065E: type of input file 'Entry' unknown ".\OBJ\key_entry.axf" - 1 Error(s), 0 Warning(s).
I've tried deleting my CMSIS files and adding them back again but it doesn't work. Checked all my target options but they're the same as all the other projects I created. What does this error mean and how can I fix it?
Regards,
what is the "Entry" file?
I have no clue what the 'Entry' file actually means. Been trying to figure it out.