Updated May 28:
Repeated from first post. (Linux) Add TauLabs or dRonin udev rules to allow unprivileged users to access the new Sparky2 USB ID. First post will have a bu_sparky2.opfw attached. Flash this (and run it a few seconds) with your new version LP next or release GCS just before you start using the new version LP code.
The latest Sparky2 code has been changed to have a bootloader that is compatible with the TauLabs bootloader that comes on new Sparky2 boards. This Sparky2 code already merged into next. This means that you do not need to do SBL procedure to get a new Sparky2 board working with LP code. Once this new code is released, you will just flash the LP bootloader updater (bu_sparky2.opfw) using the rescue function of the LP GCS. It is important to run the BU for a few seconds after flashing (just press Boot). After that, use the rescue function of the LP GCS to flash the normal firmware (fw_sparky2.opfw).
For those who already flashed the old, incompatible BL onto their Sparky2 boards, there is a way to avoid doing the SBL procedure again. Don't do this until you have access to the new GCS and firmware.
Do this to avoid doing SBL again on your Sparky2:
- You can uninstall old LP GCS, but it is a good idea to export your settings before you upgrade anything.
- Build or download the new LP sparky2 GCS and firmware (in next right now, soon to be released).
- (Linux) Add new udev rules for the new Sparky2 USB ID (old Sparky2 USB ID was same as Revo).
- Disconnect flight battery power and only use USB for this procedure.
- Leave USB unplugged until instructed to plug it in.
- Use the bu_sparky2.opfw that is attached to this post. It has the new, TL compatible USB IDs.
- Use your new LP GCS. Go to the Firmware tab and press Rescue, then immediately plug Sparky2 into USB.
- After a few seconds, the Open button will appear. Press Open, navigate to and select the bu_sparky2.opfw that you downloaded.
- Ignore the warning about board b01 doesn't match firmware 9201
- Press Flash and wait for the erase and flash to complete.
- When flashing is complete, press Boot to boot the BU. Let it run for 10 seconds.
- Unplug USB from Sparky2.
- Press Rescue again, then immediately plug Sparky2 into USB.
- It should select the correct firmware, or press the Open button, navigate to and select the correct firmware fw_sparky2.opfw
- Press Flash and wait for the erase and flash to complete.
- DONE
- If you can't find fw_sparky2.opfw because you are running the final release, you can do the following:
- Once bu_sparky2.opfw has been flashed and run, you could disconnect USB and then press the Upgrade or Erase-and-Upgrade button (follow the instructions on screen) to install the firmware that comes with the install.