We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
Oh, a site note, there may be something wrong with my computer's USB port, for some reason they all work at fullspeed mode, the hi-speed got all disabled,but I don't think it would mess with the JTAG, right?