STM32H735G-DK, cannot get response from CANFD ROM bootloader
I have an STM32H735G-DK and a sample CAN application that is working fine. I am now trying to use the CANFD ROM bootloader in system memory but cannot get any response from it. All the jumpers and solder bridges on the DK are at their default configuration.
I have a Waveshare dual CANFD hat for a raspberry pi connected to the FDCAN1 pins (CN18). My test application works great with this setup, I can send and receive both CAN and CANFD messages all day long without issue. I am absolutely confident that there is no hardware issue at play here because the same hardware with my CAN application running in Flash works. Tested with bitrates from 125k to 1M, and CANFD data switching to 4M.
I have set the boot switch (SW1) from the normal "0 - Flash" to "1 - SYS MEM", and looking at both AN2606 as well as AN5405, it looks like I should be able to set the CAN bitrate to 500kbps and issue a standard CAN message with ID=0x0 to get a response (Section 3.1 in AN5405).
I do note that Section 2 states that Filter ID1 is 0x111 and also see Note 2 at the bottom of page 3 says that the MessageID and FilterID1 must match exactly, but even then I get no response from the ROM bootloader. I have tried different bit rates, standard CAN vs FDCAN frames, standard vs extended CAN IDs, different DLCs... I cannot get this to work. The raspberry pi is not seeing the message acknowledged, leading me to think that there is a missing step somewhere in the hardware initialization of the FDCAN1 peripheral, but since this is all in the system ROM from ST and my Flash is blank... that would be odd.
I have also noticed that AN5405 seems to be missing the "synchronization" section that the older (standard CAN) app note AN3154 has, where it says I should be sending CAN ID 0x079 with any DLC until I get an ACK response, but that also does not work.
I do not have any other hardware connected to the DK, so I am quite sure that the ROM bootloader is not accidentally triggering on the UART or SPI or USB bootloaders.
Does anyone have a *verified* setup, synchronization and communication example with the FDCAN bootloader in the system ROM of this device?
