I am trying to wrap my head around how to approach the following design need (NOOB):
Product has 2 boards; 1 with SMARC processor and the other with an F28035.
The only signals shared between the 2 boards are CAN_H and CAN_L (plus a couple discretes)
SMARC board will be loaded with software image (also containing .hex file for F28035) in production and then both boards get assembled into final product.
For every power cycle, the SMARC needs to send .hex file to F28035 over the CAN bus. This is because the .hex file needs to be field loadable and this can only happen if the SW image for the SMARC contains a new .hex file.
The hex file load should be loaded via CAN, then the load is exited and the F28038 starts running.
The hex file will need to be loaded from SMARC via command line with some "hex_load.exe <filename.hex> 1000000 bps ..." command.
The .hex file is created using the hex2000.exe tool.
If the .hex file is loaded on every power cycle, maybe I should load .hex into RAM, exit load and run from RAM?
Questions are - Is this possible? Concerns? Special examples? GPIO? etc...
Documentation for programming FLASH is abundant and overwhelming without any proper examples to follow up with.