Hi Spencer and Paul. I didn't get any errors when I tried to flash-program the device, but the data did not show up in the Flash-memory. -So I decided to have a look at the status register right after issuing a flash image_write command:
> reset halt target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc > mdw 0x40023c0c; flash write_image output/STM-test9.bin 0x08000000; mdw > 0x40023c0c 0x40023c0c: 00000000 wrote 488 bytes from file output/STM-test9.bin in 0.130967s (3.639 KiB/s) 0x40023c0c: 00000010 No error was reported, but the 'protected' bit is set in the status register. Using a -d3 output, it seems that address 0x40023c0c is never read. -Thus even if the write_image fails, no error will be reported. Love Jens ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel