background image

4. Firmware update procedure

The QLG2 module contains a new firmware update procedure for STM32-series 
microcontrollers, called QFU (

Q

RP Labs 

F

irmware 

U

pdate) which provides the following 

features:

Easy

 – anyone can do the firmware update

No additional hardware required:

 only a standard USB A-B cable (or micro-USB 

cable if you have installed a micro-USB connector)

No additional software required:

 just the standard file manager application that is 

already available on any PC

No drivers:

 no special drivers need to be installed, the existing drivers on any 

modern operating system are used

Works on any PC Operating System:

 and in the same way: Windows, Linux, Mac

Secure:

 firmware files are published on the QRP Labs website and are encrypted 

using 256-bit AES encryption technology

Entering bootloader (firmware update) mode:

In the QLG2 there are two possible ways to initiate a firmware update:

1)

Issue the command 

$$QFU

 by typing these letters into the host PC Terminal

Emulator connected to QLG2

2)

Make a temporary jumper connection as shown:

The connection can easily be made just with a small piece of bare tinned copper wire 
temporarily inserted in the jumper holes and not soldered; the connection only needs to be 
made at the moment of power-up of the QLG2, which is when the microcontroller 
configuration jumpers are read and actioned. 

QLG2 manual for firmware 1.00a

20

Содержание QLG2

Страница 1: ...B to Serial converter 7 3 5 Powering the board from the USB port 10 3 6 Status LEDs 11 3 7 Fitting an ultracap a k a supercap 12 3 8 6 pin interface header 13 3 9 Jumper wire configuration 14 3 10 Int...

Страница 2: ...for status indication Red Power Yellow Serial data and Green PPS 2 8 to 5V logic level conversion to provide 5V serial data for full compatibility with all QRP Labs kits Supports 2 8 3 3V logic OR 5V...

Страница 3: ...Kit contents Know your QLG2 QLG2 manual for firmware 1 00a 3...

Страница 4: ...cable It can be installed either facing to the right side of the board or facing the bottom side of the board Additionally there are pads for a micro USB connector if you should happen to prefer that...

Страница 5: ...allation IMPORTANT The body of the SMA connector WILL DEFINITELY short to the center pad of the component footprint on the board This will not only short out the antenna rendering it completely ineffe...

Страница 6: ...ports that access the USB to Serial converter On the 6 pin connector the pin labeled SER on the PCB silkscreen and GPS_TXD on the schematic is actually connected to the pin labeled TXD on the 4 pin h...

Страница 7: ...e USB Virtual COM port to connect to this is different depending on whether you are using Windows or Linux 1 On Linux the QLG2 will appear as dev ttyACM0 or perhaps ACM1 ACM2 etc if you already have s...

Страница 8: ...while out waiting for the next character Note that normal CAT host programs do not have this issue they send commands as a rapid burst of characters There are two possible ways around this 1 Type the...

Страница 9: ...NSS module by the QLG2 USB to Serial converter A common error is to not calculate the checksum properly these are the last two characters of the command string The actual command is prefixed by a and...

Страница 10: ...e tight flat against the board surface If you already feel now that it will not necessarily be a permanent connection then fit a 2 way pin header and use a header jumper as pictured right Now you migh...

Страница 11: ...te diagnosis of correct operation of the QLG2 Connecting external LEDs You may wish to use external LEDs instead of the onboard ones For example you may wish to make the LEDs visible on the front pane...

Страница 12: ...rt satellite fix computation within a second or two of power up Most amateur radio applications will not need this but the pads are made available on the board in case you do wish to use it Be careful...

Страница 13: ...e of the board TXD Serial port transmit signal anything sent from the USB Terminal Emulator for example is delivered to this transmit output pin By default the baud rate is 9600 baud and the voltage l...

Страница 14: ...bed in the former section headed Connecting external LEDs The jumpers fall into four categories 1 Onboard LED enable discussed above in section headed Connecting external LEDs 2 Power from USB discuss...

Страница 15: ...LOWER 2 8V logic level 3 TXD voltage level the USB to Serial converter transmit output pin UPPER 2 8V logic level LOWER 5V logic level DEFAULT 4 RXD source where the USB to Serial converter receive s...

Страница 16: ...connection no tinned copper traces on the underside of the board The nomenclature PA4 PA0 etc is a reference to the port pins of the microcontroller PA7 PA6 and PA5 are currently unused The operation...

Страница 17: ...dule such as used in the Ultimate3S VFO Clock QCX and QCX kits blue colour or the QCX mini yellow green colour can be used here these types of LCD are available from many vendors If it is HD44780 comp...

Страница 18: ...ory of the microcontroller chip for example 1_00 QG2 the QG2 extension is for QLG2 but because it is a FAT16 file system file names are limited to ye olde 8 3 format Thereafter a display is shown such...

Страница 19: ...to noise ratio of the satellites being tracked higher numbers indicate stronger signal strength 3 13 QLG2 Commands QLG2 normally converts all incoming serial data from the USB host converts it to sta...

Страница 20: ...d Works on any PC Operating System and in the same way Windows Linux Mac Secure firmware files are published on the QRP Labs website and are encrypted using 256 bit AES encryption technology Entering...

Страница 21: ...firmware program file in the QLG2 microcontroller You may read the file from the QLG2 or write a new one just by dragging files in your file manager application On entering the Firmware update proced...

Страница 22: ...drag it into the folder where the existing firmware file version is shown Or copy and paste it however you wish As soon as you copy the new file to the QLG2 QFU flash drive the QLG2 QFU bootloader era...

Страница 23: ...5 Circuit diagram schematic and description QLG2 manual for firmware 1 00a 23...

Страница 24: ...C6 0 1uF Capacitor 0603 D1 D2 D3 1N4148 Diode SOD 323 IC1 74ACT08 IC SOIC 14 IC2 MIC5219 3 3 IC SOT23 5 IC3 STM32F070F6P6 IC TSSOP 20 L1 L2 1uH Inductor 2012 LED1 Red LED 0603 LED2 Yellow LED 0603 LED...

Страница 25: ...TTL voltage threshold compatibility and this means a 1 logic high is 2 4V so it is ideally suited for accurately converting GNSS module 2 8V logic to 5V levels Q1 implements a simple timer which caus...

Страница 26: ...go pins installed on a special PCB Four 3mm screws in each corner of the boards ensure accurate alignment and the PCB under test is secured in place and under slight pressure to press the pogo pins us...

Страница 27: ...connecting a Terminal Emulator via USB and observing the NMEA serial data These tests give a very high confidence that all QLG2 modules shipped by QRP Labs will be in proper working order 7 Acknowled...

Отзывы: