Open kklemens opened 5 years ago
Looks like there are new Windows USB Drivers which need to be installed. New Mission Planner beta has them I beleieve. QGC does not yet have them. I'll fix that.
If you have those already installed can you turn on logging for LinkManagerVerboseLog (https://docs.qgroundcontrol.com/en/SettingsView/console_logging.html). And then attach the output for connecting to the board here.
Nope, this is just busted. Hopefully fixed in pull.
@kklemens Can you try tomorrow's daily buils and let me know how it works.
Will do! I'll get you a report of everything I run through.
@DonLakeFlyer Tried the most recent build for today and no luck. No autoconnect with a pre-loaded ChibiOS firmware and unable to load a new firmware. Screenshot attached when I tried. Also, log from the console: Console Log with Slim Cube 3-29-19.txt
The screenshot is from flashing the bootloader not firmware flashing. That error means that the firmware you are running doesn't support the command to flash the bootloader.
@tridge How come this board is not showing up with correct USB information:
[D] at C:\projects\qgroundcontrol\src\comm\LinkManager.cc:523 - "portName: "COM7""
[D] at C:\projects\qgroundcontrol\src\comm\LinkManager.cc:524 - "systemLocation: "\\\\.\\COM7""
[D] at C:\projects\qgroundcontrol\src\comm\LinkManager.cc:525 - "description: "USB Serial Device""
[D] at C:\projects\qgroundcontrol\src\comm\LinkManager.cc:526 - "manufacturer: "Microsoft""
[D] at C:\projects\qgroundcontrol\src\comm\LinkManager.cc:527 - "serialNumber: "270054000751383034343237""
[D] at C:\projects\qgroundcontrol\src\comm\LinkManager.cc:528 - "vendorIdentifier: 11694"
[D] at C:\projects\qgroundcontrol\src\comm\LinkManager.cc:529 - "productIdentifier: 4117"
I string match on Manufacturer as a fallback but it is not showing up as "Hex/ProfiCNC"
@kklemens Can you try tomorrow's daily build and see how it works?
Thanks Don! I'm out of the office for the next week, but I'll give it a try when I get back.
@DonLakeFlyer Connection Success! It worked with the latest Plane v3.9.7. I wiped the board and installed the firmware from QGC. It seems to work with the only error being "Check BRD_TYPE: Unable to detect board". In checking the BRD_TYPE it sets the parameter to AUTO.
I also installed the latest MP .msi so that may have had the drivers too.
@kklemens Thanks for letting me know. I'll take a look at that BRD_TYPE thing.
@kklemens When you flash the Purple Cube, in the status text for the flashing in the ui. Can you tell me what firmware file it is lading? It should be listed there. Want to make sure it flashed the Purple specific firmware.
Nope. That is the generic FMU V3 firmware as opposed to the specific Purple firmware. This still isn't working correctly.
Just bought a batch of Purple Cubes - unable to install PX4 firmware on nearly all of them. Here's where I am at:
I have one Purple Cube that does work - QGC reports firmware as 'Unknown' (bit it's in HTL mode).
- QGC warns of device not responding.
Where are you getting this warning?
Also follow the instructions here: https://docs.qgroundcontrol.com/en/SettingsView/console_logging.html and turn on LinkManagerVerboseLog and attach/link the output.
Expected Behavior
Purple Cube should autoconnect to QGC without having to manually connect through the connection manager.
Current Behavior
Purple Cube is not autoconnecting to v3.5.0 or latest Daily builds of QGC. Can only connect by going into Comm Links -> Add -> Serial -> Connect.
Steps to Reproduce:
Please provide an unambiguous set of steps to reproduce the current behavior
System Information
Detailed Description
N/A
Log Files and Screenshots
https://discuss.cubepilot.org/t/autoconnect-issue-with-cube-mini-purple/181/9