[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 »

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 clicking Update
after clicking Update
before clicking Update
before clicking Update
Last edited by swarmsofswarms on Wed Sep 11, 2019 5:41 pm, edited 1 time in total.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

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

Post by arnaud »

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 »

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: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

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

Post by tobias »

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 »

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