-
Hello, Then I switched to another AI Deck (referred to as Deck B) and a different debugger (ARM-USB-TINY-H). Using this new setup, I managed to flash the bootloader on Deck B successfully. However, I still couldn't update the firmware via cfloader. Below are the detailed steps and results of my attempts: Steps to Reproduce:
However, the process got stuck: I reconnected the battery and the cable to the computer, and then ran the following command, as shown below: Tried the same process with Deck B: While it appeared successful, the next step got stuck again: Setup Details: OpenOCD Version: Summary of the Issue: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Additionally, I want to attach two videos for reference: the first shows the hardware while flashing the bootloader using the debugger, and the second shows the hardware while wirelessly flashing via cfloader. 1.mp42.mp4 |
Beta Was this translation helpful? Give feedback.
-
Thank you for your post, and I’m sorry to hear you’re having trouble flashing the AI deck. For future posts, please take a moment to fix the formatting, as some images and a video were not showing, and text was incorrectly highlighted as code or vice versa. Regarding your issue. It seems the bootloader flashing was successful on "deck B." Can you verify whether the ESP32 was flashed during the firmware update with the client? After updating the NRF and STM32, the drone should detect the decks, restart, and then flash the ESP32, which can take some time. I’m not sure what you’re attempting with the OpenOCD commands on "deck A." Have you retried flashing the bootloader using the Olimex debugger on that deck? Ensure everything is properly powered during this process. If you’re still encountering issues, consider turning the system off for a few minutes. Residual electrical charge in the capacitors can sometimes interfere with the proper initialization of the GAP8. |
Beta Was this translation helpful? Give feedback.
Sorry to hear it is still freezing. It freezes at different points because buffers are filling up. If you flash a smaller image, a larger percentage of the image fits into these buffers, hence the difference in percentage where it freezes.
Can you make sure the battery is fully charged. And keep the resistor attached. Then run through all the steps of the "Preparing the AI-deck and Crazyflie firmware" section of the getting started guide (again). So updating the CF and AI-deck through the client, flashing the GAP8 bootloader, and finally flashing the WiFi example.