DAPLink icon indicating copy to clipboard operation
DAPLink copied to clipboard

Software Reset not working with iMXRT device

Open SamECU opened this issue 3 years ago • 1 comments

Hello,

I'm using the LPC55S69 (MCU-Link Hardware) as HIC which I've attempted to port to the MIMXRT1010-EVB as Target.

To date I haven't been able to get the device to reset by itself after flashing when using the MSD functionality.

Reading through the documentation I believe there's three options:

  • kHardwareReset
  • kSoftwareReset
    • SYSRESETREQ
    • VECTRESET

I've believe kSoftwarereset is the correct option. I define it in target_reset_mimxrt.c image And in the yaml: image

Using the two Softwarereset options, I always have to manually reset the device.

For the sake of it I tried Hardwarereset, but then I can't even copy files to the MSD, the copying doesn't start.

Is my assumption correct, that I should use one of the Softwareresets?

What is the difference between VECTRESET and SYSRESETREQ?

Any ideas where the issue may lie or where I should have a look?

Thanks for any help, it's really appreciated.

Regards, Sam

SamECU avatar Jul 03 '22 09:07 SamECU

Hello, Could anyone point me in the right direction?

SamECU avatar Jul 20 '22 15:07 SamECU