Page 1 of 1

USB flashing of an amended uwb_tdoa_anchor3.c code in the src folder to the LPS sensor?

Posted: Wed Jul 10, 2019 5:16 am
by Eranga
Hi,

I want to amend the source code in "https://github.com/bitcraze/lps-node-fi ... _anchor3.c" and flash it to the loco positioning node and use the node in the TDOA3 mode.

In the building and flashing instructions page of the loco positioning system (https://wiki.bitcraze.io/projects:lps:n ... d_flashing), I got stuck in the flashing step.

Should I type “make dfu” in the terminal after amending the firmware code as mentioned in “https://wiki.bitcraze.io/projects:lps:n ... d_flashing”?. shouldn’t I link my ".dfu" file, which is generated by my new code when using the “make” command?

Actually, I don’t know how to use this “make dfu” to flash my amended firmware code since this is the first time I am trying it, please excuse me on that. I didn’t find any clue on any web page even.

I am going to do this in both Windows and Linux.

I am glad if you could help me on flashing my amended firmware code(which is in my PC) to the LPS sensor via the USB port.

Thank you in advance…

Eranga

Re: USB flashing of an amended firmware code to the LPS sensor

Posted: Wed Jul 10, 2019 5:44 pm
by droneEnthusiast123
Hi,

I beleive what happens is that you run "make" in the terminal to build the project and create the latest .dfu file. Then when the lps beacon is in dfu mode (hold down button furthest from usb port while plugging it into your computer), you can either use the lps-tools client or run "make dfu" in the terminal to flash it