Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


qrp_labs_qcx_firmware

QRP Labs - QCX firmware upgrade with Raspberry Pi

2019-06-02 - Using a Raspberry Pi as AVR programmer. I connected it with power on the QCX, did not use the 5V supply from the Raspberry Pi.

Requirements

  • Raspberry Pi (I used a model B+ V1.2 board from 2014).
  • 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.txt · Last modified: 2019/06/05 20:32 by admin