<aside> â„šī¸

Until Rugged SOM supports I2C multi-master mode, it will be necessary to ensure that the SwitchBlox Rugged firmware is erased to prevent bus arbitration errors, which can cause the firmware on Rugged SOM to crash.

</aside>

Hardware requirements

By no means an exhaustive list of debuggers but to help get started.

JLink

STLINK

Steps

  1. Connect the debug probe to your host machine. Confirm the debug probe is found by your system.

    1. If using ST-Link probes: On STM32CubeProgrammer, refresh Serial number in STLINK configuration tab to find your probe. Ensure Port=SWD .

      Screenshot 2024-04-12 at 17.55.55.png

      Wire up your ST-Link probe to your TC2030 cable.

    2. If using J-Link probes: Load SEGGER J-Link Configuration (or JLinkConfig) and confirm the appearance of your debug probe

      Screenshot 2024-04-13 at 00.39.28.png

      Connect the 6 pin TC2030 cable with 20 pin adapter directly into the J-Link debug probe.

  2. Plug the 6 pin needle connector to the SWD interface on your board.

    1. On BB-SWR-G-1 and BB-SWR-G-1-PC, this is connector J9 . Please ensure you are powering the board and nothing else is connected to it.

    IMG_1969.jpg

    b. On BB-SWR-F-1 , this is connector J9 . Please ensure you are powering the board and nothing else is connected to it.

    IMG_1970.jpg

  3. Erase flash.

    1. Please ensure the 6 pin needle adapter is making good contact with the J9 connector interface otherwise errors can occur.

    2. If using ST-Link probes: On STM32CubeProgrammer, click Connect and verify the correct target information shown. It may be different per board but you should still get device, type, device ID, revision ID, flash size and processor type.

      Screenshot 2024-04-12 at 22.09.46.png

      Select the icon indicated below to erase the whole flash.

      Screenshot From 2026-01-20 10-03-44.png

    3. If using J-Link probes: In JFlashLite , select the STM32G071KB device with SWD interface.

      Screenshot 2024-04-13 at 00.46.16.png

      Select Erase Chip

      Screenshot 2024-04-13 at 00.47.30.png

  4. The device flash is now erased and you are ready to use it with Rugged SOM.

    1. You can confirm BB-SWR-G-1 and BB-SWR-G-1-PC are both erased as the D6 will be illuminated.

      IMG_1971.jpg