Hello, I am now using RAK 11300 with Arduino IDE. I can’t upload the simple sketch on RAK 11300. Uploading the sketch take too long then unsuccess. I installed RAKwireless nRF Boards(0.21.20). I tried to connect RAK11300 board via RAK SERIAL PORT TOOL. Can’t open the COM PORT that board is used.
#include <lib.h> #include <Arduino.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(LED_BLUE, OUTPUT);
digitalWrite(LED_BLUE, HIGH);
}
void loop() {
// put your main code here, to run repeatedly:
// put your main code here, to run repeatedly:
digitalWrite(LED_BLUE, HIGH);
delay(1000);
digitalWrite(LED_BLUE, LOW);
delay(1000);
Serial.println(“Hello! I’m Alive”);
}
I see the problem in your log.
It looks like you are trying to use the RAK4631 BSP for the RAK11300, That cannot work.
You need to install the matching BSP for the RAK11300
Hi @beegee,
1. I installed “RAKwireless RP Boards” for RAK11300 and selected the correct board ( WisBlock Rak 11300 >> Rakwireless Raspberry Modules >> WisBlock RAK 11300).
2. I run the “post_install.bat” to install the USB drivers as you mentioned in this post: (Can’t upload Arduino code on RAK11300 - #3 by beegee).
Still can’t upload the sketch. Thanks.
Hi @beegee,
I pressed the reset button on the RAK 11300. But still not working. One thing is that when plug the usb cable of RAK 11300 to laptop, nothing is showing in “This PC” file explorer (like when plug some USB drive to laptop, can see the USB location on “This PC” file explorer. I do not get the USB drive of that RAK 11300 on laptop.
If that works, then try to find the location where Arduino is saving the project files. In Win 10 that could be something like C:\Users\Bernd\AppData\Local\Temp\arduino_build_650770
You can see the build path in the output of Arduino IDE.
Open that folder and you will see several files, one of them with the ending .uf2
Drag that file to the RAK11300 drive that you got after you pushed the white button during power up
Hi @beegee,
I can see the blue LED of RAK11300 is blinking after pasting the ‘…uf2’ file. How can I print some output on serial-monitor of Arduino IDE while doing testing. Another thing is that is it possible to use RAK13600 (NFC Reader) with RAK 11300 together for running script. Thanks for your help.
Hi @beegee,
What I mean is how can I run the program on RAK 11300 Base-board directly from Arduino IDE. Now I have to paste the file that is generated after compiled from Arduino. I want to run the sketch directly from Arduino IDE to RAK 11300 Base-board.
Look for post_install.bat in that folder and execute it (double click or start it from shell).
A window will pop-up that asks you if you really want to install this drivers. Say YES and let the installation finish.
A reboot might be required, but then the RAK11310 should be detected.
Am having the same problem on a windows 7 machine.
I have already manually installed the post_install.bat file but still unable to get my wisblock to show up as a com port.
I also tried installing the Adafruit drivers with no luck.
Am using a RAK19007 base board with a RAK11310 core.
I have tried different usb cables with no success.
The red led is on when plugged in but is rather dim and flickers.
If I double press the reset button soon after the board is plugged in the red led is on solid and also the green led turns on and I see the board show up as a removable drive on my computer.
Below is what shows up in the device manager and still doesn’t show up as a com port in the Arduino IDE.
Am still at it again with no success, this time on a Linux machine (jetson nano), everything works fine and the IDE correctly recognizes the board but at the end of compiling when it says uploading the board pops up as a USB removal drive (with two files INDEX.HTM & INFO_UF2.TXT) and disappears from the Arduino port list and the upload fails.
Any ideas???
I also tried it on two Windows 7 machines but non of them would show the board as a com port in device manager even after successfully manually installing the postinstall file.