Can't connect to new RAK2470

Hi, I have purchased 5 new RAK2470’s. For some reason I can’t make a connection to them via the usb configuration cable. I can see the config cable in the computers device manager (windows), and it’s assigning a com port with no conflicts. However, when I use IO.Box to connect, it can’t find the device. I have tried automatically and manually. I have repowered etc (I read about the 30 seconds of inactivity catch), but still getting “unable to connect device” error. Any ideas?

Hi @Andy ,

Can you confirm if the COM port detected is for the RAK2470? To isolate the issue with IO.box, can you please try to use other serial terminal to and just send basic commands, AT and AT+VER=?

Yep, device manager picks it up no problems, and have tried a few different ports.
I can also confirm that the device itself is powered, there is an illuminated green led showing through the fibreglass.


I have tried both 9600 and 115200 baud rate, documentation indicates the device can handle both?
I had a look with RAK Serial Port Tool, but not getting a response with the command AT+VER=?

Hi @Andy ,

Can you confirm that the connection you have is this with 12V power connected? You can disconnect the RS485 device for now until we fix the connection issue.

Without RS485 device connected, disconnect the RAK2470 to the USB configuration cable. The light should disappear on the RAK2470. Then after few seconds open up your serial terminal connected to the COM port of the RAK2470. Then reconnect the RAK2470 to the configuration cable.

Can you confirm if you see a startup like this? If not, can you share me the SN of your device.

image

Ok, I followed your directions @carlrowan, and I get no text showing in the Serial Port Tool at all. I tried both 9600 and115200. I also tried a couple of different cables as I have 5 of these new devices. No change at all.
I’m using the power supply that came with the device, and double checked that it’s output is 12v. I don’t have the RS485 device connected at all.
I can confirm that the wiring is correct, and the device lights up green when connected to power.
Here is a photo of the sticker on the device…

Hi @Andy ,

It is strange that you cannot connect to all 5 devices. It appears to me that it is systemic error. There can be central point that causes the issue to all devices.

I will check the test logs from our production team on the RAK2470 label that you sent. It is holiday until Monday so we have limited operations. I will provide the feedback from them as soon as I get it.

For now, some thoughts I have.

  1. COM port is detected so the USD-Serial driver is not an issue. However, it won’t hurt if you will try to different machine/PC.
  2. How many configuration cable and T-cable do you have? That’s one potential cause of the issue as well. If one of the TX or RX is broken, the RAK3172 inside of the RAK2470 will not be able to communicate to PC.

Thanks for the update @carlrowan, different machine made no difference. I only have one configuration cable, plenty of T cables that came with each device (have tried more than one to see if it helped, but no go. I do have a RAKDAP1 Flash and Debug Tool, would it somehow be possible to use it? I assume I would probably need to strip wires or similar, but happy to do so if you think it would help.

Ok, I’ve had success using the RAKDAP1, I opened the 2470 up and connected to pins Txd & Rxd, and am able to connect that way. I must have a failed configuration cable. It’s new, so I’m surprised it’s failed.

Hi @Andy ,

I would assume the configuration cable is still underwarranty. If yes, please send email to [email protected]. Include this forum link and state that you talk to me already so we can process the replacement.

Hi @carlrowan, just having another play while I wait for the replacement cable, and am getting strange results in the Serial Port Utility and device won’t connect to IO.Box. The string coming from the device looks like this…any suggestions what I could be doing incorrectly? I thought it might be worth programming a device to get started testing on motor.

I am using baud rate 115200, 8 Data Bits, Parity None and Stop Bits 1

àþ€
--------í{šåÍÑ•µstart…
[÷oûÿ-AT_omï 
+E:ADDF@A:1 TX on freq 915200000 Hz at DR 2

+EVT:LORA_ERR:0
TX on freq 917200000 Hz at DR 2
Èÿïïÿÿ@ÿïüÿþüþ€€üüîïÿüàïÿü€ð€þðÀÿïþïÿ€ïàï
+EVT:LORA_ERR:0
ïÿïÿÿÿïÀÏÿ€ïÏÿïÿàÿàÿøÿÿààüïþàÿÿüïÿïðÿðøÿàAT_COMMAND_NOT_FOUND
ïÿ€üüøÿîÀÿÿÿüïÿàþðàÿÿÿïÿààïÀðÎà>ÿüüàÿÎÿþïÿàÏÿÿüî€þïÿà€ÿÿàü€€€ïàÀÐÿŒàðáèþààïÿàüàÿüà àïÿüÀ€ø
+EVT:LORA_ERR:0
àþàþ€íüüï€àààïþüüðüþ@ÎààüàC üþðüïüüð€üü €ðþÀïÿC {μï€start…
+EVT:Model Name=RAK2470
PP_setup
BE:1
ÿïÿïàÁþÏÿð€üÉÿöÿþïÿ €ïÿÀ€€àüÀþ€ïÿü

Hi @Andy ,

When did the trash character happen? Was it there before or after some configuration/setup that was change?

I suspect it is noisy coming from where the WisNode bridge is connected.

Only just got back to it today, and it seems pretty consistent. I’ll try new wires from the RAKDAP1 and see how that goes.

Not having any luck there, I’ve tried 3 sets of wires, still getting noise.
What about the usbC connection? It powers, and I get a new com port showing in device manager and it shows perfect comms in serial port tool. Unfortunately doesn’t connect via IO.Box. Thoughts?

Can you please share me the serial output if it is powered via USBC and comms is ok?

For IO.Box, if it fails to connect, it should be able to connect if you reset the device power. I experience this as well but resets usually work.

Here’s a typical startup via usbc…
Ñ

+EVT:System start…
+EVT:Model Name=RAK2470
SensorHub User_APP_setup
+EVT:ADD_PROBE:1
TX on freq 916400000 Hz at DR 2
+EVT:LORA_ERR:0
TX on freq 917400000 Hz at DR 2
+EVT:LORA_ERR:0
TX on freq 919000000 Hz at DR 2
+EVT:LORA_ERR:0

Looks pretty normal, but IO.Box still won’t connect automatically or manually with port selected and device selected. I have tried repowering the device many times to no avail. Interestingly it does show the strings coming through if I select “unknown” as the device.

I also found another tx/rx interface device, and the data looked good, but still won’t connect via IO.Box. Exactly the same problem as the usbc connection.

Another observation, whether via usbc or serial connection via tx/rx, request AT+VER=? produce no result, it seems unresponsive to any send request.

Getting weirder, tried one of my other devices via usbc, works perfectly!