On 18/06/12 10:31, Justin Drake wrote: > I'm using OpenOCD and GDB to load executables through JTAG to an ARM chip. Up > until now, the ARM chip (an STM32) was in an evaluation board, and I got > things working. Now, a custom built board containing the *exact same* ARM > chip has arrived, and I cannot load executables to it. > > Comparing the OpenOCD output from both boards, it seems that the first > problem that occurs with the new board is that the ARM cannot "reset" > properly: > > Halt timed out, wake up GDB. > timed out while waiting for target halted > TARGET: stm32f2xxx.cpu - Not halted > > This error crops up in the `monitor reset init` command (and can be > reproduced with `monitor reset halt`). > > Why do two exact same ARM chips with the exact same software behave > differently? What could explain that I cannot halt the ARM chip on my new > board? >
Given that it is a new design, I assume you will have tested all the basics first: Check power rails. Check clocks. Check reset line. Compare the schematics of your custom board and the evaluation board side by side, marking them off as you go. Missing/added resistor pullups/pulldowns? JTAG chain of devices the same? Are the logic levels used by your dongle/target boards compatible? Does slowing down the JTAG clock help? Is the RC time constant on the reset line of the custom and evaluation boards the same? HTH www.microbus.com - Tel: +44 (0)1628 537300 Fax: +44 (0)1628 537301 Microbus, Treadaway Hill, Loudwater, High Wycombe, Buckinghamshire HP10 9QL The information transmitted is intended only for the person to whom or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender by e-mail reply or by phone and delete all copies of the material. Microbus Limited Registered in England No. 01984857 Registered Office 2 AC Court High Street Thames Ditton Surrey KT7 0SR. VAT no. GB 442 3444 71 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
