Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


qrp_labs_qcx_firmware

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
qrp_labs_qcx_firmware [2019/10/12 10:29] adminqrp_labs_qcx_firmware [2019/10/12 13:05] – [programming] admin
Line 1: Line 1:
 =====QRP Labs - QCX firmware upgrade with Raspberry Pi===== =====QRP Labs - QCX firmware upgrade with Raspberry Pi=====
-2019-10-12 - Using a Raspberry Pi as AVR programmer.  
  
-{{:img_1746.jpg?nolink&600|}}+2019-10-12 - Using a Raspberry Pi board as AVR programmer to update the QRP Labs QCX transceiver's firmware. The power draw from the QCX to the RPi seemed a bit too much, so I did not use the RPi 5v output. 
 + 
 +{{::img_2158.jpg?nolink&600|}} 
 + 
 +{{::img_2155.jpg?nolink&600|}}
  
 ====Requirements==== ====Requirements====
   * Raspberry Pi (I used a 3 model B+ board from 2017).   * Raspberry Pi (I used a 3 model B+ board from 2017).
-  * Raspbian (based on Debian Buster) +  * Raspbian (based on Debian Buster). Using ''/boot/ssh'' and ''/boot/wpa_supplicant.conf'' for headless install. 
-  * Built and working QCX tranceiver. Website: [[http://qrp-labs.com/qcx.html]]+  * A built and working QCX tranceiver. Website: [[http://qrp-labs.com/qcx.html]]
   * Jumper wires.   * Jumper wires.
 +  * QCX Firmware [[https://www.qrp-labs.com/qcx/qcxfirmware.html]]. Direct link (2019-10-12): [[http://qrp-labs.com/images/qcx/firmware/T1.01a.hex]]
  
 ====Configure raspbian==== ====Configure raspbian====
  
-  * Enable spi <code>dtparam=spi=on</code>+  * Enable spi in ''/boot/config.txt'' and reboot: <code>dtparam=spi=on</code>
   * Install avrdude:<code>sudo apt install avrdude</code>   * Install avrdude:<code>sudo apt install avrdude</code>
  
Line 18: Line 22:
  
 <code> <code>
-============+
 Raspberry Pi Raspberry Pi
-============ +========================================= 
-BCM 9  (MISO+            (Right board edge) 
-BCM 10 (MOSI) +                   | 
-BCM 11 (SCLK) +               1 oo|2 
-BCM 25 (RESET) +               3 oo|4 
-Ground +               5 oo|6 
 +               7 oo|8 
 +               9 oo|10 
 +              11 oo|12 
 +              13 oo|14 
 +              15 oo|16 
 +              17 oo|18 
 +BCM 10 MOSI - 19 oo|20 
 +BCM  9 MISO - 21 oo|22 BCM 25 RESET 
 +BCM 11 SCLK - 23 oo|24 
 +        GND - 25 oo|26 
 +<snip> 
 + 
  
  
-============ 
 QCX QCX
-============+=========================================
  
 (left board edge) (left board edge)
Line 43: Line 59:
 </code> </code>
  
-====programming====+====Programming====
   * Check connection:<code>sudo avrdude -p atmega328 -c linuxspi -P /dev/spidev0.0 -v -b19200</code>   * Check connection:<code>sudo avrdude -p atmega328 -c linuxspi -P /dev/spidev0.0 -v -b19200</code>
   * Program latest firmware:<code>sudo avrdude -p atmega328 -c linuxspi -P /dev/spidev0.0 -v -b19200 -U flash:w:T1.00g.hex</code>   * Program latest firmware:<code>sudo avrdude -p atmega328 -c linuxspi -P /dev/spidev0.0 -v -b19200 -U flash:w:T1.00g.hex</code>
Line 50: Line 66:
  
  
-{{tag>[hardware qrp labs qcx avr avrdude]}}+{{tag>[hardware qrp labs qcx avr avrdude]}
qrp_labs_qcx_firmware.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1