On Dec 16, 2008, at 6:18 AM, SimonQian wrote:
Hi all,I've setup a environment based on Eclipse and Codesourcery G++ Lite toolchain.My target MCU is STM32F101C6 chip.When start to debugging, openocd will report an error: Error: address+size wrapped(0xfffffffe, 0x00000004). In the remote log: Sending packet: $mfffffffe,4#fc...Packet received: 00000000.I traced the error, and find that it's caused by invalid value in lr when startup, which is 0xFFFFFFFF. I change the lr to 0xFFFFFF0F, and use run_to_line to run to another position in the same function. And received in the remote log: Sending packet: $mffffff0e, 4#c6...Packet received: 00000000.2008-12-16 Best Regards, Simon Qian SimonQian([email protected]) ---- www.SimonQian.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
Can you provide steps to reproduce starting from a full target reset? Also, set debug_level 3 in OpenOCD and attach the output generated when doing those steps. That will help us understand what is happening.
-- Rick Altherr [email protected]"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 [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
