Problems when using CN5 on STLINK-V3SET for CAN communication
We are trying to bootload an STM32L443CCT device using CAN bootloader.
The documentation for the STLINK V3 details that by using jumper JP7 and CN5 to connect, we should be able to communicate with a device which has been triggered into bootloader mode (by using option bytes only - avoiding having to set or clear any hardware pins to select bootloader). The advantage of this is that we should be able to reprogram devices using the standard CAN interface which each device currently uses, without having to take the device apart to program using JTAG or SWD access.
What we are observing is that the T_CAN_TX and T_CAN_RX lines coming out of CN5 are identical, which means that the difference between the signals is essentially nothing. Observing other CAN messages on our bus from other source, it's clear that the CAN_TX and CAN_RX lines should be approximately inverted, yet we are seeing them the same.
We've resorted to using the CN7 connector where we need to use a CAN transceiver, we do at least get reasonable looking data out of the system when running the Cube Programmer, but it's still failing to trigger the in-built bootloader in the STM32 device.
The bootloader version is 9.1, and it does support CAN, and I know it is in bootloader as I have been able to examine the program counter (in system memory region) and option bytes by connecting to the device using SWD. I am able to revert to normal application running by clearing the nBOOT0_SW bit in the option bytes.
My question is this - has anyone else had problems using CN5 for CAN comms? Especially for bootloader?
