Date   

Re: No TX, No RX, no LCD #chat

Arv Evans
 

"Do not reply to this message to post to the chat. You can participate in chats 
only through the group's website."  seems rather restrictive and excludes those 
who use an email handler and do not directly log into groups.io.  

My guess is that:
  1. The LCD is not being initialized due to a connection error.
  2. Soldering the MCU has an error causing the MCU to stop.
  3. The whole unit is dead!
There are a number of persons on this group who are very knowledgeable and 
seem willing to work with you to suggest actions and solutions.  They may, or 
may not, be willing to change methods and work via a chat tool.  Usually remote 
troubleshooting involves time for testing, comparing, and this involving time zone 
offsets.

Arv
_._




On Sun, May 24, 2020 at 8:41 AM <yannick.hariga@...> wrote:

A new chat has been created:

Hey all!

After some months I tried getting my QCX ready for 20m. Troubleshooting didn't result any positive solutions. Here, some of the problems:

  • No RF power (TX not working)
  • Nothing to hear (RX not working)
  • After soldering at the ATMEGA (the big one under the LCD), the LCD just has light on but nothing is displayed
I have 13 Volts on all ICs and I do not find the problems!

I would be really glad about some help!

Thanks a lot in advance and 73s!
Yannick, DK1YH/ON1YH

View/Join This Chat

Do not reply to this message to post to the chat. You can participate in chats only through the group's website.


Re: Fuse settings question

Arv Evans
 

Exactly!


On Sun, May 24, 2020 at 8:26 AM jjpurdum via groups.io <jjpurdum=yahoo.com@groups.io> wrote:
Jim:

How do you know the QCX is not programmed in C? Actually, there could be a Serial.begin(9600) in it for debugging purposes. I use scaffolding code all the time:

#define DEBUG
// ...a bunch of statements, then in setup()...

   #ifdef DEBUG
      Serial.begin(9600);
   #endif
// ...the rest of the sketch

When I'm debugging the code, I leave the #define for DEBUG active. When I'm done and ready for distribution, I comment out DEBUG , which means all of my calls to the Serial object are not compiled into the sketch. If I later find I missed a bug, I remove the comment characters for the DEBUG symbolic constant, recompile, and all my debug code is back in the executable without typing a single new line.

I'm pretty sure the QCX does use C and likely some assembler as well.

Jack, W8TEE

On Sunday, May 24, 2020, 9:54:29 AM EDT, James Daldry W4JED <jim@...> wrote:


Hi, Arv

The QCX is not an Arduino. The QCX is not an Arduino. The QCX is not an Arduino. Should I write it a few more times?

The QCX is not programmed in C. There has been no Serial.begin(9600) code written into it. Your "simple" string has to be written a half-byte at a time to the LCD. The code to make the comparison and goto a do-nothing loop will be probably 20 bytes. _THERE_  _ISN'T_  _20_  _BYTES_  _TO_  _SPARE_.

Jim W4JED

On 5/23/20 8:28 PM, Arv Evans wrote:

Larry

if (a != b) { Serial.println ("security code violated");
exit(1);  // product validation is simple!
}

Possibly was in the code from the time when an Ebay vendor tried to sell U3 
boards and expected QRP-Labs to support their marginal products.

Arv
_._

On Sat, May 23, 2020 at 6:02 PM Larry Howell <larry.howell.47@...> wrote:
Arv,
Any non-trivial decryption would require additional flash resources that do not exist.  I'm sure Hans is down to counting bits at this point.
Larry AC8YE

On Sat, May 23, 2020 at 7:54 PM Arv Evans <arvid.evans@...> wrote:
If I were trying to protect my proprietary software from being plagiarized
I would probably copy a key (maybe the CPU serial number) into the .eep 
file and then include code in flash memory to test for a match between 
CPU serial number and that key in the .eep space.  There are several other 
ways to do this.  Multiple tests could be done, or even encrypt the 
embedded key and test for proper decryption.  

Arv
_._


On Sat, May 23, 2020 at 5:07 PM Ham Radio <bernard.murphy@...> wrote:
The documentation on the QRP-LABS site should be updated regarding checking the HI fuse for X’D1’ for the first re-flash of the firmware.

If the HI  fuse is not correct, is the micro totally bricked or can the problem  be fixed using the  .eep file?
--
73, Bernie, VE3FWF


Re: Fuse settings question

Arv Evans
 

Jim

The QCX uses the same microcontroller as is used in an Arduino.  
The QCX is programmed in C-language.  I suspect that Hans does 
insert a few bytes of machine code as a way to make the code 
more compact, but only Hans could say yes or no to that.

Over the years I have used various means to make proprietary code 
so that it could not be copied.  There are numerous ways to do this.
Using the CPU internal serial number seems to be the most reliable,
but it also works to provide a read and comparison of some keyword 
and a compare to lock up the system if software has been copied, 
tampered with, or replaced.  It would even be possible to use the client's 
purchase number or date and encrypt this as a keyword to make the 
key client-specific.  

Agreed that the QCX is not an Arduino.  It has no bootloader, thus it 
requires that code installs use the SPI programming port bits MOSI, 
MISO, CLK, and RST. 
 
Point I was trying to make is that the QCX is not an Arduino and that 
there is more to security than simply installing a new operating system.  
Since it has no bootloader the usual bootloader process of setting 
fuses and installing .hex code does not work.  In addition I was trying 
to talk around the security method that Hans uses without giving away 
his secrets.

Arv
_._



On Sun, May 24, 2020 at 7:54 AM James Daldry W4JED <jim@...> wrote:

Hi, Arv

The QCX is not an Arduino. The QCX is not an Arduino. The QCX is not an Arduino. Should I write it a few more times?

The QCX is not programmed in C. There has been no Serial.begin(9600) code written into it. Your "simple" string has to be written a half-byte at a time to the LCD. The code to make the comparison and goto a do-nothing loop will be probably 20 bytes. _THERE_  _ISN'T_  _20_  _BYTES_  _TO_  _SPARE_.

Jim W4JED

On 5/23/20 8:28 PM, Arv Evans wrote:

Larry

if (a != b) { Serial.println ("security code violated");
exit(1);  // product validation is simple!
}

Possibly was in the code from the time when an Ebay vendor tried to sell U3 
boards and expected QRP-Labs to support their marginal products.

Arv
_._

On Sat, May 23, 2020 at 6:02 PM Larry Howell <larry.howell.47@...> wrote:
Arv,
Any non-trivial decryption would require additional flash resources that do not exist.  I'm sure Hans is down to counting bits at this point.
Larry AC8YE

On Sat, May 23, 2020 at 7:54 PM Arv Evans <arvid.evans@...> wrote:
If I were trying to protect my proprietary software from being plagiarized
I would probably copy a key (maybe the CPU serial number) into the .eep 
file and then include code in flash memory to test for a match between 
CPU serial number and that key in the .eep space.  There are several other 
ways to do this.  Multiple tests could be done, or even encrypt the 
embedded key and test for proper decryption.  

Arv
_._


On Sat, May 23, 2020 at 5:07 PM Ham Radio <bernard.murphy@...> wrote:
The documentation on the QRP-LABS site should be updated regarding checking the HI fuse for X’D1’ for the first re-flash of the firmware.

If the HI  fuse is not correct, is the micro totally bricked or can the problem  be fixed using the  .eep file?
--
73, Bernie, VE3FWF


Re: No TX, No RX, no LCD #chat

@CurtisM
 

Yannick

There is a potentiometer near the display, it must be carefully adjusted to get characters onto the display. That is needed to make adjustments for the rig.
Beyond this the rig has hundreds of solder connections. I had no receive, but using the test generator and my fingers I found a solder joint I missed. First you need a display, after the pot check each display solder connection, and same for control IC. Reflow them if you see nothing suspicious.

Curt


Re: No TX, No RX, no LCD #chat

N3MNT
 

Replying here so it may help others as well.
If you have 13V on your IC that is your issue.  Start with the 5V regulator.  If you do not have 5V on the output of the regulator nothing will work.  If you do actually have 13V on the pwr pin of all the ICs, you may have also damaged them.


Re: No TX, No RX, no LCD #chat

George Korper
 

Hi Yannick,
Welcome aboard.

Please do this next, go to:
https://www.qrp-labs.com/qcx/qcxtrouble.html

Then if that doesn't help, you need to start checking all the voltages
suggested in the manual. 

Since you didn't mention any smoke, that is a good thing. I wouldn't turn it on again
without a current limited supply or a fuse, and without a dummy load. 

Then it is just a painstaking process, but you will have a lot of information to bring back here. 

Good luck,
George
K3GK


No TX, No RX, no LCD #chat

yannick.hariga@...
 

A new chat has been created:

Hey all!

After some months I tried getting my QCX ready for 20m. Troubleshooting didn't result any positive solutions. Here, some of the problems:

  • No RF power (TX not working)
  • Nothing to hear (RX not working)
  • After soldering at the ATMEGA (the big one under the LCD), the LCD just has light on but nothing is displayed
I have 13 Volts on all ICs and I do not find the problems!

I would be really glad about some help!

Thanks a lot in advance and 73s!
Yannick, DK1YH/ON1YH

View/Join This Chat

Do not reply to this message to post to the chat. You can participate in chats only through the group's website.


Re: Fuse settings question

jjpurdum
 

Jim:

How do you know the QCX is not programmed in C? Actually, there could be a Serial.begin(9600) in it for debugging purposes. I use scaffolding code all the time:

#define DEBUG
// ...a bunch of statements, then in setup()...

   #ifdef DEBUG
      Serial.begin(9600);
   #endif
// ...the rest of the sketch

When I'm debugging the code, I leave the #define for DEBUG active. When I'm done and ready for distribution, I comment out DEBUG , which means all of my calls to the Serial object are not compiled into the sketch. If I later find I missed a bug, I remove the comment characters for the DEBUG symbolic constant, recompile, and all my debug code is back in the executable without typing a single new line.

I'm pretty sure the QCX does use C and likely some assembler as well.

Jack, W8TEE

On Sunday, May 24, 2020, 9:54:29 AM EDT, James Daldry W4JED <jim@...> wrote:


Hi, Arv

The QCX is not an Arduino. The QCX is not an Arduino. The QCX is not an Arduino. Should I write it a few more times?

The QCX is not programmed in C. There has been no Serial.begin(9600) code written into it. Your "simple" string has to be written a half-byte at a time to the LCD. The code to make the comparison and goto a do-nothing loop will be probably 20 bytes. _THERE_  _ISN'T_  _20_  _BYTES_  _TO_  _SPARE_.

Jim W4JED

On 5/23/20 8:28 PM, Arv Evans wrote:

Larry

if (a != b) { Serial.println ("security code violated");
exit(1);  // product validation is simple!
}

Possibly was in the code from the time when an Ebay vendor tried to sell U3 
boards and expected QRP-Labs to support their marginal products.

Arv
_._

On Sat, May 23, 2020 at 6:02 PM Larry Howell <larry.howell.47@...> wrote:
Arv,
Any non-trivial decryption would require additional flash resources that do not exist.  I'm sure Hans is down to counting bits at this point.
Larry AC8YE

On Sat, May 23, 2020 at 7:54 PM Arv Evans <arvid.evans@...> wrote:
If I were trying to protect my proprietary software from being plagiarized
I would probably copy a key (maybe the CPU serial number) into the .eep 
file and then include code in flash memory to test for a match between 
CPU serial number and that key in the .eep space.  There are several other 
ways to do this.  Multiple tests could be done, or even encrypt the 
embedded key and test for proper decryption.  

Arv
_._


On Sat, May 23, 2020 at 5:07 PM Ham Radio <bernard.murphy@...> wrote:
The documentation on the QRP-LABS site should be updated regarding checking the HI fuse for X’D1’ for the first re-flash of the firmware.

If the HI  fuse is not correct, is the micro totally bricked or can the problem  be fixed using the  .eep file?
--
73, Bernie, VE3FWF


Re: QCX+ with speaker

jjpurdum
 

One man's lie is another man's truth.

Jack, W8TEE

On Sunday, May 24, 2020, 10:13:02 AM EDT, Dave Edwards <kd2e@...> wrote:


Speaker = divorce??

A bit harsh, in my opinion!!

....Dave

On 5/24/20 8:17 AM, George Korper wrote:
Speaker = divorce
Providing speaker on CW radio in my house very bad idea. 
Even the cat wouldn't like it. 
Hans wisely made it something you add.. in Turkey they throw plates. 

On Sun, May 24, 2020 at 5:15 AM Viktors Miske KC8CKZ <unclevic7@...> wrote:
If you need an amp, pretty simple. Build one on a .5 x .5 board, toss heat shrink tube over it and your good to go. 3 wires in (audio, +,-) and 2 out (speaker).
My 2 cents worth...


Re: QCX+ with speaker

Dave Edwards
 

Speaker = divorce??

A bit harsh, in my opinion!!

....Dave

On 5/24/20 8:17 AM, George Korper wrote:
Speaker = divorce
Providing speaker on CW radio in my house very bad idea. 
Even the cat wouldn't like it. 
Hans wisely made it something you add.. in Turkey they throw plates. 

On Sun, May 24, 2020 at 5:15 AM Viktors Miske KC8CKZ <unclevic7@...> wrote:
If you need an amp, pretty simple. Build one on a .5 x .5 board, toss heat shrink tube over it and your good to go. 3 wires in (audio, +,-) and 2 out (speaker).
My 2 cents worth...


Re: Fuse settings question

James Daldry W4JED
 

Hi, Arv

The QCX is not an Arduino. The QCX is not an Arduino. The QCX is not an Arduino. Should I write it a few more times?

The QCX is not programmed in C. There has been no Serial.begin(9600) code written into it. Your "simple" string has to be written a half-byte at a time to the LCD. The code to make the comparison and goto a do-nothing loop will be probably 20 bytes. _THERE_  _ISN'T_  _20_  _BYTES_  _TO_  _SPARE_.

Jim W4JED

On 5/23/20 8:28 PM, Arv Evans wrote:

Larry

if (a != b) { Serial.println ("security code violated");
exit(1);  // product validation is simple!
}

Possibly was in the code from the time when an Ebay vendor tried to sell U3 
boards and expected QRP-Labs to support their marginal products.

Arv
_._

On Sat, May 23, 2020 at 6:02 PM Larry Howell <larry.howell.47@...> wrote:
Arv,
Any non-trivial decryption would require additional flash resources that do not exist.  I'm sure Hans is down to counting bits at this point.
Larry AC8YE

On Sat, May 23, 2020 at 7:54 PM Arv Evans <arvid.evans@...> wrote:
If I were trying to protect my proprietary software from being plagiarized
I would probably copy a key (maybe the CPU serial number) into the .eep 
file and then include code in flash memory to test for a match between 
CPU serial number and that key in the .eep space.  There are several other 
ways to do this.  Multiple tests could be done, or even encrypt the 
embedded key and test for proper decryption.  

Arv
_._


On Sat, May 23, 2020 at 5:07 PM Ham Radio <bernard.murphy@...> wrote:
The documentation on the QRP-LABS site should be updated regarding checking the HI fuse for X’D1’ for the first re-flash of the firmware.

If the HI  fuse is not correct, is the micro totally bricked or can the problem  be fixed using the  .eep file?
--
73, Bernie, VE3FWF


Re: QCX+ with speaker

George Korper
 

You're correct, It's Cyprus. 


Re: QCX+ with speaker

Hans Summers
 

George I think that's Greece. Haven't seen anyone throw plates here. The potential for damage is too small...


On Sun, May 24, 2020, 15:17 George Korper <georgekorper@...> wrote:
Speaker = divorce
Providing speaker on CW radio in my house very bad idea. 
Even the cat wouldn't like it. 
Hans wisely made it something you add.. in Turkey they throw plates. 

On Sun, May 24, 2020 at 5:15 AM Viktors Miske KC8CKZ <unclevic7@...> wrote:
If you need an amp, pretty simple. Build one on a .5 x .5 board, toss heat shrink tube over it and your good to go. 3 wires in (audio, +,-) and 2 out (speaker).
My 2 cents worth...


Re: QCX+ with speaker

George Korper
 

Speaker = divorce
Providing speaker on CW radio in my house very bad idea. 
Even the cat wouldn't like it. 
Hans wisely made it something you add.. in Turkey they throw plates. 

On Sun, May 24, 2020 at 5:15 AM Viktors Miske KC8CKZ <unclevic7@...> wrote:
If you need an amp, pretty simple. Build one on a .5 x .5 board, toss heat shrink tube over it and your good to go. 3 wires in (audio, +,-) and 2 out (speaker).
My 2 cents worth...


QRPGuys is now open from the CV shutdown...

Ken wa4mnt
 

Hi Gang,

QRPGuys is now open for taking and shipping orders. Santa Clara County, CA has opened for manufacturing again. We thank everyone for their patience.

73's,

Ken - wa4mnt


Re: QCX+ with speaker

Jim Painter
 

Good point Viktors....

Jim....kq3s


On Sun, May 24, 2020 at 2:08 AM, Trystan G0KAY
<trystandavies+nodirect@...> wrote:
Incidentally, some miniature 2" and smaller speakers have a sweetspot (free air resonance) at 700Hz and incredibly sensitive. 


Re: External active antenna for GPS #gps #antenna

Andrew Lenton
 

Hi,

 

Remember R10 is there for safety, i.e. if your aerial connection develop a short circuit, you may want to limit the current, most GPS aerials only draw 10’s of mA, so you can put in 50-100 Ohms, measure the current drawn at 5V then come up with a sensible resistor of fuse! Using a low wattage resistor (1/8 Watt) can act as a fuse as well.

 

73

 

Andrew


Re: QCX+ with speaker

Viktors Miske KC8CKZ
 

If you need an amp, pretty simple. Build one on a .5 x .5 board, toss heat shrink tube over it and your good to go. 3 wires in (audio, +,-) and 2 out (speaker).
My 2 cents worth...


Re: QCX+ with speaker

Peter OM4AEI <peter.dulowsky@...>
 

IMHO an internal speaker will be sorely missed. It's a shame the PCB does not have a provision for an amp and a speaker connection. I understand that costs were critical however the PCB has enough area that could have been dedicated to a small audio amp (LM380 or similar). It could have been unpopulated by default to save the component costs in the kit. 


Re: Ultimate3S troubleshooting

M0RON
 

Hi Steve,
it may be the light but the solder joints on the bs170 look as if they could do with reflowing , particularly the gate. 
I don't think your too far away from a working unit. 
Good luck
Andy
--
The universe is made up of Protons, Neutrons, Electrons but contains only one M0RON.