cancel
Showing results for 
Search instead for 
Did you mean: 

STLINK-V3PWR cannot connect to bootloader stm32l476RG nucleo via CAN Bus

TomGor
Associate

Hello,
my STLINK-V3PWR cannot connect to bootloader stm32l476RG nucleo via CAN Bus.

What i did step by step:
1) Entered bootloader mode:
At first, i checked my version of bootloader.

TomGor_3-1707389687118.png


My stm have rev.4. From AN2606 - this is bootloader V9.x.

TomGor_0-1707388885250.png

 

Bootloader activation is on pattern 7.

TomGor_1-1707388976940.png

TomGor_2-1707389058711.png

 

I activated bootloader and I did it correct, because in the CPU tab, when the core is Run and then Halted, the ProgramCounter is in the 0x1FFF XXXX range

TomGor_4-1707389904197.png

 

2) Now, nucleo power supply is from st-link on nucleo (USB).
External STLINK-V3PWR CAN bus pins (CRX,CTX) I connected to external transceiver sn65hvd230. This transceiver have powersupply from nucleo too.
STLINK-V3 TVCC to 3.3v nucleo, STLINK-V3 GND to GND nucleo.

TomGor_5-1707390264365.png

 

Second transceiver sn65hvd230 are connected to PB8, PB9. Power supply from nucleo

TomGor_6-1707390424575.png

 

Unfortunately, there is no feedback from nucleo while trying to connect by external STLINK-V3, by CAN bus.

I checked on oscilloscope and signal from STLINK-V3 is going to nucleo correctly.

TomGor_7-1707391746580.png


Any ideas?

 

 

1 REPLY 1
TomGor
Associate

I did a test on bootloader, on the UART protocol too. Unfortunately, form external StLink-v3PWR it doesn't work (I connected GND, TX->RX, RX->TX. Power supply from nucleo USB. Didn't touch jumpers).

But if i tried with programmer from nucleo (built-in, not detached), it works.

I have any idea why it doesn't work on external programmer.
Please, help.