This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
We added a hardware watchdog externally. When updating the firmware, the time of erasing flash exceeded the time of feeding the dog, so the firmware could not be updated. I need the source code of Flash2812_API_v2.0.lib to add the feeding dog code internally. Could you please help provide the source code of Flash2812_API_v2.0.lib?
Hi Zhang,
I will assign this to our F2812 Flash API expert. They may have some suggestions like increasing the watchdog timeout etc. If the source is still needed, you can then request for it.
Thanks and regards,
Vamsi
Zhang,
The Flash API has a callback function that will pause at safe times during the flash algorithms to support what you want to do. I've attached the flash API PDF, look at the section starting on page 20. The API examples should also include this function.
Best,
MatthewFlash281x_API_V210.pdf
Zhang,
We do not normally provide the source code for the Flash API. This is outlined in this post:
The callback function should provide a method for using the Flash API libraries and servicing your on-board watchdog module. The flash state machine is controlled explicitly through HW registers on the C28x device, any changes to the API source can potentially effect the stability if the flash contents, which is why we only provide this in LIB form.
Best,
Matthew