This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C5517: programmer.out can't burn >64K .bin file to NAND flash

Genius 13655 points
Part Number: TMS320C5517

Hello Champs,

HW: Customer own C5517 board
SW:C:\ti\c55_lp\c55_csl_3.08\ccs_v6.x_examples\programmer

Customer could burn <64K bin file to NAND flash, but failed to burn >64K size. He tracked the code in nand_flash.c, the fread function returns 0 and breaks out.

rcv_count = fread(FileData, 1, 2, pInputFile);
if (rcv_count == 0)
{
break; /* no more data to read */
}


I found below similar thread and sent him the flash programmer for 5517EVM, but it's the same issue. 
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/272412/flash-writing-problem/953334

Is there limitation in the source code?

The output is below






Thanks
Rgds
Shine