Hello,
I am developing with LPC55S14(SDK Version: 2.8.2). When copying I2C data, the value is not reflected from the general-purpose registers to SRAM. There are two types, normal device and problem device, and the correct value is reflected in SRAM in the normal product. The procedure for checking the phenomenon is as follows.
(1) png1: Break at L781 of fsl_i2c.c and fill the copy destination SRAM with 0xFF.
(2) png2: Step to __aeabi_memcpy with assembler window. Then, the copy source data is copied to the general-purpose register(R4) by the LDM instruction.
(3) png3,4: R4 value is not stored in SRAM by STM instruction(normal product is no problem).
In png5, when R5 was filled with 0xFFFFFFFF before STM instruction as a trial, the value of R4 changed.
If this happens, what could be the cause? Is there a possibility of a device failure? Please let me know if there are any points to check.
I'm sorry, but I'm in a hurry to resolve it.
Best Regards,