2013-02-05 04:50 AM
Hi all,
I am having difficulty using an ST-Link V2 to program the FLASH of my STM32F103 on the STM3210E-EVAL board. It programs up until the last block and then states a message that programming to that location failed. If I connect my J-Link to program all works fine.I have seen suggestions with regard to firmware upgrades and software upgrades, but none of the upgrades made any difference on my system.Can anyone tell me what might be wrong?Thanks,H #stlink2013-02-05 07:44 AM
Perhaps the flash programming applet associated with the project thinks the flash is larger than the one on the die.
Does it fail with the ST Link utility, or the most current release of your tool chain?2013-02-08 12:50 AM
Hi Clive,
It actually fails with the ST-Link standalone utility.H2013-02-08 06:25 AM
It actually fails with the ST-Link standalone utility.
Well that's a bit of a bugger. Might suggest you check on different PC, and with different chips/boards, older/newer version of the utility. This would give some idea if the problem follows. Check also that some blocks aren't write protected, or option byte settings. I'd probably try to drive ST-Link through Keil, and see if mass erase, or applets used there perform any better. The ST-Link is a pretty low rent solution, it doesn't have the commercial polish of the J-Link, et al