How can i update node without micro-b-usb pin?

All discussions related to the Loco Positioning system
Post Reply
cmh0818
Beginner
Posts: 7
Joined: Thu Apr 01, 2021 1:25 pm

How can i update node without micro-b-usb pin?

Post by cmh0818 »

Hi there.
I have a problem with LPS node.
we can't update LPS node because node micro usb pin was broken.
we can power that up with other pin. but connecting that to PC is impossible now.
Is there any other way to connect node to PC?
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: How can i update node without micro-b-usb pin?

Post by marcus »

Hi!

If the USB is broken there's two options for upgrading the firmware, either via a USB-to-serial adapter or via SWD (debugger).

If you would like to use SWD you need an SWD compatible debug adapter that works with openOCD (like the ST Link V2) and our debug adapter kit to get the correct connector. The SWD connector is P1 on the schematic and once you have it wired up you will have to use a command line to flash new firmware (this will not work with the graphical UI for updating).

If you would like to use a USB-to-serial converter I would recommend a FTDI cable (note you need the 3V3 signal version, not the 5V signal version). The connector P3 is made for the connector on the FTDI cable. Note that this will not work with the UI utility for updating, you will have to use the DFU utils from command line. Also note that there's no protection for using the cable in the wrong direction, so make sure you connecting in the right way (pin 1 is marked on the PCB silk screen).

LPS node schematic
cmh0818
Beginner
Posts: 7
Joined: Thu Apr 01, 2021 1:25 pm

Re: How can i update node without micro-b-usb pin?

Post by cmh0818 »

Thx for your help :)
and sorry i didn't post what i really want clearly.

I just want to change their(LPS nodes) Address and Mode.
you know, we can do that easily with LPS configuration tool.
Or if i connect node to arudino IDE than i can change their Address and mode.
like this.
Image

and as you said, i can't use that UI tool right?
But I want to do some easy way.
Is there any thing to do that?
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: How can i update node without micro-b-usb pin?

Post by tobias »

Do you have access to a FTDI 3.3v cable? It is possible to re-route the com port to this port instead but it requires rebuilding the FW with this enabled.
Post Reply