2025-01-22 08:33 AM - edited 2025-01-22 09:00 AM
This is my setup, STLINKV3+CubeProgrammer (trough CAN) accesing Systembootloader of stm32f405RG
It doesnt work.
Ive tried no Canbus transceiver , digital connection with the onboard diodes from STLINK expansion (blue pcb) and everything works fine.
Maybe im messing up the STLINKV3 wiring?
Removing the JP7 CAN-ON jumper and its diodes, looking at UM2448:
I wired CN7 CANrx and CANtx, took GND and 3,3V from the "reserved" pins
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
2025-01-22 08:51 AM - edited 2025-01-22 09:01 AM
Maybe i chose the wrong connector?Maybe i need to use the Bridge CN9
Hard to know without STLINKv3 cad files
I just tried, that was not the issue