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.

AM2634-Q1: FLS write to wrong address when write across page

Part Number: AM2634-Q1
Other Parts Discussed in Thread: AM2634

Hi, experts,

My customer reports an issue when using FLS to write external Flash. I can reproduce the issue in my side, please help to look into this issse.Thanks

HW: AM2634 EVM

SW: MCAL_09_00_01_00

Base on fls_app demo in MCAL package, just change DATA_SIZE_TEST to 96, change write offset to 0x300F0. It is expected the data to be written to 0x300F0~0x3014F, but actually the data is written to 0x300F0~0x300FF, and then not to 0x30100~0x3014F, but to 0x30000~0x3004F.

It seems when the startAddress+size > pageSize, the write will rollback to the beginning of current page, but not the next page as expected. I am supposing something needed to be either in application side or FLS MCAL side to avoid this writing error, and at the same time, to support across-page writing in the use case as descripted above.

Thanks.