RAK11160 upload code not working

Hi, I tried to upload code for RAK11160, but cant get it to work. For some reason I’m only getting � instead of “holamundo”. the baud rate are correct

I don’t know if is a software issue or loose connection between wisblock base and core board or something else. I’m running Arduino IDE in Debian 12

My simple code is

void setup() {
Serial.begin(115200);
}

void loop() {
Serial.println(“holamundo”);
}

Welcome to RAK forum @enrique ,

Some ideas.

  1. Can you confirm that you selected the right port when viewing serial logs?
  2. Maybe you can add small delay in between instead of spamming holamundo.
  3. If you reupload a new FW, dont you have any issues?

Dear Carlrowan,
It’s finished uploading but looks like the code it’s been written into MCU memory for some reason.

Arduino IDE output:
Sketch uses 156640 bytes (78%) of program storage space. Maximum is 200704 bytes.
Global variables use 34072 bytes (70%) of dynamic memory, leaving 14568 bytes for local variables. Maximum is 48640 bytes.
Device is not in boot mode
Detecting baudrate…
Detect baudrate fail, can not get the baudrate

This lines below are the serial monitor after uploading the code. The serial messages are from an old firmware that was uploaded because I’m working with the bg77 module, but for this simple test it has not been supplied with adicional power as described by the quick start guide. Now only usb-c it’s connected to the base board. Maybe a power supply problem?

08:49:27.293 -> 

08:49:35.453 -> BG77 power up!

08:50:19.470 -> Current Work Mode: LoRaWAN.

I do not know unless I can measure the VDD lines by multimeter and/or oscillscope.

Dear Carlrowan,

Now it’s working. The clue is to see the orange message. I uninstalled the other versions of RUI Boards. I only keep RUI STM32 boards. Now that it’s kind of working, this module has WIFI? I can see the antenna port thar that says wifi/ble

Hi @enrique ,

Yes it has WiFi/BLE based on ESP32C2.