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.
Tool/software:
Hy.
I want simply to write some byte in micro flash.
Is there an example how to do this?
The examples given in C200W are are to complicate; must I go through
the API?
Yes, the flash API has to be used to write/erase the flash, this is due to the more complex nature of flash vs traditional SRAM. There are timing critical steps that require intentional steps to be followed, etc. Are you using the examples in C2000 Ware located here? C:\ti\c2000\C2000Ware_5_04_00_00\libraries\flash_api\f2803x
Best,
Matthew
Hy Matthew,
yes, i'm referring to C200 example: f2803x and looking at Example_Flash2803x_API.c file.
After my first look i've seen an example of writing a buffer with Flash_Program(); i've not fund any flash_reding() function.
Enzo
Enzo,
To confirm the flash write was successful, there should be another function Flash_Verify, that can be called after the programming step.
I will add that the flow of the Flash_Program itself will do a verification before returning a "passing" signal for the function.
Best,
Matthew