Skip to content

KXUSBC2 Programmer

This is a browser-based programming tool for the ATtiny3226 microcontroller on the KXUSBC2. It allows updating the firmware, and changing the EEPROM configuration.

Use it now

You can access this programmer directly in your browser, without downloading or building anything: Open the KXUSBC2 Programmer

This programmer is based on the more generic WebUPDI.

Screenshot

Prerequisites

  • KXUSBC2
  • Simple "serial UPDI" programmer (see below)
  • Browser that supports the Web Serial API (Chrome, Edge, Opera)

Simple UPDI programmer hardware

The hardware for a UPDI programmer can be very simple and cheap: a USB-to-Serial adapter with TTL levels (3.3 or 5 V depending on the circuit that the AVR is being used in) and a 1k resistor is all that it takes. See for example here:

Development

Setup

npm install

Development Server

npm run dev
This starts a local development server at http://localhost:3000 with hot module reloading.

Build for Production

npm run build
This generates an optimized production build in the dist/ directory that can be deployed to a web server.

Preview Production Build

npm run preview
This starts a local server to preview the production build.