[OpenOCD-devel] call back function in cortex_a.c

2014-12-24 Thread vichy
hi all: When I try to implement armv8 in openocd, I found below call back apis in cortex_a.c .checksum_memory = arm_checksum_memory, .blank_check_memory = arm_blank_check_memory, .run_algorithm = armv4_5_run_algorithm, Would you mind to let me know when and how will we use them above

Re: [OpenOCD-devel] Trouble with flashing STM32F4 Discovery

2014-12-24 Thread Peter Stuge
Jens Bauer wrote: > ... I think it would make sense if OpenOCD reads the OPTCR register > and checks that it contains the right value. Certainly, and anyone trying to say otherwise is not helping. I'm sadly unsurprised that the check is missing in OpenOCD. > If not, it could either... > 1: Tell t

Re: [OpenOCD-devel] Trouble with flashing STM32F4 Discovery

2014-12-24 Thread Jens Bauer
Hi Spencer and Paul. With the help from John Frenz on this post: I finally managed to write to the flash memory. The value that is supposed to be in OPTCR, according to John, is 0x0FFFAAED; he read this value from a board that was writable (and I believe it's unlocke