Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Hi, i'm trying to implement OTA on our custom PCB. We are using the S25FL116K non-volatile flash over the SPI.
I've modified the example project "external memory bootloader and bootloadable" by re-implementing the following functions: EMI_Start() EMI_writeData() EMI_ReadData() but i can't understand the purpose of the EMI_setPointer() function.
It appears that it is writing the dataAddr variable to a location where this data already resides.
Also the maximum page write for the flash is 256, but in the WriteData function, two bytes are appended to the start of the array which would push this above the maximum.
Some help would be appreciated on how this should be changed. kind regards, Damian