I have a LPC55S69 EVK and I can no longer download FW over the CMSIS DBG. I look in the log and I see this:
nov 20/11:12:34.060 INFO : Debug Log(warning): Error while calling macro execUserCoreConnect
nov 20/11:12:34.088 DEBUG2 : StartSession() checking powerCore 0: CpuStatus(status = <0x80: CPU_STATUS_MERR>) = 0
nov 20/11:12:34.104 DEBUG2 : >Calling _ExecDeviceCoreConnect
nov 20/11:12:34.104 DEBUG2 : ISigCmdInterpreter::Execute('dap.APr 0x0 0')
nov 20/11:12:34.132 INFO : Debug Log(info): CMD_INTERPRETER: failed
nov 20/11:12:34.132 INFO : Debug Log(error): C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.3\arm\config\debugger\NXP\LPC55xx.dmac(51,18): Error: Operation error.
nov 20/11:12:34.133 DEBUG2 : <Call to _ExecDeviceCoreConnect failed
nov 20/11:12:34.133 INFO : Debug Log(warning): Error while calling macro execUserCoreConnect
nov 20/11:12:34.161 DEBUG2 : StartSession() checking powerCore 0: CpuStatus(status = <0x80: CPU_STATUS_MERR>) = 0
nov 20/11:12:34.177 DEBUG2 : >Calling _ExecDeviceCoreConnect
nov 20/11:12:34.177 DEBUG2 : ISigCmdInterpreter::Execute('dap.APr 0x0 0')
nov 20/11:12:34.205 INFO : Debug Log(info): CMD_INTERPRETER: failed
nov 20/11:12:34.205 INFO : Debug Log(error): C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.3\arm\config\debugger\NXP\LPC55xx.dmac(51,18): Error: Operation error.
nov 20/11:12:34.205 DEBUG2 : <Call to _ExecDeviceCoreConnect failed
nov 20/11:12:34.205 INFO : Debug Log(warning): Error while calling macro execUserCoreConnect
nov 20/11:12:34.233 DEBUG2 : StartSession() checking powerCore 0: CpuStatus(status = <0x80: CPU_STATUS_MERR>) = 0
nov 20/11:12:36.321 INFO : Debug Log(error): Fatal error: Failed to connect to CPU Session aborted!
nov 20/11:12:36.321 DEBUG2 : ********** 'Controlled' exception (1) caught in DbBeginSession
nov 20/11:12:36.321 INFO : Debug Log(info): Unloaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.3\arm\config\flashloader\NXP\FlashLPC55xx.mac
nov 20/11:12:36.375 DEBUG2 : -> AboutToStopSession()
nov 20/11:12:36.376 DEBUG2 : <- AboutToStopSession()
nov 20/11:12:36.405 DEBUG2 : -> PrepareStopSession()
nov 20/11:12:36.405 DEBUG2 : <- PrepareStopSession()
nov 20/11:12:36.419 DEBUG2 : StopGui()
nov 20/11:12:36.441 DEBUG2 : -> StopSession()
nov 20/11:12:36.443 DEBUG2 : -> TerminateHardware()
nov 20/11:12:36.443 DEBUG2 : ISigEmu::ReleaseInterface(sigWpt)
nov 20/11:12:36.443 DEBUG2 : ISigEmu::ReleaseInterface(sigVect)
nov 20/11:12:36.443 DEBUG2 : ISigEmu::IceTerm()
nov 20/11:12:36.454 DEBUG2 : Core 0: sigEmu->LinkAttach(ISigProbe)
nov 20/11:12:36.454 DEBUG2 : ISigApi::ReleaseInstance(sigEmu)
nov 20/11:12:36.454 DEBUG2 : SigAPITerm()
nov 20/11:12:36.455 INFO : Debug Log(info): Cannot initialize DAP access.
nov 20/11:12:36.455 INFO : Cannot initialize DAP access.
nov 20/11:12:36.455 DEBUG2 : <- TerminateHardware()
nov 20/11:12:36.455 DEBUG2 : <- StopSession()
nov 20/11:12:36.455 DEBUG2 : -> ~TdJetDriver()
nov 20/11:12:36.455 DEBUG2 : -> TerminateHardware()
nov 20/11:12:36.455 DEBUG2 : <- TerminateHardware()
Hi Don,
Please try to boot into ISP mode and then debug doing the following:
For more information please refer to the following document.
Regaining debug access to target MCU
Hope it helps!
Best regards,
Felipe
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------