I bought RAK19001 and RAK11310, set up (Ubuntu 22.04) Arduino IDE according to the instructions Installation of Board Support Package in Arduino IDE | RAKwireless Documentation Center
The board and port are automatically determined in the IDE. Opened LoRaWAN-OTAA example, changed region, then verified with no error. Then upload and got error:
“Performing 1200-bps touch reset on serial port /dev/ttyACM0
“/home/mybook/.arduino15/packages/rakwireless/tools/rp2040tools/1.0.2/rp2040load” -v -D “/tmp/arduino-sketch-4A5F511AD8608DB6FDA8B4197620A017/LoRaWAN_OTAA_ABP_1.ino.elf”
rp2040load 1.0.1 - compiled with go1.15.8
…
Failed uploading: uploading error: exit status 1”
what could be the problem? which way to look? Help a newbie, pls.
UPD.
I solved one issue - found in the logs that there permission denied to the port, added my user to the dialout group and the problem went away, but a new one appeared with the same error while uploading “Failed uploading: uploading error: exit status 1”.
From log’s:
2022-12-17T09:28:28.598Z daemon INFO INFO[0570] Performing 1200-bps touch reset on serial port /dev/ttyACM0 phase=“board reset”
2022-12-17T09:28:28.806Z daemon INFO INFO[0570] from discovery builtin:serial-discovery received message type: remove, port: /dev/ttyACM0
2022-12-17T09:28:28.810Z discovery-log INFO {“eventType”:“remove”,“port”:{“matchingBoardsList”:[],“port”:{“address”:"/dev/ttyACM0",“label”:"",“protocol”:“serial”,“protocolLabel”:"",“propertiesMap”:[]}},“error”:""}
2022-12-17T09:28:29.022Z root INFO Attached boards and available ports changed:
2022-12-17T09:28:29.022Z root INFO - Detached board: WisBlock RAK11300 [rakwireless:mbed_rp2040:WisCoreRAK11300Board] from /dev/ttyACM0 Serial Port (USB)
2022-12-17T09:28:29.022Z root INFO ------------------------------------------
2022-12-17T09:28:29.606Z daemon INFO INFO[0571] Searching tools required for board rakwireless:mbed_rp2040:WisCoreRAK11300Board
INFO[0571] Required tool tool=“rakwireless:arm-none-eabi-gcc@7-2017q4”
INFO[0571] Required tool tool=“rakwireless:[email protected]”
INFO[0571] Required tool tool=“rakwireless:[email protected]”
INFO[0571] Required tool tool=“rakwireless:[email protected]”
INFO[0571] Required tool tool=“rakwireless:[email protected]”
At the same time, the board is lost in the IDE and the “rpi-rp2” directory opens in the explorer, it looks like Firmware Upgrade Procedure, but I don’t touch any buttons on modules.