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.

RM57L843: The chip reads and writes the internal flash issue

Part Number: RM57L843

Hi team,

When reading or writing the internal flash using the RM57L843 development board, is the large end leading or the small end leading?

When the customer configures large end leading, the program can be compiled but not downloaded, and the ccs report the error as follows:

When the customer configures the small end leading, they can compile and download, but there are other issues with subsequent use, such as random data after flash erase, when writing data there are some data wrong.

Could you help resolve this issue? Thanks.

Best Regards,

Cherry

  • Hi Cherry,

    RM57L843 is a small endian device, and TMS570LCx are big endian devices.

    but there are other issues with subsequent use, such as random data after flash erase, when writing data there are some data wrong.

    The RM57L843 has flash ECC which is always enabled. The ECC is calculated using the data and the address, so the proper ECC value for data = 0xFFFFFFFF FFFFFFFF is different for different locations. When the flash is erases, the ECC bits are also erased. At some locations the ECC value 0xFF equates to a single bit error that is corrected by the ARM R5 CPU before the data is displayed. Other locations equate to uncorrectable errors and can change multiple bits in the display. Go ahead and program your code with the proper ECC and you should see it properly displayed in the debugger memory window.