RAK7200 stuck in P2P work mode

This is a newly purchased RAK7200 which came with firmware 3.1.0.13 pre-installed and boot firmware 3.1.1. I also noticed it arrived preconfigured in P2P work mode.

I read in the 3.1.0.13 release notes that P2P mode isn’t supported on this device, so the config options were removed relating to it.

Feature:
1.delete LoRaP2P AT command because RAK7200 don’t support LoRaP2P mode

The problem is, the at+set_config=lora:work_mode:X command is not accepted as a valid command anymore.

I tried downgrading to 3.1.0.12, but after booting - “Initialization OK,current work_mode:P2P” I get no output reply from any AT commands I send. I was hoping to change the work mode on version 3.1.0.12 and then upgrade back to 3.1.0.13. I’ve also tried 3.1.0.11, I have the same problem as I do with 3.1.0.12.

I’m out of ideas… what else can I try?

Thanks,
Shane

Hi @shanemau Can you try to reflash both the bootloader and firmware of RAK7200. Please first erase the chip before flashing the bootloader. Also, can you PM me your order number to check this purchase.

Hi @velev, I also tried reflashing the boot loader as per https://doc.rakwireless.com/quick-start/rak7200-lora-tracker/burning-the-bootloader (including erasing it first).

This was ordered from a reseller, not direct from you.

I tried again - doing a full erase, reburning 3.1.1 bootloader and installing 3.1.0.13 firmware:

______  ___   _   __  _    _ _          _               
| ___ \/ _ \ | | / / | |  | (_)        | |              
| |_/ / /_\ \| |/ /  | |  | |_ _ __ ___| | ___  ___ ___ 
|    /|  _  ||    \  | |/\| | | '__/ _ \ |/ _ \/ __/ __|
| |\ \| | | || |\  \ \  /\  / | | |  __/ |  __/\__ \__ \
\_| \_\_| |_/\_| \_/  \/  \/|_|_|  \___|_|\___||___/___/
========================================================
********************************************************
RAK7200 version:3.1.0.13
********************************************************
========================================================
MPU9250 Init OK
GPS Init OK
Initialization OK,Current work_mode:P2P
gps_timeout: 100s
Configuration OK!
>>at+version
OK3.1.0.13
>>at+get_config=device:status
OK.
*************************************************
===============Device Status List================
Board Core:  S76G_B
MCU:  STM32L073RZ
LoRa chip:  SX1276

Battery Voltage = 3.883 V 
Support Gps:true
gps_timeout: 100s
gps_format:standard LPP format
No signal with Satellite.

MPU9250 sensor:
Acceleration(g) of X,Y,Z:
0.43,0.86,0.22
Gyro(degress/s) of X,Y,Z:
0.77,2.45,0.84
Magnetometer(uT) of X,Y,Z:
68.40,-65.55,-21.90

===================List End======================
*************************************************
>>at+get_config=lora:status
OK work_mode: LORAP2P
Frequency:867100000
Spreadfact:7
Bandwidth:0
Codingrate:1
Preamlen:8
Powerdbm:10
Transfer_mode:2
>>at+set_config=lora:work_mode:0
The AT Command is invalid.

It is stuck in LORAP2P mode, I cannot change it.

My problem was resolved with the help of @Nicholas via DM, thank you. Message him if you are facing the same problem as I cannot share the command publicly.

Hello, i just received a device for testing and i have the same issue, i’ve already tried to flash bootloader and firmware…

Hi @mkdevch This behavior affects some RAK7200 devices already shipped. You can use the at+set_config=lora:normal AT command to set the work mode back to LoRaWAN.

hello, thanks a lot for the fast reply, now it started to work!
image