This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

JTAG cannot stop arm dev after host mode connection soldered

I was trying to develop a (custom made) board that utilize the stm32's USB host mode. Before I solder/integrate the standard type A USB socket and the overcurrent protection switch into the circuit, everything went fine, but right after I connected DM,DP and used PC6 as overcur flag and PC7 as overcur power swtich enable, I got a cannot stop arm device error msg when trying to download hex files (my program of course) into the STM32, and download cancelled message after that.

I then disconnect the PC6&7, DM and DP as a desperate attempt to restore the previous functional state of STM32, and ended up with no luck, I still get the cannot stop arm device error msg, and this is the output err log:

Load "F:\...\test.AXF"
VTarget = 3.274V
Info: TotalIRLen = 9, IRPrint = 0x0011
***JLink Error: Could not power up debug port: Control/Status register reads 000000F0

I'm even more desperate here, I dunno where to begin and which direction to move on.

Although I vaguely remember a few years ago using another devboard's USB socket to download program to the STM32 chip, and I have to jump this jumper every time I download programs into STM32, maybe it has something to do with that? I mean could it be certain pin or pins just so happen to interfere or share connections/clock with JTAG?

Can anyone please help?

0