[SOLVED] Startup Problems (flashing anchor firmware and anchors not recognized)

All discussions related to the Loco Positioning system
Post Reply
swarmsofswarms
Beginner
Posts: 6
Joined: Wed Jul 17, 2019 6:11 pm

[SOLVED] Startup Problems (flashing anchor firmware and anchors not recognized)

Post by swarmsofswarms » Wed Aug 14, 2019 9:03 pm

I have tried to follow the Getting Started guide for the LPS and cannot get the Crazyflie to recognize any of the anchors.

One possible issue is flashing the latest firmware. I use the LPS configuration tool on Linux, and when I click the Update button, it becomes greyed out, but I don't see the progress bar do anything. It then tells me to update the ID/mode.

I've tried setting parameters through the cmd line, which seemed to work a little better, but no matter what, when I open the client and go to the loco tab, all of the anchor IDs show up as red boxes. I get no communication with them.

Can anyone give me advice? Thank you.
Attachments
after.png
after clicking Update
before.png
before clicking Update
Last edited by swarmsofswarms on Wed Sep 11, 2019 5:41 pm, edited 1 time in total.



arnaud
Bitcraze
Posts: 2041
Joined: Tue Feb 06, 2007 12:36 pm

Re: Startup Problems (flashing anchor firmware and anchors not recognized)

Post by arnaud » Thu Aug 15, 2019 9:19 am

This could be caused by the tool not having access to the USB bootloader. The easiest way to test that is to run the tool as root with "sudo" an see if you can upgrade the nodes that way.

swarmsofswarms
Beginner
Posts: 6
Joined: Wed Jul 17, 2019 6:11 pm

Re: Startup Problems (flashing anchor firmware and anchors not recognized)

Post by swarmsofswarms » Thu Aug 15, 2019 7:41 pm

Unfortunately that did not solve the problem.

When I don't use "sudo," the tool doesn't even recognize a an anchor in DFU mode. When I do use "sudo," I get the behavior of the original post, where the button is clickable, but then gets greyed out and the progress bar never moves from 0%. I get similar behavior when trying to use the Windows tool. It's the same for multiple anchors, and I've tried two different loco decks that couldn't recognize any anchors.

Any other ideas on what could be wrong?

tobias
Bitcraze
Posts: 1885
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Startup Problems (flashing anchor firmware and anchors not recognized)

Post by tobias » Mon Aug 19, 2019 11:59 am

Hmmm. Maybe it is worth trying the ST DFU tools, after all when booting to the DFU mode it is the build in DFU bootloader we use.

swarmsofswarms
Beginner
Posts: 6
Joined: Wed Jul 17, 2019 6:11 pm

Re: Startup Problems (flashing anchor firmware and anchors not recognized)

Post by swarmsofswarms » Sat Sep 07, 2019 12:30 am

This appears to be working. Just to check, do I select "Target ID 00, Internal Flash, 64 Sectors"?

Post Reply