The first start

From the download to the first program on the board, in about 5 minutes.

You download no SDK, no toolchain and no board packages, and you look up neither a COM port nor a board type: Asmonite recognises the board on the USB cable by itself. This page shows the way for all boards, then what is different on each board, and what helps when something sticks.

What you need

For all boards: six steps

  1. Unpack and start Asmonite.exe. No installation. The programs are not signed; if Windows shows "Windows protected your PC", click "More info" and "Run anyway". That happens only at the first start.
  2. Plug in the board. Asmonite recognises it: the Board Manager opens by itself and shows the name of the board and a photo. If Asmonite is in the background, it flashes in the taskbar. The first time, plug in a Pico with its BOOTSEL button held (see below).
  3. Click Prepare Board.... Asmonite writes its console to the flash of the board and creates a file system; on an ESP board it also brings the WiFi package. On the ESP32 this takes about half a minute. Then the Board Manager shows the files on the board.
  4. Examples..., For Every Board, then hello.abel. Asmonite opens the example in the editor and sets Project > Target to your board. aBelle (a Python-like programming language) is the language of the examples; the same program runs on every board.
  5. Press F9. Asmonite compiles the program, puts it into the RAM of the board over the USB cable and starts it; the tab Serial shows "Hello, world!".
  6. Debug: F5 sets a breakpoint on the line with println, F9 starts again: the program stops there, and F8 goes on step by step.

The console stays in the flash: next time you just plug in the board and press F9. What comes next: make the LED blink (blink.abel, set LED_PIN for your board at its top), set up the WiFi (in the Board Manager, right-click the line WiFi), the examples.

What is different on each board

ESP32

  • The ESP32 has no USB port of its own; the board carries a USB serial chip, usually a CP2102 or CH340. Not every Windows brings its driver; if it is missing, see below.
  • Some boards do not go into their download mode by themselves. Then Asmonite asks you during Prepare Board... to hold the BOOT button until it goes on. After that F9 needs the button no more.
  • The debugger works over the console on the board, with nothing more to set up.

The ESP32 →

ESP32-S3, ESP32-C3

  • The USB port goes straight to the chip. If your board has two USB sockets, use the one at the chip (often labelled "USB", the other "UART" or "COM").
  • For breakpoints, once per board: Debug > Debug targets, the board, Set up the USB JTAG. Windows asks for administrator rights once for it. F9 without a breakpoint works without it too.
  • If another firmware uses the USB port itself (an Arduino sketch, MicroPython), the board shows up as another device. Then hold BOOT once, press RST, release BOOT; Asmonite tells you when it finds such a board.

The ESP32-S3 → · The ESP32-C3 →

ESP32-S31

  • The new RISC-V chip of Espressif, with the USB port on the chip as on the ESP32-C3: plug in, Prepare Board..., F9.

The ESP32-S31 →

Raspberry Pi Pico, Pico 2 (also W)

  • The first time: hold the BOOTSEL button, plug in the board, release the button. Windows shows a drive RPI-RP2 (Pico) or RP2350 (Pico 2), and the Board Manager offers Prepare Board.... A new, empty board does not need the button.
  • After that the console, F9 and the debugger work over the board's USB cable: no debug probe, no driver, no button any more.
  • On the Pico W and Pico 2 W, Prepare Board... also puts the firmware of the WiFi chip on the board.

The Pico →

When something sticks

What you seeWhat helps
Windows warns at the startThe programs are not signed: "More info", then "Run anyway".
The board appears nowhereAlmost always the cable: take another one that surely carries data (one a phone sends photos to the PC with). Otherwise another USB socket on the PC, without a hub.
A device with a yellow mark in the Device Manager (ESP32)Windows did not find the driver of the USB serial chip: install the driver from the maker of the chip (Silicon Labs for the CP210x, WCH for the CH340), then plug the board in again.
An ESP32 does not go into its download modeHold BOOT until Asmonite goes on.
"No ESP32-S3 with its USB JTAG ... is plugged in"Use the board's other USB socket (the one at the chip), or Set up the USB JTAG once (see above).
A Pico does not appear in the listPlug it in with BOOTSEL held; if no drive appears then either, it is the cable.
"The Asmonite console does not respond"A program runs that Ctrl+C does not stop: Reset in the Board Manager. Or there is no console in the flash yet: Prepare Board...

More: The Board Manager, when something does not work.

Next

Board Manager

Files and programs on the board, WiFi, clock, autostart and the buttons of each board.

The Board Manager →

Examples

Programs for every board, in aBelle and assembly: from blinking to a web server.

The examples →

aBelle

The language of the examples: written like Python, compiled for the board.

aBelle →