We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
> did you check if in the third Tab of the Target driver setup, in 'Flash Download', there is Cortex-M... JLink selected, and STM32F10x low/Mid/High Density Flash is added?
Yes, I did. I selected the low-density driver for the STM32F100 and the medium-density setting for the STM32F103.
When I'm using an EFM32G890F128 from EnergyMicro and select the EFM32G890 Flash driver I'm able to successfully download and debug my target device.
No one is using a STM32 with the segger J-Link debugger and uVision4 / Realview Toolchain?
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.