Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Tools & Workshop Skills
  4. ›Programmers and Debug Probes

Buying guide · Intermediate · 3 min read

Programmers and Debug Probes

USBasp, ST-Link, J-Link

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerWhich tool for which chipWiring and voltageDebugging, not just flashingCommon mistakesFAQsParts and next steps
Short answer

A programmer writes firmware into a chip without a bootloader, and a debug probe also lets you pause code, step through it and inspect variables. Use a USBasp or Arduino as ISP for AVR chips such as the ATmega328P. Use an ST-Link or a CMSIS-DAP probe over SWD for STM32, RP2040 and other Arm chips. Always match the target voltage and connect ground first.

Key specs at a glance

USBasp
AVR ISP programmer, 6- or 10-pin header, 3.3/5 V jumper
ST-Link V2
SWD for STM32 (and many Cortex-M via OpenOCD)
CMSIS-DAP / Picoprobe
Open-standard SWD probes; a spare Pico can be one
J-Link
Fast commercial probe supporting most Arm chips
SWD pins
SWDIO, SWCLK, GND, optional 3.3 V sense and NRST
Software
avrdude, STM32CubeProgrammer, OpenOCD, PlatformIO
01

Which tool for which chip

TargetInterfaceTool
ATmega328P, ATtiny85ISP (SPI)USBasp, Arduino as ISP
STM32 Blue Pill, Black PillSWDST-Link V2, CMSIS-DAP
RP2040 / PicoSWD (or UF2 drag-drop)Debug Probe, Picoprobe
ESP32USB serial / JTAGBuilt-in USB on S3 and C3; ESP-Prog for classic
Most Arm Cortex-MSWD / JTAGJ-Link, CMSIS-DAP
ATmega328P, ATtiny85
Interface:
ISP (SPI)
Tool:
USBasp, Arduino as ISP
STM32 Blue Pill, Black Pill
Interface:
SWD
Tool:
ST-Link V2, CMSIS-DAP
RP2040 / Pico
Interface:
SWD (or UF2 drag-drop)
Tool:
Debug Probe, Picoprobe
ESP32
Interface:
USB serial / JTAG
Tool:
Built-in USB on S3 and C3; ESP-Prog for classic
Most Arm Cortex-M
Interface:
SWD / JTAG
Tool:
J-Link, CMSIS-DAP
02

Wiring and voltage

  • ✓ISP: MOSI, MISO, SCK, RESET, VCC and GND. Set the USBasp jumper to the target's voltage, and be aware some cheap units need a firmware update to work with newer avrdude versions.
  • ✓SWD: SWDIO, SWCLK and GND are required. Connect 3.3 V only if you want the probe to power the board, never with another supply also feeding it. NRST helps recover a chip whose firmware disables the debug pins.
  • ✓Keep wires short (under about 20 cm) and lower the clock speed if connection is unreliable.
03

Debugging, not just flashing

With SWD you can set breakpoints, step line by line and watch variables live in VS Code with PlatformIO or STM32CubeIDE, which finds bugs far faster than adding print statements. Many clone ST-Links work for this, though only genuine ST tools are supported for firmware updates. The STM32 Blue Pill is a common first target; see ATmega328P standalone for burning AVR bootloaders.

04

Common mistakes to avoid

  • !Powering the target from the probe and another supply at once.
  • !Wrong USBasp voltage jumper for a 3.3 V target.
  • !Long, loose SWD wires at a high clock speed.
  • !Firmware that reuses SWD pins and locks the probe out (use connect-under-reset).
  • !Forgetting the common ground.
05

Frequently asked questions

What is the difference between a programmer and a debugger?

A programmer only writes firmware; a debugger also lets you pause, step and inspect running code.

Can I program STM32 without an ST-Link?

Yes, with a USB-to-serial adapter and the built-in bootloader, but you lose debugging.

Do I need a programmer for Arduino Uno?

No, it has a USB bootloader. You need one for blank chips or to recover a broken bootloader.

Can a Raspberry Pi Pico be a debug probe?

Yes, with the Debugprobe firmware it becomes a CMSIS-DAP SWD probe.

What is SWD?

Serial Wire Debug, a two-wire programming and debug interface for Arm Cortex-M chips.

Parts for this guide

  • Raspberry Pi Debug Probe
    ₹1,050View
  • MuseLAB WCH-LinkE RISC-V Debugger Programmer – Type-C USB
    ₹809View
  • WeAct Studio Wch.Link.W 2.4G Dual Mode RISC-V ARM Debugger
    ₹639View
Shop Meters & TestersShop Programmers & Adapters

Terms in this guide

SWDSerial Wire Debug: a two-wire (SWDIO and SWCLK) debug and programming interface on Arm Cortex-M microcontrollers such as STM32 and RP2040.BootloaderA small program stored on a microcontroller that lets you upload new code over USB or serial without a dedicated programmer.SPISerial Peripheral Interface: a fast bus with clock, data in, data out and a chip-select line per device.UF2A firmware file format: drag a .uf2 file onto the Pico's USB drive to program it.

Keep learning

Component guideIntermediateSTM32 Blue Pill and Black Pill BoardsThe Blue Pill is a small board with an STM32F103C8 Cortex-M3 at 72 MHz, 64 KB flash and 20 KB RAM.3 min read · Boards & MicrocontrollersHow-toIntermediateATmega328P StandaloneBuild a barebones Arduino from an ATmega328P: pinout, crystal and capacitors, reset pull-up, burning the bootloader with Arduino as ISP, and low power.3 min read · Boards & MicrocontrollersComponent guideBeginnerRaspberry Pi Pico GuideThe Raspberry Pi Pico is a low-cost 3.3 V microcontroller board, not a computer: it runs one program and has no operating system.4 min read · Boards & MicrocontrollersComponent guideIntermediateUSB to TTL Serial AdaptersA USB to TTL adapter turns a computer USB port into a 3.3 V or 5 V serial port, so you can program boards without USB (Pro Mini, ESP-01, ESP32-CAM) or read a debug console.4 min read · Boards & MicrocontrollersHow-toIntermediateLogic AnalyzersA logic analyzer records many digital signals at once and shows them as a timeline, so you can see exactly what a microcontroller sends on I2C, SPI or UART.3 min read · Tools & Workshop Skills

Sources

  • Arm CoreSight SWD documentation
  • STMicroelectronics ST-LINK/V2 user manual
  • avrdude documentation
  • Raspberry Pi Debug Probe documentation

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhich tool for which chipWiring and voltageDebugging, not just flashingCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide3 items · ₹2,498

Raspberry Pi Debug Probe · MuseLAB WCH-LinkE RISC-V Debugger Programmer – Type-C USB · WeAct Studio Wch.Link.W 2.4G Dual Mode RISC-V ARM Debugger

Ask the Community

Ask a question