Re: [OpenOCD-devel] STM32F4 discovery MB997C flash unlocking/erasing/programming problem

2013-09-28 Thread mtbg
Thank you for your reply. Your suggestion about the unlock option in 'flash' command solved the problem. > reset halt target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x0100 pc: 0x08000420 msp: > flash info 0 #0 : stm32f2x at 0x0800, size 0x00

Re: [OpenOCD-devel] STM32F4 discovery MB997C flash unlocking/erasing/programming problem

2013-09-25 Thread Spencer Oliver
On 24 September 2013 21:20, wrote: > Hi all, > > I have a problem with using OpenOCD to access flash memory in STM32F4 > discovery MB997C. The same setup and commands work perfectly well with > the older revision of the board (i.e. MB997B). When using flash > autodetection, OpenOCD detects 8192kB

[OpenOCD-devel] STM32F4 discovery MB997C flash unlocking/erasing/programming problem

2013-09-24 Thread mtbg
Hi all, I have a problem with using OpenOCD to access flash memory in STM32F4 discovery MB997C. The same setup and commands work perfectly well with the older revision of the board (i.e. MB997B). When using flash autodetection, OpenOCD detects 8192kB of flash (the MCU has 1024kB according to t