AnsweredAssumed Answered

stm32f405, help on jtag programming

Question asked by Angelo Dureghello on Mar 6, 2014
Latest reply on Mar 7, 2014 by Angelo Dureghello
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
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: 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.