cancel
Showing results for 
Search instead for 
Did you mean: 

STLINK-v3 + CANbus transceiver wiring?

Javier1
Principal

This is my setup, STLINKV3+CubeProgrammer (trough CAN) accesing Systembootloader of stm32f405RG

Javier1_1-1737562818363.png

It doesnt work.

Ive tried no Canbus transceiver , digital connection with the onboard diodes from STLINK expansion (blue pcb) and everything works fine.

Javier1_2-1737562946442.png

 

Maybe im messing up the STLINKV3 wiring?

Javier1_3-1737563041394.png

Removing the JP7 CAN-ON jumper and its diodes, looking at UM2448:

Javier1_0-1737562371567.png

Javier1_0-1737564291681.png

 

I wired CN7 CANrx and CANtx, took GND and 3,3V from the "reserved" pins  

 

Javier1_5-1737563561786.pngJavier1_6-1737563583651.png

 

No conexion, and my target board performs SystemReset, so something is arriving to the stm32f405 systembootloader

18:00:05:214 : UR connection mode is defined with the HWrst reset mode
  18:00:07:249 : ST-LINK FW  : V3J8M1B5
  18:00:07:250 : Voltage     : 0.00V
  18:00:07:256 : Bridge Freq : 48000 KHz
  18:00:07:257 : CAN peripheral parameters
  18:00:07:257 : Mode        : NORMAL
  18:00:07:257 : SJW         : 1 
  18:00:07:257 : TimeSeg1    : 9 
  18:00:07:258 : TimeSeg2    : 6 
  18:00:07:258 : Prescaler   : 24 
  18:00:07:258 : Baudrate    : 125 Kbps
  18:00:07:259 : CAN Filter parameters
  18:00:07:259 : IDE         : STANDARD
  18:00:07:260 : RTR         : DATA
  18:00:07:260 : Activation  : ENABLE
  18:00:07:260 : Bank Num    : 0 
  18:00:07:260 : ID filter   : MASK
  18:00:07:261 : Scale       : 32BIT
  18:00:07:261 : Fifo        : FIFO0
  18:00:07:266 : s 0 byte(s): 0x79
  18:00:07:273 : s 0 byte(s): 0x79
  18:00:07:274 : s 0 byte(s): 0x79
  18:00:07:274 : s 0 byte(s): 0x79
  18:00:07:275 : s 0 byte(s): 0x79
  18:00:07:276 : s 0 byte(s): 0x79
  18:00:07:276 : s 0 byte(s): 0x79
  18:00:07:276 : s 0 byte(s): 0x79
  18:00:07:276 : s 0 byte(s): 0x79
  18:00:07:276 : s 0 byte(s): 0x79
  18:00:07:276 : Error: ST-LINK error (BRG_TARGET_CMD_TIMEOUT)
  18:00:07:299 : Error: Establishing connection with the device failed
we dont need to firmware by ourselves, lets talk
1 REPLY 1
Javier1
Principal

Maybe i chose the wrong connector?
Maybe i need to use the Bridge CN9 

Javier1_0-1737564650524.png

 

Hard to know without STLINKv3 cad files

 

I just tried, that was not the issue

we dont need to firmware by ourselves, lets talk