Is it theoretically possible to receive CAN / Twai messages in a custom bootloader in any way?
I have already tried to import the driver component in bootloader_components\main\CMakeLists.txt: set(requires “bootloader” “bootloader_support” “spi_flash” ‘driver’), but the line #include “twai.h” in bootloader_start.c does not work.
Is it possible to receive can/twai messages in a custom bootloader?
Re: Is it possible to receive can/twai messages in a custom bootloader?
Yes, but not with the driver, as it requires FreeRTOS. You would need to write something that talks to the twai HAL directly, effectively writing an alternate driver that does not require FreeRTOS. It's possible, although not trivial.
Who is online
Users browsing this forum: Bing [Bot], ChatGPT-User, Google [Bot], Qwantbot and 5 guests
