QRPLabs QCX 5W CW single band transceiver

QRPLabs QCX 5W CW Single band transceiver

Another Arduino basd project, well not quite. The Arduino Uno is a microcontroller board based on the ATmega328P. This kit from QRPLabs also uses the ATmega328P. The software is not open source. Updates are provided as hex files.

This kit is extremely well documented. It is worth buying and assembling just for the documentation.

The assembly instructions are very clear and contain operation theory and alignment process.

Once assembled the device would not start. According to the excellent troubleshooting doc the processor had not been reset.

I had performed the modification for reliable microcontroller startup (repurposing inductor L5) during assembly so turned to the troubleshooting manual for direction. First was to go back and  check components then touched up the soldering around the processor and crystal and she started Ok.

QCXBuild

Next was to follow the assembly manual and align / tune then update the firmware. Again wth the excellent instructions there were no issue here.

Update Firmware from Mac;

I’m going to update the firmware from Mac using avrdude.

Purchased a USBAsp AVR programmer locally. It has a 10pin connector so get a 10 to 6 to match the ISP interface on the QCX or use dupont connectors like I did.

There are instructions on the QRPLabs site for win process for using  but No I want to use my Mac. Again Google is your friend. Given allready have XCode installed, I decided to just install avrdude and use the command line.

Install avrdude on Mac OSX.

Process is straight forward.

Open a terminal session and install Homebrew;

ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” < /dev/null 2> /dev/null

Then install avrdude;

brew install avrdude

So the software is installed.

First Plug in the USBASP and verify the computer can see it (About->System Report) then check avrdude can see the QCX;

Allens-Air:QRPLabs allen$ avrdude -c usbasp -p atmega328p
avrdude: warning: cannot set sck period. please check for usbasp firmware update.avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: safemode: Fuses OK (E:FC, H:D1, L:F7)
avrdude done.  Thank you.

Noting the warning message. A quick Google revealed this is not an issue and there is a parameter you can pass to avrdude to skip skip the check so not worried, Ok then lets flash the device;

Allens-Air:QRPLabs allen$ avrdude  -c usbasp -p ATmega328P -U flash:w:T1.00f.hex
avrdude: warning: cannot set sck period. please check for usbasp firmware update.avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f (probably m328p)avrdude: NOTE: “flash” memory has been specified, an erase cycle will be performed         To disable this feature, specify the -D option.avrdude: erasing chipavrdude: warning: cannot set sck period. please check for usbasp firmware update.avrdude: reading input file “T1.00f.hex”avrdude: input file T1.00f.hex auto detected as Intel Hexavrdude: writing flash (32076 bytes):
Writing | ################################################## | 100% 21.78s
avrdude: 32076 bytes of flash writtenavrdude: verifying flash memory against T1.00f.hex:avrdude: load data flash data from input file T1.00f.hex:avrdude: input file T1.00f.hex auto detected as Intel Hexavrdude: input file T1.00f.hex contains 32076 bytesavrdude: reading on-chip flash data:
Reading | ################################################## | 100% 16.32s
avrdude: verifying …avrdude: 32076 bytes of flash verified
avrdude: safemode: Fuses OK (E:FC, H:D1, L:F7)
avrdude done.  Thank you.

thats it done  ! Now running version 1.00f. 

From here I intend to go through the troubleshooting instructions with my new oscilloscope and explore the device.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: