We have a custom board with LPC54608 and SRAM.
We work with MCUXpresso 11.7 or 11.8 and SDK 2.13 or 2.14
We are able to flash the firmware using J-flash without any problem but we encounter problems trying to debug.
sometimes it is working and most of the time it is not. the IDE is stuck on some line which is not the start point and we cant do any action except stop debug.
We know about the conflicts between SDRAM pins and ISP pins so we put 10K pullups in the 3 pins and burned the OTP.
we have no idea what do do next.
i also want to verify that this OTP code is correct:
CLOCK_EnableClock(kCLOCK_Otp);
RESET_PeripheralReset(kOTP_RST_SHIFT_RSTn);
otpversion = OTP_GetDriverVersion();
OTP_EnableBankWriteMask(kOTP_Bank3);
OTP_EnableBankWriteLock(kOTP_Bank2, kOTP_Word0, kOTP_Word1 | kOTP_Word2 | kOTP_Word3, kOTP_LockDontLock);
OTP_ProgramRegister(kOTP_Bank2, kOTP_Word0, 0x20);
OTP_DisableBankWriteMask(kOTP_Bank3);
thanks