How to load MicroPython on Seeed Arch Mix without using any debug probes #10439
Replies: 4 comments 11 replies
-
Thank you for detailing the firmware loading method and pointing to the NXP MCU Boot Utility. That is very convenient for devices without an embedded bootloader. The only drawback is, that it is only available for Windows hosts. I did not check whether it can be compiled from the sources for Linux or Max OS X. |
Beta Was this translation helpful? Give feedback.
-
Setting those DIP switches and jumper just cause the board to have no USB port so it is impossible to connect to it with the utility. Are you sure these are the right settings? I've often found errors in Seeed docs.... |
Beta Was this translation helpful? Give feedback.
-
thanks to all for the quick reply - looks like I had a USB port issue. I tried it on a different computer and the utility found the USB device |
Beta Was this translation helpful? Give feedback.
-
latest firmware seems to be loaded now and I have a REPL in Thonny. |
Beta Was this translation helpful? Give feedback.
-
The following method is based on the information at https://wiki.seeedstudio.com/Arch_Mix/#flashing-arduino-bootloader-to-arch-mix
This was done on a Windows 10 computer.
I figured if they could use that NXP-MCUBootUtility to load the Arduino bootloader, maybe it could be used to load MicroPython firmware as well. I used the following procedure...
-Download this zip file from GitHub at the following link... https://github.com/JayHeng/NXP-MCUBootUtility/archive/refs/heads/master.zip
-Extract this zip file
-Download MicroPython firmware for the Arch Mix from https://micropython.org/download/SEEED_ARCH_MIX/
-Using a DuPont jumper wire connect 3.3 and RX on the Arch Mix board (pins 19 and 22). This will activate the factory burned bootloader.
-Set the 4 pin dip switch on the Arch Mix board to 0001 (down down down up)
-In the directory of the extracted zip file go to the bin directory and open NXP-MCUBootUtility.exe
-Plug in the Arch Mix board to your computer using the USB OTG connector.
-On the top left of the MCUBootUtility verify that next to "MCU" you have "i.MXRT105x" selected.
-Again in the top left of the MCUBootUtility GUI click "Boot Device Configuration". In the drop down menu on the screen that comes up make sure "ISSI_IS25LPxxxA_IS25WPxxxA" is selected. Click "OK".
-On the left side of the MCUBootUtility GUI click "Connect to ROM". If everything is successful you should see a blue dot above where you just clicked, and that button should now say "Reset Device".
-This is where we deviate from the Seeed Studio guide. At the top of the MCUBootUtility GUI, find the tab labeled "Boot Device Memory" and select it.
-In the "Boot Device Memory" window, in the box next to "Start/Offset" put in 0x60000000. I got the idea to try this value from https://micropython.org/download/SEEED_ARCH_MIX/
-In the box next to "bin/s19/hex:" click browse and select the MicroPython firmware you downloaded earlier.
-Now click the "Write(AutoErase)" button. If everything is successful the bar at the bottom of the window will fill with green, and the firmware is flashed.
-You can now close the MCUBootUtility, unplug the Arch Mix board, remove the jumper wire between pins 19 and 22, and set the 4 switches back to 0010 (down down up down).
-Plug the Arch Mix back into your computer using the USB OTG connection, start Thonny with it set to detect port automatically, and you should get a REPL. Or go into device manager and find the port and connect using whatever you wish.
MicroPython v1.19.1 on 2022-06-18; Seeed ARCH MIX with MIMXRT1052DVL5B
Type "help()" for more information.
Look at all that memory! :)
Beta Was this translation helpful? Give feedback.
All reactions