I’ve just received my RAK5010, and I cannot get it to talk with me.
I’ve connected the USB port (which comes up as COM77), and opened it in Putty. No matter what character I type, I immediately get
“Invalid at command.
ERROR
RET_CODE:80”
It can’t be an invalid AT command because I can’t get pass press the “a” key.
I’ve tried connecting a USB <-> Serial dongle to the GND, IO3, and IO4 pins. I get no output at all. I’ve tried swapping IO3 and IO4, still nothing. I’ve tried both with and without the connection to the VRef pin.
About at command.
at+version //check firmware version.
at+set_config=cellular:(ATI) //check bg96 firmware version
more details is below: RAKwireless Documentation Center
Notes:
You should copy the serial tool exe and ini(config file) both to your pc. The ini stores the right config.
Power is from USB.
The blue LED is solid, the red LED is blinking.
I’ve connected an FDDI serial cable to the IO pins on a second module, and I do get the banner when I press the reset button. Version is 3.0.0.7
Nothing that I type into the terminal window gets any response. I’ve tried with putty, SSCOM, and RAK_SERIAL_PORT_TOOL.
Under the device manager, I get “USB Serial Device (COM88)”. I’ve tried opening it with Putty, SSCOM, and RAK_SERIAL_PORT_TOOL. If I send “AT+VERSION”, I get the message “Invalid at command”.
This happens with both modules, so I don’t think this is a HW problem.
(As an aside, I can get an RAK2011 module working, so I must be doing something right.)
Nero,
thanks for the help in getting it working. “Putty” doesn’t work at all, and it seems to put the module into a very weird state. As we also saw, trying to use more than one of the interfaces confuses the module as well. Sometimes, cycling DTR seems to fix it.
Hi, thank you for your reply.
I’m using a mac and I’ve connected the USB port using the Serial application.
And yes, I’ve powered the board with the battery.
This is the Serial settings page:
Hi,
It looks like ok. Search net is fine. If you want to communicate with bg96, you can use as below:
at+set_config=cellular:(ATI)
to check the bg96 version.
Does this not response?
Send as below format:
at+set_config=cellular:(/bg96 command/)
It is MacOs.
The first send of “at+set_config=cellular:(AT+COPS=?)” returns “invalid at command”
but if I re-send the same command then the communication hang.
Hello, send AT reply "ERROR
RET_CODE: 80 "error, this error is because the AT command is sent or the format is incorrect, and the error is filtered.
Please try to send the correct AT command again. If it still fails, it may be that the configuration in the serial tool modifies the AT command and is filtered by the code.
Please try it first. My MacO system environment has some problems. The problem is fixed. I will use your serial port tool on the Mac. I’m sorry.
Hello, the serial tool you used, I tried it here, I encountered some problems and can’t use it.
I downloaded the “Serial Assistant” serial tool in the App Store, and there is no problem using the functions of RAK5010. The AT command sent as shown below, you can view the data I sent on the official website of Hologram.