Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


qrp_labs_qcx_firmware

This is an old revision of the document!


QRP Labs - QCX firmware upgrade with Raspberry Pi

2019-10-12 - Using a Raspberry Pi as AVR programmer.

Requirements

  • Raspberry Pi (I used a 3 model B+ board from 2017).
  • Raspbian (based on Debian Buster)
  • Built and working QCX tranceiver. Website: http://qrp-labs.com/qcx.html
  • Jumper wires.

Configure raspbian

  • Enable spi
    dtparam=spi=on
  • Install avrdude:
    sudo apt install avrdude

Wiring

============
Raspberry Pi
============
BCM 9  (MISO)
BCM 10 (MOSI)
BCM 11 (SCLK)
BCM 25 (RESET)
Ground 


============
QCX
============

(left board edge)
      | V -
      | V +
      |
  GND | o o RESET
 MOSI | o o SCK
   5V | o o MISO

programming

  • Check connection:
    sudo avrdude -p atmega328 -c linuxspi -P /dev/spidev0.0 -v -b19200
  • Program latest firmware:
    sudo avrdude -p atmega328 -c linuxspi -P /dev/spidev0.0 -v -b19200 -U flash:w:T1.00g.hex
qrp_labs_qcx_firmware.1570876183.txt.gz · Last modified: 2019/10/12 10:29 by admin