On Feb 5, 2009, at 4:00 PM, James wrote:
flash write_bank 0 ./obj/ct_in.bin 0BUG: keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not sent! (1079) timed out while waiting for target halted error executing stm32x flash write algorithm flash writing failed with error code: 0xfffffc7aerror writing to flash at address 0x08000000 at offset 0x00000000 (-902)
When the target has working area available and supports it, OpenOCD loads blocks of data into the target's working area and then runs an algorithm on the target to write a block to the flash. The error message means that the flash algorithm failed to finish for a block. It appears that it failed to write any of the data to the flash region starting at 0x08000000, though it is possible that it could have failed within that block and the offset just wasn't propagated correctly.
This frequently occurs if the image to be flashed is larger than the available flash in the target. I'm not sure what the start address of the flash region is in an stm32 (it appears to be discovered at runtime) nor the amount of flash available so I can't say that that is what is happening.
Doing the same operation with either '-d 3' as the first argument on the command line or 'debug_level 3' at the start of your first config file would provide a log with much more information that we can use to analyze the problem.
-- Rick Altherr kc8...@kc8apf.net"He said he hadn't had a byte in three days. I had a short, so I split it with him."
-- Unsigned
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development