Introduction
The M5Stack Cardputer ADV brings serious capability to a pocket-sized form factor, packing a full physical keyboard, ESP32-S3 wireless processing, and expandable I/O into a single portable device. However, moving from unboxing to running custom code or flashing firmware can feel overwhelming when confronted with multiple toolchains, USB driver requirements, and flashing utilities.
This guide cuts through the setup clutter. Whether you are loading pre-compiled binary payloads (.bin) or preparing your development workspace, follow these straightforward steps to get your Cardputer ADV flashed, configured, and ready for your next project.
Basic Setup & Wi-Fi Configuration
- When you first open up the Cardputer ADV, the screen should display a connect unit option.
From here, if you hold the top left esc button you will be able to reach the options menu.
- The settings should match the provided examples for the most part but some are optional such as Sound, Battery Indicator, Large Text, and Idle Sleep Display. The other available options should be set as Programmer: SWD and Update on Boot: ON. The last option that can be changed will be what mode the Cardputer is in. The mode currently displayed is Production mode, which is the easiest to use and most practical when out in the field.
- The other modes available are Technician and Advanced. These modes have more to offer and offer more advanced settings.
- Now switch the mode from Production into Technician mode and turn the Cardputer off and back on to display the new screen.
This screen has a couple more options to choose from being the WiFi Setup, Flash Tool, and Options menu.
- The WiFi Setup lists available WiFi networks nearby, Rescan Networks, Disconnect Wi-Fi and Clear All Passwords options.
- The WiFi setup option is pretty straightforward, this allows you to connect to WiFi and install the latest firmware available. This is not required when out in the field but it is important to check for updates regularly. The Options menu is the same one as seen above.
- The Flash Tool has 3 different options being Update Firmware, Flash Gen 1 Firmware, and Flash Gen 2 Firmware. The Update Firmware option updates the latest firmware for both Gen 1 and Gen 2. If the Cardputer is connected to WiFi, it should automatically connect to WiFi and update to the latest firmware. The other 2 options will flash a PCBA Board depending on which Gen firmware you select.
The last available mode to switch to would be the Advanced mode. To switch over to Advanced mode, go back to the Options menu and switch the mode from Technician to Advanced mode. After changing the modes, press the del button in the top right corner of the screen.
- There's multiple options in advanced mode that allow for more complex settings to be changed and applied to PCBA Boards. The main options to focus on are SWD Options, Network Selection, and Program Select. The other options Debug, UART Programmer, and UART Serial Interface will not be utilized as much since the Cardputer uses SWD to program boards.
SWD Options allows the user to Read BOOT0 State and Enable BOOT0 Pin. Think of the BOOT0 pin as the 'ignition key' for flashing. Checking the BOOT0 option turns the key to let the Cardputer write new code into the chip. If you leave it unchecked, the door stays locked, and the target board will ignore the programmer.
- The Network Selection option in Advanced Mode offers the same options as WiFi Setup in Technician mode.
- The Program Select option allows for the user to select which firmware to use for each Gen.
The STM Gen 1 Firmware Options and STM Gen 2 Firmware Options have the 2 latest firmware for each Gen.
- When looking at these options, make sure to select the latest firmware available for each Gen.
- After exploring through the Advanced mode, change the mode back into Production mode or Technician mode depending on preference and the Cardputer ADV is ready to use.
Comments
0 comments
Please sign in to leave a comment.