I'm tying to understand whether there is any way to use custom external flash for application code storage. My case is following. I want to user JN5168 with OTA updates therefore I need 512 KB of storage for application code. The only supported 512 KB memory chip is already discontinued.
I can see PDM_vSPIFlashConfig function where I can supply custom functions to interact with the flash. This function however will allow my application to use a custom flash. What I need is a bootloader reading app code from my custom flash so the question is: Can I supply functions for custom flash to the bootloader?
There is also the JN5169 (which is still active) that has 512kb Flash.
Hi Youp,
Yes, The JN-AN-1218 works with the JN5169 devices and it is active.
Regards,
Mario
Hi Witold,
Please look at the JN516x Integrated Peripherals API User Guide 32. Flash Memory Functions
Also, you could also look at the app_ota_client.c file that is included in the JN-AN-1218.
Let me know if you have any question.
Regards,
Mario