2024-02-08 03:37 AM - edited 2024-02-13 01:55 AM
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.
My stm have rev.4. From AN2606 - this is bootloader V9.x.
Bootloader activation is on pattern 7.
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
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.
Second transceiver sn65hvd230 are connected to PB8, PB9. Power supply from nucleo
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.
Any ideas?
2024-02-16 12:04 AM
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.