molejar / pyMBoot

Python based library for communication with NXP MCU Bootloader.
BSD 3-Clause "New" or "Revised" License
11 stars 3 forks source link

Operation Timed Out #4

Open ccrome opened 4 years ago

ccrome commented 4 years ago

Hi there, Thanks for the project!

I have an MIMXRt1060-EVK board that I'm trying to program via USB and talk to the bootloader and I thought I'd give your project a try.

I'm running into an operation timed out problem, like this:

(base) caleb@bat:~/pyMBoot$ mboot reset

 DEVICE: SE Blank RT Family  (0x1FC9, 0x0135)

 [Errno 110] Operation timed out

Any idea what I'm doing wrong?

Thanks, -Caleb

molejar commented 4 years ago

Hi, the i.MX-RT need to have preloaded flashloader via SDP and then is working with mboot. I recommend you to use directly NXP spsdk project inspired from my work. Here you can found example for your usecase: https://github.com/NXPmicro/spsdk/blob/master/examples/sdp_mboot.py