Beetwise

UART debugger in the browser

Beetwise reads a UART stream and shows each value as a register.

Every bit of the register is visible and selectable.

A change to a register value goes back to the device over the same port.

Worked example

Debug a UART link:

  1. Select Connect, then select the baud rate of the device.
  2. Send the values as name and value pairs, one line for each sample.
  3. Read the bits of each value in the register view.
  4. Select a bit to change it. The tool writes the new value to the port.

Where this is used

A UART defect is often a wrong baud rate or a wrong bit field, not a wrong program.

A bit view shows a wrong field at once, which a decimal log does not.

A write back to the device tests a register without a new build and flash cycle.

Points to note

  • Both sides must use the same baud rate. A wrong rate gives damaged characters.
  • A write to a read-only hardware register has no effect. Check the data sheet.
  • The expression field cannot change a serial register. Use the register view to change it.
  • The tool needs a Chromium browser and an HTTPS page.

The full tool

The full editor holds many values at the same time. It also evaluates expressions across them, and it reads live values from a serial port.

Open the full editor

Questions

Can I write a value back to the device?
Yes. A change of a register value or of a single bit goes to the serial port.
How do I use a serial value in a calculation?
Reference the register as SER0, SER1 and so on in the expression field.
Do I need to install a driver?
No. The Web Serial API works in the browser without an install.