2016-01-28 03:28 AM
Hi,
I get the following error when trying to write to memory with the latest STLink Utility: 12:09:09 : ST-LINK SN : 48FF6E064967535727520587 12:09:09 : ST-LINK Firmware version : V2J25S4 12:09:09 : Connected via SWD. 12:09:09 : SWD Frequency = 0,9 MHz. 12:09:09 : Connection mode : Normal. 12:09:09 : Device ID:0x448 12:09:09 : Device flash Size : 64KBytes 12:09:09 : Device family :STM32F072xx/F078xx 12:09:42 : Internal command error 12:09:42 : Error occured during program operation! 12:09:42 : Programming error @: 0x00000000 Boot0 is pulled to ground with a 10k resistor I hope this is enough. I can write single Words to address 0x08000000 but not to address 0x00000000. I could imagine that something is blocking my write attempts, but it doesn't seem to be any FLASH protection. If somebody could point me to the right direction I would be glad. Regards, Kilian2016-01-28 04:51 AM
> I can write single Words to address 0x08000000 but not to address 0x00000000.
And why would you want to write to address 0x00000000 at all? JW2016-01-28 05:04 AM
Boot0 is pulled to ground with a 10k resistor I hope this is enough.
It would seem apparent that it isn't, and the debugger could remap what's at zero if that's part of the programming code it downloads, or if it needs to map RAM there to move the vector table, and actively refuses writes into the zero space.As the FLASH always appears at 0x08000000 it seems unnecessary to write elsewhere.