Other Parts Discussed in Thread: C2000WARE
Hi,
I would like to modify the provided LFU sample codes (flashapi_ex2_sci_kernel, flashapi_ex3/ex5) to update only a single flash bank (always bank0).
All my previous attempts have unfortunately not worked correctly.
What is the best way to approach this?
Shouldn't it be possible to simply put the flash kernel into bank0 sector 0-1 (as in the example), the user application (which should be updated) in bank0 sector2-15 (no use of bank1)?
During my tests the first initial programming of the user application (ex3 or ex5) worked. However, the subsequent update always hangs after a few seconds.
Is there something special to take care, if I only run on a single bank?
Do you maybe have any example code for this approach - maybe from another microcontroller device with only one flash bank?
Thank you & best regards,
Felix