-
Hi, I have this Microchip board to run micropython on it. I have build the current master branch with but have the same problem as described in issue 13790. IN MPLab X IDE I can see the board and tried to flash it with the firmware in hex format via, but the Micropython bootup procedure does not work. Does anybody have an idea? Does the PA03 jumper has to be altered? It is now shortened to USB_ID. The revision of the board is A09-2130/04 Thank you very much in advance. UPDATE: When I connect in Debug mode, the /dev/ttyACM0 port is there, and the yellow status LED switches on when I connect via picocom or screen but nothing shows up in the terminal. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
It seems that at the debug port you can only load .hex files and maybe .elf files. The debug port is NOT connected to the SAMD21 chip. It is connected to the DEBUG mcu. |
Beta Was this translation helpful? Give feedback.
-
Dear Robert, thank you for your answer. I tried your firmware hex file, but unfortunately, it did not work. Again, when I flash it via MPLab IPE and connect/switch after flashing to the TARGET USB, only the power LED is switched on, nothing else. I would raise this as an issue. As long as this does not work, I would not recommend this board for any usage with micropython. |
Beta Was this translation helpful? Give feedback.
-
It looks like an appropriate bootloader is missing. At the microchip forum there is some discussion about that, for example https://forum.microchip.com/s/topic/a5C3l000000UhUBEA0/t180270 P.S.: The SAMD21 XPLAINED Pro is indeed a little bit of overkill for using MicroPython. The Adafruit ItsyBitsy M0 is more convenient and has in addition a separate flash device for the file system. Edit: This link looks interesting as well: https://forum.arduino.cc/t/burning-bootloader-on-to-samd21-xpro/918415 |
Beta Was this translation helpful? Give feedback.
-
Dear Robert, thank you very much for the extraordinary help. That worked out. |
Beta Was this translation helpful? Give feedback.
This morning I replicated the steps for installing the bootloader again. I could not get .bin files installed by copying them onto the XPLAINED drive. Only Intel Hex files work. So there is still the step needed to convert the .bin file to an Intel HEX format.
bootloader-xplained-pro-v3.16.0-15-gaa52b22.zip