ROM testing

Hi Renesas community,

I have question regarding the Test of ROM in RX65N MCU. I got the software package from renesas for testing(CPU, RAM and ROM) and I have noticed that the implementation of functions that is used to test the ROM are missing. After I read the (RX(v2/v3 core) Family Diagnostic Software pdf file, the below functions are used to test the ROM But I can't find the implementation of those functions.

void crcHwSetup(unsigned int crc)
uint16_t crcComputation(unsigned int checksumBegin, unsigned int checksumEnd, unsigned int crc, unsigned int incrMode)

More details:

MCU: R5F565NEDxFC

Toolchain: CC-RX

version: 2.08.01

IDE: e² studio

Parents Reply
  • OK so this software package was provided by special request, this is not something generally available for download.

    It looks like the ROM test is based on CRC.  Without the code it is more difficult to help, but in general with CRC the problems I have run into would be improper initial value, incorrect CRC method used, or incorrect options when generating the CRC by the external tool that results in mis-match with the device CRC calculation.

    I would recommend starting with a very small area of memory that can be more easily tested and verified for the CRC on both ends.  Once that is working you can expand the memory coverage to a more realistic range of an applications address space.

Children