Page 1 of 1

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

Posted: Wed Aug 14, 2019 9:03 pm
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.

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

Posted: Thu Aug 15, 2019 9:19 am
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.

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

Posted: Thu Aug 15, 2019 7:41 pm
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?

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

Posted: Mon Aug 19, 2019 11:59 am
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.

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

Posted: Sat Sep 07, 2019 12:30 am
by swarmsofswarms
This appears to be working. Just to check, do I select "Target ID 00, Internal Flash, 64 Sectors"?