USB Connection problem. RAK 19011,,,19016,, 4631

Hi, new to the forum, new to RAK, I need help.

I have setup on my desk the following items, RAK 19011, 4631,19016 and a 1901.

The bootloader as far as I can see is the latest version.

Is there a specific USB driver I need be using please.

I’m on OS Windows 7, using Arduino platform and am getting constant USB drop outs when uploading.

Any words of wisdom out there please. :))

Welcome to the forum @I-Like-Cows
Can you give more details about

What do you mean?
Any logs available?
Are you connecting directly to your computer or are you using an USB hub?

Hi, thanks for your time…

I am connecting the board directly to pc.
You’ll have to forgive my noob like tendecies here, this is all black magic to me :rofl:

Anyhow, hopefully the screenprint and log will, tell you more than I can, In the screen print, is it normal for the log to give an error at the end? I have reduced the log significantly as I had to many characters.

Arduino: 1.8.19 (Windows 7), Board: "WisBlock RAK4631, S140  6.1.1, Level 2 (Full Debug)"

Using cached library dependencies for file: C:\Users\Martin\AppData\Local\Arduino15\packages\rakwireless\hardware\nrf52\1.0.1\libraries\Adafruit_TinyUSB_Arduino\src\tusb.c

Generating function prototypes...

"C:\\Users\\Martin\\AppData\\Local\\Arduino15\\packages\\rakwireless\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_WisCore_RAK4631_Board -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.1\"" -DDEBUG -DNRF52840_XXAA -DUSBCON -DUSE_TINYUSB -D

"C:\\Users\\Martin\\AppData\\Local\\Arduino15\\packages\\rakwireless\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-size" -A "C:\\Users\\Martin\\AppData\\Local\\Temp\\arduino_build_447117/RAK1906_Environment_BME680.ino.elf"

Sketch uses 66660 bytes (8%) of program storage space. Maximum is 815104 bytes.

Global variables use 7640 bytes (3%) of dynamic memory, leaving 229928 bytes for local variables. Maximum is 237568 bytes.

Forcing reset using 1200bps open/close on port COM5

PORTS {COM1, COM5, } / {COM1, } => {}

PORTS {COM1, } / {COM1, } => {}

Couldn’t find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board’s reset button after initiating the upload.

First of all, sorry for changing your post, but the log was difficult to read.

It seems that Arduino cannot connect to the COM port.

Can you try the following:

  • Connect the WisBlock over USB to your computer
  • Double click the reset button of the WisBlock to force it into boot mode
    • the green LED should start dimming on and off
    • the computer will detect an external drive named RAK4631
  • Try to flash again with the new COM port that is shown now.

Can you follow the guide How to Check If You Have the Updated RAK4631 Bootloader

We had a problem with USB with the older bootloader, but it was updated months ago.

hi, I can confirm the following.

USB is connected direct to computer with nothing between the board and the pc itself, a new cable that came supplied in a kit by RAK.

This is the bootloader i have.

UF2 Bootloader 0.4.2 lib/nrfx (v2.0.0) lib/tinyusb (0.10.1-293-gaf8e5a90) lib/uf2 (remotes/origin/configupdate-9-gadbb8c7)
Model: WisBlock RAK4631 Board
Board-ID: WisBlock-RAK4631-Board
Date: Dec 1 2021
SoftDevice: S140 6.1.1

*Edit, added info.

So, with a solid green light on the board, the device is on on COM5

Then, if I double click, green light pulsates and I’m no longer on a COM* port, here, the device mounts itself to Drive E, other devices, nRF Serial.

Do I need to configure a drive as the port, in my case E, or should i still have a connected COM port?

Thought I’d better update this,I think I’ve just had a breakthrough after two days of playing about!

I’ve just found a tool called " zadig "

It has basically just pinpointed my problem to drivers.

In normal board mode, green light on, all good, connected to COM* port.

Double press button, green light pulsates, mounts to a Drive, nRF Serial, my problem was no driver assigned.

I can confirm no issues with the RAK hardware, is was my PC!

Now fixed, uploaded and I now have my first bit of data coming through the board.
I hope this helps a fellow new guy, Im over the moon :rofl:
Have a nice day and thanks for your help @beegee

Happy it works now.Have fun with WisBlock.