Wellys Dev

  • Home
  • Search/Topics
  • Writings
  • About
  • 2021-03-24
    Analyzing Circuits Using the Espotek Labrador: Software Bug

    How to resolve a possible software bug on the Labrador.

    Update August 1, 2021

    I’ve noticed that the “Paused” check box appears to “delete the buffer and force a reload”. For example, I might see some clipping on a sine wave and if I check/uncheck Paused, the wave will appear accurately. This would help explain why “checking and unchecking Paused” can fix a multitude of sins. Therefore my new advice is, if your results aren’t what you expect, do the following:

  • 2021-03-23
    Analyzing Circuits Using the Espotek Labrador: Installation and Calibration

    How to install the software then perform a hardware calibration.

    The video assumes you have installed the Labrador application and wish to better understand how to do a calibration. It also shows how to solve a multimeter software bug.

  • 2021-03-22
    Analyzing Circuits Using the Espotek Labrador: Introduction

    A brief introduction of the Espotek Labrador.

    Description

    This entry begins a series of entries discussing the Espotek Labrador. It is a fantastic small device that enables one to analyze electronic circuits.

    https://espotek.com/labrador/

    From that page is this description:

    Labrador is an all-in-one tool for electronics students, makers and hobbyists. Just plug your Labrador board into a PC (Windows/Mac/Linux), Raspberry Pi or Android device via a MicroUSB cable, load up the software and you instantly have the following engineering tools at your disposal:

  • 2021-03-21
    Why Forth?

    As I got back into Forth after about 35 years of other languages, programs and technical stuff, I’ve been asked, Why Forth?

    The most personal reason is that I’ve had a life-long passion for the language and kept a bookshelf full of Forth books for over 40 years. However, once I began to use it again, I realized its perfect for embedded processors. I’m surprised how well it works with today’s microcontrollers. And how relatively easy it is to find a port of Forth for many popular microcontrollers. I still think its a good question to ask, so I start this blog with the question:

  • 2021-03-20
    Arduino Resources

    Here are links to Arduino information, primarily for the Uno and the AVR ATmega328P.

    The content on this site is intended to inspire, teach or to simply help with specific topics or concepts using the Arduino Uno. This links on this page are additional resources for a more formal learning as to Arduino framework and the Atmega328P.

    Must have software for Arduino programming

    Arduino IDE

    Its always helpful to have the Arduino IDE, as one can quickly test a board or run a C++ routine to determine if they are doing the right thing in Forth (yes, this is cheating)

  • 2021-03-20
    ESP32 Resources

    Here are links to ESP32 information, primarily for espForth.

    Must have Documents required for ESP32 programming

    • Arduino core for the ESP32
    • ESP-IDF Programming Guide

    ESP32 Information

    • Definitive Site on ESP32
    • ESP32 Tutorial
    • Espressif ESP32 Documentation

    ESP32 Boards

    • ESP32 Feather

    Interesting ESP32 Projects

    • ESP32 Oscilloscope
  • 2021-03-20
    Forth Resources

    Here are links to Forth tutorials, books or products.

    The content on this site is intended to inspire, teach or to simply help with specific topics or concepts in Forth. This page provides a list of resources for a more formal learning as to Forth. Many of the people that have created the content below have been writing or teaching Forth for many years, they are the experts.

    Forth Tutorials

    • CH Ting’s great site for learning Forth, multiple tutorials
    • A Beginner’s Guide to Forth, Noble J.V.
    • Phenomenal tutorial site on FlashForth
    • Gforth Manual
    • Easy Forth
    • Forth in 7 easy steps • JeeLabs
    • Forth: The Hacker’s Language | Hackaday
    • Moving Forth With Mecrisp-stellaris And Embello | Hackaday
    • A Good evaluation of Forth Implementations

    Forth Books

    • Definitive beginners book on Forth: Starting Forth
    • Follow on to Starting Forth: Thinking Forth
    • Detailed modern book on Forth from MPE

    Forth Implementations

    • FlashForth
    • Mecrisp - Native code Forth for MSP430 and ARM Cortex
    • muforth: a simple ITC Forth

    Forth Boards

    • Microchip PIC24 board preprogrammed with FlashForth

    Forth Organizations

    • Original Forth Organization
  • 2021-03-20
    gdb Resources

    All of the resources found related to gdb (particularly, related to the RP2040) and how to use it.

    GNU gdb documentation

    • GDB: The GNU Project Debugger
    • Online User Manual: Debugging with GDB
    • PDF User Manual: Debugging with GDB

    gdb Tutorials

    • Guide to Faster, Less Frustrating Debugging
    • CSE 351: GDB (Gnu DeBugger)
    • Quick Guide to gdb: The GNU Debugger
    • Beej’s Quick Guide to GDB
    • gdb Debugger Tutorial
    • gdb Tutorial Site
    • Hackaday: LOCAL AND REMOTE DEBUGGING WITH GDB
    • Hackaday: BEGINNER’S LOOK AT ON-CHIP DEBUGGING
    • 8 gdb tricks you should know
    • Debugging Firmware with GDB
    • GDB — Basics
    • 10 Things You Can Only Do With gdb
    • GDB Tutorial: Some Cool Tips to Debug C/C++ Code
    • Advanced GDB Usage

    Cheat Sheets

    • YoLinux: GNU GDB Debugger Command Cheat Sheet

    Tools to enhance gdb

    • gdb-dashboard
    • pyrsp: simple wrapper around the GDB Remote serial protocol
    • gdbundle - GDB and LLDB’s Missing Plugin
    • Visual debugging using gdbgui

    AVR gdb

    • AVR-GDB Tutorial
    • avr-gdb Notes
    • man avarice

    AVR gdb Notes

    1. Check the version number on avr-gdb as of December 2021, it is 11.1. On Ubuntu, the latest version is 8.1 from 2018 which had quite a few bugs. Attempted to build it manually (which failed), so I spun up a Manjaro (Arch Linux) instance to get the latest. Crazy, I know.
    2. Start avarice in a separate window using, then launch gdb in another window:
      avarice -g -w -d -P atmega328p :3333 	# window 1
      avr-gdb -tui							# window 2
    3. If avarice crashes on startup, cycle power on both the debugger (Dragon) and the target (Uno)

    Pico (RP2040) gdb

    • Debugging the BBC micro:bit with pyOCD and GDB
    • Raspberry Pico: Simple Debugging with just one Device
    • Pico-debug
    • PicoReg: real-time diagnostics for the Pi Pico using SWD
  • 2021-03-04
    Developing in C on the AVR ATmega328P

    Introduction

    While the Arduino tool set, (both the Arduino IDE and Arduino software framework) are outstanding for quickly developing a working prototype, they do so with a combination of a graphical-user-interface (GUI), the C++ language and Arduino-only classes. This in itself, isn’t a problem, one can be quite efficient and productive using this approach.

    This approach is an issue if you are at a university or job which expects a standards-based C language proficiency. It is also an issue, if your class or job, requires understanding how to use command-line-interface (CLI)-based tools. The C language, and not C++, is the basis of a significant number of embedded systems development.

  • 2021-03-01
    C: Developing in C on the RP2040

    A set of entries which comprise a course for learning how develop C programs for the RP2040.

    Entries

    1. Developing in C on the RP2040: Read First
    2. Developing in C on the RP2040: Linux
    3. Developing in C on the RP2040: macOS
    4. Developing in C on the RP2040: Windows
    5. Developing in C on the RP2040: Using gdb - Setup
    6. Developing in C on the RP2040: Using gdb - Hints
    7. Developing in C on the RP2040: New Project
    8. Developing in C on the RP2040: Using gdb - Deep Dive
    9. Developing in C on the RP2040: Exploring Blink
Page 14 of 15
Copyright © 2025 Lief Koepsel
  • Home
  • Search/Topics
  • Writings
  • About