Software Reset not working with iMXRT device
- Dominant language
- C
- Stars
- 2.8k
- Forks
- 1.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 1
Description
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

And in the yaml:

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
Contributor guide
Research direction
Start by reviewing target_reset_mimxrt.c and the MIMXRT1010-EVB target YAML, focusing on the kSoftwareReset, SYSRESETREQ, VECTRESET, and kHardwareReset selections described in the issue. Reproduce the MSD flashing flow on the MIMXRT1010-EVB and determine why software reset does not occur while hardware reset prevents copying; done means flashing through MSD reliably resets and starts the target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100