Other Parts Discussed in Thread: UNIFLASH
I am working with a system that requires that I deviate from the already written OTA process that TI provides. So, I've been scouring code and documentation trying to figure out how to make a process that makes the TI part and the product needs.
For the most part I am comfortable with a solution that has been worked up, but there are a few topics I'm held up on:
- Is it possible to update user files, service pack, M4 image, and certificate catalog all in one upgrade? Based on our current upgrade definition, we need a way to do this. If we cannot, then the system becomes much more complicated, which I want to avoid if at all possible. The method does not have to be a pre-canned TI library or anything (like the OTA lib), just need to know if there is any way at all to do this.
- I am curious as to how the M4 MCU image transition occurs during an update. Reading through TI provided code, it seems like the MCU image must be a part of a bundle, the MCU must be soft restarted (through hibernate method or power recycle), the new M4 image is loaded into XiP flash, the new image runs, the M4 image being executed must then commit or rollback to the old image (or power recycle/reset forces a rollback). Is my uinderstanding correct? Is there a document/description somewhere that lays this out? One last thing on this topic, if I'm right about a reset being the mechanism for the image switching over, I'm curious how the M4 and NWP negotiate and are brought up to have the M4 image loaded with a new image. Any information on this? This is not a huge deal, but I have to imagine there's information out there on this process.
Cheers,
Trevor