Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


qrp_labs_qcx_firmware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
qrp_labs_qcx_firmware [2019/06/02 18:58] – [Configure raspbian] adminqrp_labs_qcx_firmware [2020/05/10 10:33] – [Requirements] admin
Line 1: Line 1:
-=====QRP Labs - QCX firmware upgrade===== +=====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.+
  
-{{:img_1746.jpg?nolink&600|}}+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|}} \\ 
 +//Photo of older version firmware.// 
 + 
 +{{::img_2155.jpg?nolink&600|}}
  
 ====Requirements==== ====Requirements====
-  * Raspberry Pi (I used a model B+ V1.2 board from 2014). +  * Raspberry Pi (I used a model B+ board from 2017). 
-  * Built and working QCX tranceiver. Website: [[http://qrp-labs.com/qcx.html]]+  * Raspbian (based on Debian Buster). Using ''/boot/ssh'' and ''/boot/wpa_supplicant.conf'' for headless install. 
 +  * 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]].
 +  * **Connect a dummy load! I did see a unit going into transmit when connected to the RPi, during flashing transmit was off. I haven't investigated how and why this happens.**
  
 ====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 17: Line 24:
  
 <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 42: Line 61:
 </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 atmega328p -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 atmega328p -c linuxspi -P /dev/spidev0.0 -v -b19200 -U flash:w:T1.04.hex</code>
  
  
qrp_labs_qcx_firmware.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1