FTDI to flash LPS node firmware and to configure

All discussions related to the Loco Positioning system
Post Reply
chilli65
Beginner
Posts: 10
Joined: Sat Oct 21, 2017 11:44 pm

FTDI to flash LPS node firmware and to configure

Post by chilli65 »

The USB port on the LPS node came off. Is it possible to flash or configure the lps node using FTDI? If yes, how?
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: FTDI to flash LPS node firmware and to configure

Post by tobias »

Yes it is possible but will require a bit of hacking. The ST UART bootloader is available on the FTDI debug port so by using this it should be possible to flash it. I have not tried this my self but don't see a reson why it shouldn't work. A quick search and I found this video showing how someone did it on a similar STM32 device. To activate the bootloader hold the DFU button while powering the node (or resetting it).

Then to activate the FTDI debug port so you can use it to configure the node you need to build the firmware with the makefile line

Code: Select all

# CFLAGS += -DUSE_FTDI_UART
uncommented.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: FTDI to flash LPS node firmware and to configure

Post by tobias »

I did a quick test building the FW with the USE_FTDI_UART line and found out that it fails. If you would like to try this path a can try to fix it and push a version that works with the FTDI debug port?
Post Reply