Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Software Reset not working with iMXRT device #969

Open
SamECU opened this issue Jul 3, 2022 · 1 comment
Open

Software Reset not working with iMXRT device #969

SamECU opened this issue Jul 3, 2022 · 1 comment

Comments

@SamECU
Copy link

SamECU commented Jul 3, 2022

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
Copy link
Author

SamECU commented Jul 20, 2022

Hello,
Could anyone point me in the right direction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant