Tool/software: Code Composer Studio
I have successfully modified the 2803x_flash_kernel for CAN (100 kbps). I am able to load this kernel into RAM via the CAN Boot Mode. Then I am able to write my application to flash from this kernel via CAN. This all works fine, HOWEVER, there is one issue that I don't quite understand.
If I send CAN messages to the flash kernel at a rate of 10 ms, the write to flash does not complete successfully. It writes much of the data correctly at first, but then it starts to fail as the process proceeds leaving some of the application flash space as 0xFFFF. I'm writing about 2200 memory locations.
If I send CAN messages to the flash kernel at a rate of 100 ms, the entire application gets written to flash successfully.
Why can the flash kernel not handle receiving CAN messages at a rate of 10 ms? Where is the bottleneck?
I've attached my modified flash kernel.