- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Damian,
If you are using SPI external memory, I suggest you to refer our example project on External memory OTA using Serial Nor flash SPI.
You can find the project here: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Project051...
Thanks & Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Damian,
If you are using SPI external memory, I suggest you to refer our example project on External memory OTA using Serial Nor flash SPI.
You can find the project here: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Project051...
Thanks & Regards,
Anjana