Flashing with J-Link: nine steps, nine screenshots
J-Link is for the cases the configurator cannot help with: a board that never had a bootloader, a board that will not connect over USB, or one you bricked and want back. Day-to-day firmware updates do not need it.
J-Link writes the bootloader. One board needs it once. Everything after that happens in the configurator.
What you need
- A J-Link probe — a J-Link OB works too.
- Four jumper wires.
- J-Flash on the computer. It ships with the J-Link driver; this walkthrough uses V7.98a.
- The bootloader hex for your board, from the Bootloader section of the Downloads page.
| J-Link pin 1 (VTref) | 3V3 on the board |
| J-Link pin 4 (GND) | GND on the board |
| J-Link pin 7 (SWDIO) | SWDIO on the board |
| J-Link pin 9 (SWCLK) | SWCLK on the board |
Nine steps
The red numbers inside the screenshots come from the original guide and do not line up with the steps below — work down the list in order.
1. Start a new project
Open J-Flash. In the Welcome window pick Create new project, then press Start J-Flash.

2. Pick the chip
In Create New Project press the … button next to Target device. Leave the interface on SWD and the speed at 4000 kHz.

3. Search for the device
In Target Device Settings type the chip part number — PY32F030K8 in this example — and select the matching row. Press OK.

Other boards work the same way. MM32SPIN080C is shown here: the list also contains MM32SPIN080CR, so match the marking on your board instead of picking the first row.

The wrong chip either refuses to connect or flashes and then refuses to boot. The chip for each board is listed in “Board and file naming”.
4. Confirm the flash bank
Back in the project window, Flash banks should now list Flash_64K at 0x08000000. Keep it ticked and press OK.

5. Open the hex file
File > Open data file, or Ctrl+O. Dropping the file onto the window works too.

6. Choose the bootloader
Pick the bootloader .hex. The name carries the board and the version, for example Digi32_MD320_BOOTLOADER_PA5_V19.hex — not the application firmware.

7. Check it loaded
The main window now shows data starting at 0x08000000, and Project information lists the target MCU. An empty window means the file did not load.

8. Connect to the board
Target > Connect. The log has to say Connect to target — that is the proof the wiring is right.

9. Program
Target > Production Programming, or F7. When the progress bar finishes, the log reports Programmed & verified.
After flashing
- Power off, wait two seconds, power back on.
- Open the configurator and connect. If it reads settings, the bootloader is running.
- If J-Link connects but the configurator does not, flash the bootloader again — the jump out of boot mode did not take.
If Connect fails
- 3V3 and GND are the usual culprits — check them first.
- SWDIO and SWCLK swapped also fails to connect; try swapping them.
- Drop the speed from 4000 kHz to 1000 kHz.
- Power the board separately. The J-Link 3V3 pin is a reference level, not a supply for the whole board.
- Still nothing: hold BOOT while powering up to enter boot mode, then connect again.