Closed paulrox closed 4 years ago
Thanks for working on porting a new MKR board @paulrox !
The problem you have is because the board doesn't switch automatically in bootloader mode. You have to do this manually by double pressing the reset button before reflashing (every time...).
After that, you won't have the STDIO output directly via USB, you'll have to plug an USB to UART converter on the RX/TX pins of the board.
This is not very convenient but with the newly merged USB stack (and CDC ACM profile) it will be possible to end up with something as user-friendly as Arduino is providing for these boards: automatic switch in bootloader mode when flashing + STDIO over USB.
Thank you for the fast reply!
I've already tried before to reboot in bootloader mode but I obtained the same result. After some trials, I made it work by adding the Arduino USB device (when in bootloader mode) to the USB filter in virtual box and by adding the udev rules for it.
I also had to reboot in bootloader mode a couple of times to let the board detected by bossac.
Now I will test if the application is actually working as expected.
Another question, is there any limitation to the RIOT modules compatibility with this particular board ? (or with the MKRZERO in general?) Because I would like to use the RIOT CoAP module with this board.
is there any limitation to the RIOT modules compatibility with this particular board ? (or with the MKRZERO in general?) Because I would like to use the RIOT CoAP module with this board.
The SAMD21 MCU is well supported in RIOT. If you want to use CoAP on this board via the WiFi radio, you will have to write the driver for it with an adaption to netdev.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions.
Hi all,
I saw that RIOT is already compatible with many Arduino boards, but the MKR WiFi 1010 is missing. I tried to build and flash a simple "Hello World" following the steps in the quick start guide and using the MKRZERO as board in the Makefile (they are both from the MKR family and they share the same MCU: Atmel SAMD21G18A),
I'm able to successfully build the application in the RIOT VM but I'm stuck on the flash phase. The
make flash
command gives me the following output:I don't think it is a USB problem with the VM because if I use the
make term
command I can see the output of a program which I previously uploaded using the Arduino IDE. I also followed those instructions for the VM configuration.Is it a compatibility issue with the board or am I doing something wrong??
Useful links
https://store.arduino.cc/mkr-wifi-1010