Hi everyone. I'm using Keil uVision v5.20.0.0 on Windows 10 x64. Trying to flash STM32F103C8T6. The device is visible in the debugger settings window and flash programming algorithm is set too. But when I click the "load" (F8) button, uVision crashes without any error message. What is possibly wrong with it?
I'm using a CoLink. The older version of uVision (v4.72) crashes on launch attempt. I'm using the evaluating version of Keil, so there is neither PSN nor LIC. About upgrading to ColinkEx - very doubtful. All I see on this adapter - an 74HC541D, FTDI chip and a number of resistors and capacitors. Not sure if there is something to keep or update a firmware. But it seems like a working device: Keil sees my STM and even managed to flash it with a quick-start project from easyelectronics.ru (where I made no change). So it CAN work. Somehow. All the problem is that I'm setting my project wrong somehow. Or maybe I should switch to CooCox IDE for a period until I can afford an ST-Link adapter for example.
Any ideas about giving Keil a last shot? Checking some settings? Installing patches? Adding packages?
Hello Dmitry,
You can try deleting *.uvopt file for the project. This will remove a lot of configuration information, so uVision will recreate a new config file, with default settings. Then try reopening project.
Otherwise, I recommend upgrading to a newer debug adapter and MDKv5.20.
Thanks, Zack
The ST-LINK's are available for under $10, and Nucleo boards w/ST-LINK are about the same.
Well, I will have to wait the shipment for a month, and there are two kinds of ST-Link available: cheap and expensive. Are the small cheap ones reliable?