Feather M4 CAN questions
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Feather M4 CAN questions

by markmakeitso on Tue May 24, 2022 3:33 pm

Hello all,
I'm working on a project for reprogramming industrial display modules in the field over CAN. Normally this process requires a PC, a CANbus/USB adapter from the display manufacturer, and the utility program for uploading the chosen firmware. We've bypassed this by recording the messages during a programming event with a 3rd party general purpose CAN program, filtering/modifying the messages down to just the data bytes (320,00 or so) of the programming message, and loading those into program memory on a non-feather CAN board as a large static byte array, then transmitting in 8 byte chunks. Works well so far, but the program space isn't large enough for some of the programs we'd like to install. The largest file is 864 KB, and they might be bigger later, thus us considering a Feather M4 CAN for the onboard 2 MB external memory.

Couple questions:
-Since we can't just load the data as a static array into the Flash memory would we need a subroutine to transfer from serial port RX to the external memory? More clever way to load the array data?
-Under ->Tools->Port: the Feather M4 CAN currently shows up as the other model of CAN device (CANBed M4 if it makes a difference) even though board support for both is installed and I've selected the correct Adafruit model. Probably just a case of sloppy target identification and them both being similar chips?


Posts: 1
Joined: Tue May 24, 2022 3:02 pm

Please be positive and constructive with your questions and comments.