unleashed-firmware/documentation/devboard/Devboard debug modes.md
Ruslan Nadyrshin 421bd3e1f9
Wi-Fi Devboard documentation rework (#3944)
* New step-by-step documentation structure for Wi-Fi Devboard
* Added a description of working under Windows
* Added a description of switching Devboard operation mode (Black Magic, DAPLink)
* The images for the documentation are uploaded to the CDN
* The text in the sidebar, near the dolphin logo, changed from blue to black/white

Co-authored-by: knrn64 <25254561+knrn64@users.noreply.github.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-10-14 14:47:12 +01:00

1.6 KiB

Devboard debug modes

The Wi-Fi Devboard for Flipper Zero supports Black Magic and DAPLink debug modes, and you can switch between them depending on your needs. Note that available modes depend on connection:

  • Wi-Fi: Only Black Magic mode is available.
  • USB: Switch between Black Magic (default) and DAPLink. Learn more about switching debug modes for USB connection below.

Note

Black Magic mode doesn't support RTOS threads, but you can still perform other debugging operations.


Switching debug modes for USB connection

Switching debug modes for working via USB has to be done wirelessly (yes, you read that correctly). Additionally, depending on how the Devboard wireless connection is configured, you may need to follow different steps for Wi-Fi access point mode or Wi-Fi client mode:

  1. If the Devboard isn't connected to your Flipper Zero, turn off your Flipper Zero and connect the Developer Board, then turn the device back on.

  2. Access the Devboard's web interface:

  3. In the WiFi tab, click the USB mode option and select BlackMagicProbe or DapLink.

  4. Click SAVE, then click REBOOT to apply the changes.

\image html https://cdn.flipperzero.one/Flipper_Zero_WiFi_devboard_switching_modes_CDN.jpg width=700

Note

After switching debug modes on your Devboard, remember to select the same debugger in VS Code in the Run and Debug tab, and click the ▷ Start Debugging button.