Other Parts Discussed in Thread: UNIFLASH
Hi.
Context: I have divided the flash into 3 parts : 0x000 -> flash bootloader start address. 0x4000 -> tiva application and 0x82000 -> tiva application
This is done for fail-safe upgrade of tiva.
Now, the issue is : I am updating the tiva's flash with the application , it is hanging. I am using the
I am using the code :
BL_FLASH_PROGRAM_FN_HOOK(g_ui32TransferAddress,
(uint8_t *) &g_pui32DataBuffer[1],
((ui32Size + 3) & ~3));
to write the flash on the fly. the application data is send over uart to tiva, and tiva write the application on the fly using above api.
If the tiva is booted from 0x4000, it writes the data from 0x82000 and if the tiva is booted from 0x82000, it writes on 1st partition -> 0x4000.
this code was working fine, now it has started giving problem,
The flash is unable to get updated fully. It hangs in between.
Is this API works with all level of optimisations ?
Thanks,
Sanchit Mehra