2015-07-29 05:43 PM
STLinkUSBDriver.dll loaded<
BR
>ST-Link/V2 device detected<
BR
>Target voltage
detected: 0.000000<
BR
>Error getting target IDCODE: if SWD, check SWD
connection<
BR
>Error (4) while initializing ST-Link in SWD mode<
BR
>ST-Link/V2
device detected<
BR
>Target voltage detected: 1.561027<
BR
>Error getting target
IDCODE: if SWD, check SWD connection<
BR
>Error (4) while initializing ST-Link in
SWD mode<
BR
>ST-Link/V2 device detected<
BR
>Target voltage detected:
1.559447<
BR
>Error getting target IDCODE: if SWD, check SWD connection<
BR
>Error
(4) while initializing ST-Link in SWD mode<
BR
>ST-Link/V2 device
detected<
BR
>Target voltage detected: 1.556287<
BR
>Error getting target IDCODE: if
SWD, check SWD connection<
BR
>Error (4) while initializing ST-Link in SWD
mode<
BR
>ST-Link/V2 device detected<
BR
>ST-Link/V2 device detected<
BR
>Target
voltage detected: 1.559447<
BR
>Error getting target IDCODE: if SWD, check SWD
connection<
BR
>Error (4) while initializing ST-Link in SWD mode<
BR
>ST-Link/V2
device detected<
BR
>Target voltage detected: 1.556287<
BR
>Error getting target
IDCODE: if SWD, check SWD connection<
BR
>Error (4) while initializing ST-Link in
SWD mode<
BR
>ST-Link/V2 device detected<
BR
>Target voltage detected:
1.557867<
BR
>Error getting target IDCODE: if SWD, check SWD connection<
BR
>Error
(4) while initializing ST-Link in SWD mode<
BR
>ST-Link/V2 device
detected<
BR
>Target voltage detected: 1.557867<
BR
>Error getting target IDCODE: if
SWD, check SWD connection<
BR
>Error (4) while initializing ST-Link in SWD mode
Please help if you can, I'm really lost and stuck.
2015-07-29 06:48 PM
It's going to be hard to ''connect under reset'' without a NRST pin?
May be you can find the BOOT0 pin on your board, put a pull-up on that, restart it and try to erase the code running on the part currently. If this does allow you to erase the board, then you need to review your code, and why it might be breaking the debug interface. ie breaking it's GPIO pins or putting it in a low-power state.2015-07-29 08:07 PM
Thanks.
Well I usually leave the NRST pin off, ordinarily it doesn't seem to have a problem connecting. I've also tried connecting a brand new board as well but the results seem the same.Usually even the mac st-util program can identify the chip type regardless of its state.Currently connecting mode is set to ''normal'', I can change it to connect but I'm not sure where to hook up the NRST (it might be those headers, this board isn't well documented or labelled).I'm worried about the voltage (at the bottom), although it says this, the PWR light on the board does come on regardless, 1.5v is pretty low..