I've problems to program STM32 controllers with the J-Link debugger. I'm using the RealView Toolchain V4.11. When I try to download a file to the controller, the programming dialog fails with the following message:
* JLink Info: Found SWD-DP with ID 0x1BA01477 * JLink Info: TPIU fitted. * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots * JLink Info: Found SWD-DP with ID 0x1BA01477 * JLink Info: TPIU fitted. * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
Target info: ------------ Device: STM32F100C4 VTarget = 3.313V State of Pins: TCK: 0, TDI: 1, TDO: 1, TMS: 0, TRES: 1, TRST: 1 Hardware-Breakpoints: 6 Software-Breakpoints: 2048 Watchpoints: 4 JTAG speed: 2000 kHz --- * JLink Info: Found SWD-DP with ID 0x1BA01477 * JLink Info: TPIU fitted. * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots Full Chip Erase Done. No Algorithm found for: 00000000H - 00001FC3H Programming skipped!
The Flash Download Programming is set to the appropriate device (STM32F100C4 or STM32F103VB).
In another project with a EnergyMicro EFM32G890 I've got no problems downloading the firmware to the controller. To me this seems to be a firmware issue of the flash downloader.
Hi,
I just tested on that problem again, with latest MDK.
Could you please send a Mail to Keil Support Intl. with this issue and a remark to forward that email to me, and we'll investigate that.
It would be helpful if you attach a screenshot of all three dialogs of the JLink driver configuration (Debug, Trace, Flash Download).
. BR, /th.
If possible, please also zip and send a (stripdown of the) project that reproduces the problem.