cancel
Showing results for 
Search instead for 
Did you mean: 

ST25R3911B-DISCO to STLink-V2 - Unknown Device Id

Ivan Smolin
Associate II
Posted on January 25, 2018 at 12:18

I need to re-upload original firmware to ST25R3911B-DISCO with STLink-V2.

(Discovery GUI is not applicable for me here, I need to do it exactly with STLink-V2)

I connected with wires:

- 20-pin's VCC (1) to 10-pin's VTREF (1)

20-pin's GND (4) to 10-pin's GND (3)

-

20-pin's GND (

6

) to 10-pin's GND (5)

- 20-pin's TRST (

3

) to 10-pin's NC (9)

20-pin's

SWDIO

(

7) 

to 10-pin's

SWDIO

(2)

20-pin's

SWCLK

(9

to 10-pin's

SW

CLK

(4)

20-pin's

SWO

(13

to 10-pin's

SWDIO

(2)

20-pin's TDI (5) to 10-pin's TDI (8)

When I connecting both devices to same PC and running utility and trying to connect, it connects, ST-Link V2 has green LED light, but next I seeing: 'Unknown device id' and after clicking 'OK' it has red LED light again.

I tried Target -> Settings... with all combinations of JTAG/SWD and connection modes.and no effect.

Help me please! Deadline to this task is too near!

1 ACCEPTED SOLUTION

Accepted Solutions
Ulysses HERNIOSUS
ST Employee
Posted on January 29, 2018 at 10:42

Hi Ivan,

no need for debugger here, just follow the User Manual:

In UM2177 chapter 2.3 of

/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fst_com%2Fen%2Fproducts%2Fembedded-software%2Fst25-nfc-rfid-software%2Fstsw-st25rhtml

you will find a description how to update the board from the GUI (without using an SWD/JTAG) debugger even if the current firmware does not communicate with the GUI (Using the System Loader DFU mode).

We know that e.g. this adapter works:

https://www.segger.com/products/debug-probes/j-link/accessories/adapters/9-pin-cortex-m-adapter/

Maybe your current application on the MCU messes with the debug pins, you could try to put the STM32 into bootloader mode before connecting with the debugger: Press Boot button, keep it pressed, Press Reset button, release it, then release Boot button. Now youmightbe able to connect with debugger again.

Ulrich

View solution in original post

2 REPLIES 2
Ulysses HERNIOSUS
ST Employee
Posted on January 29, 2018 at 10:42

Hi Ivan,

no need for debugger here, just follow the User Manual:

In UM2177 chapter 2.3 of

/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fst_com%2Fen%2Fproducts%2Fembedded-software%2Fst25-nfc-rfid-software%2Fstsw-st25rhtml

you will find a description how to update the board from the GUI (without using an SWD/JTAG) debugger even if the current firmware does not communicate with the GUI (Using the System Loader DFU mode).

We know that e.g. this adapter works:

https://www.segger.com/products/debug-probes/j-link/accessories/adapters/9-pin-cortex-m-adapter/

Maybe your current application on the MCU messes with the debug pins, you could try to put the STM32 into bootloader mode before connecting with the debugger: Press Boot button, keep it pressed, Press Reset button, release it, then release Boot button. Now youmightbe able to connect with debugger again.

Ulrich

Posted on January 29, 2018 at 11:08

Thank you.

Give me a correct schematic of this adapter please.