2014-03-05 3:08 PM
Dear all,
i am trying to program a stm32f405 just soldered on a prototype pcb. Seems jtag TAP is accesible, but for some reason i cannot halt the cpu: Open On-Chip Debugger 0.7.0 (2013-08-04-10:13) Licensed under GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html Warn : Adapter driver 'parport' did not declare which transports it allows; assuming legacy JTAG-only Info : only one transport option; autoselect 'jtag' parport port = 0x0 adapter speed: 1000 kHz adapter_nsrst_delay: 100 jtag_ntrst_delay: 100 cortex_m3 reset_config sysresetreq Info : clock speed 500 kHz Info : JTAG tap: stm32f4x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4) Info : JTAG tap: stm32f4x.bs tap/device found: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0) Info : stm32f4x.cpu: hardware has 0 breakpoints, 0 watchpoints > halt target was in unknown state when halt was requested Halt timed out, wake up GDB. Invalid ACK 0 in JTAG-DP transaction in procedure 'halt' > flash info 0 device id = 0x00000000 Cannot identify target as a STM32 family. auto_probe failed in procedure 'flash' I exclude ''programmer'' issues, i already used it succesfully in other cortex_m. I am not using NJTRST wire, hope is not an issue. I have a suspect i could have damaged the cpu while soldering it. Every help is really appreciated. Regards Angelo2014-03-05 7:21 PM
>Info : stm32f4x.cpu: hardware has 0 breakpoints, 0 watchpoints
Some thing wrong there. What about NRST? What pins have you got wired up, and how? >I have a suspect i could have damaged the cpu while soldering it. Honestly most everything I see here is shorts and opens, and a few getting PIN 1 orientation wrong.2014-03-06 3:20 PM
Dear clive1,
many thanks, i am still stucked and can't program the chip in any way i have no pin 1 orientation issues, and also, checked all VDD and all VSS, they are connected correctly to the chip. I also replaced the chip, same exact result. I have seen that in my schematic i don't have connected BOOT0 pin (unconnected), can this be an issue ? I also read that this chip shouldn't need any NJTRST connected. So i connected only JTCK -> pin 76 JTDI -> pin 77 JTDO -> pin 89 JTMS -> pin 72 I pulled them all up with 10K on the board.