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

All discussions related to the Loco Positioning system
Post Reply
Eranga
Beginner
Posts: 8
Joined: Wed Jul 10, 2019 3:16 am

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

Post by Eranga » Wed Jul 10, 2019 5:16 am

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
Last edited by Eranga on Thu Jul 11, 2019 5:03 am, edited 2 times in total.



droneEnthusiast123
Beginner
Posts: 10
Joined: Wed Jun 20, 2018 10:24 pm

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

Post by droneEnthusiast123 » Wed Jul 10, 2019 5:44 pm

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

Post Reply