Other Parts Discussed in Thread: Z-STACK, CC2530, MSP430F5529
Hi,
I'm building and app on Z-stack which requires OTA upgrades, thus I've been reading through docs and code on the HW needs. After some reading I thought my best bet would be implementing an external NV memory as my device is an MSP430 with 256KB of flash and my code is already at 112KB, which near the half memory limit for OTA.
My surprise has come when I've found this text in the hal_ota.h of the Z-stack 2.5.1, despite a hal_xnv.c/.h exists:
#if HAL_OTA_XNV_IS_SPI
#error Only Internal XNV is supported.
#else
....
And:
#if HAL_OTA_XNV_IS_INT
#define VDD_MIN_OTA VDD_MIN_NV
#else
#error OTA with external NV on MSP5438 not supported.
#endif
So my question is: Is the external NV memory for OTA upgrades on MSP430 supported in Z-stack?
If it is, which would be the best implementing path?
If it is not: Is there any technical reason for it? and which is my best alternative?
And as a final aside question, looking at the .map file, which sizes compute for the limit for the OTA upgrade? CODE + CONST? or CODE+CONST+DATA?
Thanks a lot for your support.
Best regards,
Asier.
