Other Parts Discussed in Thread: C2000WARE
Hello,
In our project, we are trying to download new firmware on Flash sectors. For that i am using flash address received from serial communication for erasing particular sector. sector is getting erased properly.After flash erase i tried to write data on flash but sometimes data write gets successful and sometimes gets fail with Fapi_Error_AsyncIncorrectDataBufferLength error.
I am using .txt file data during firmware write,
i have divided above data in address packet and data packet format and transmitting it over serial port to controller.
address packet @110000 = 0x88000
data packet 48 00 93 bc - This packet getting written on flash properly
address packet @110010 = 0x88008
data packet - This packet getting written on flash properly
address packet @110048 = 0x88024
data packet - This packet generates error. After that error keeps on repeating
Can any one guide on this, why this error is getting generated.
Regards,
Sandeep