¿ªÔÆÌåÓý

Replacement Nano problem uBitx V6


 

I wanted to have several Nanos for my uBitx V6. ?Since the pins need to be on the opposite side of the board from the norm, I bought the boards below from Amazon ?that allowed me to solder in the headers.
Unlike the original Nano, these needed the new (ie not Old) Bootloader but loaded fine. ?However, inserted into the Ubitx, they did not operate properly. ?They initiated an audio howl and the frequency read zero. ?I tried several versions of the N8ME sketch, including the one I normally use, with the same result. ?I tried two of the Nanos to make sure one was defective.
Any suggestions of what is going on?
Tnx Howard K4LXY
ELEGOO Nano Board CH 340/ATmega+328P?





 

I've used those exact boards (over 20 to date for various things) and they
perform fine for me.? ?However, soldering may be an issue.? That or a lifted pad.

I have seen a few people due to ESD kill nanos.


Allison
------------------
Please use the forum, offline and private will go to bit bucket.


 

Another possibility since you have two failures..

Are you using a Nextion. I find that if the wires to it get too close to the Raduino I get a loud wine on startup even with volume at its lowest setting.? If Volume is set half way no wine. But the obvious solution *if* that was your problem would be to route your wires to the Nextion away from the Raduino.

I also used those boards with no problems. I did manage to kill one somehow, but I am sure that it was totally my carelessness.

73
Mark.?


 

I've looked at the soldering and it looks good. ?I doubt ESD is the issue - soldering station grounded, etc.
Anything else I could be doing wrong?

Howard


 

Using the original display -?
Thanks
Howard


 

The other difference here is you are starting up with the onboard eeprom being all zeros, even after installing the firmware. I assume that the V6 and V6 addon (M6ME) software would initiate the EEPROM to some reasonable values (KD8CEC does) and in the worst case you would just need to recallibrate.? I assume that somene that has gone this route can confirm? this? Hard to believe that this path is not simple...

73
Mark


 

Good thought. ?Maybe I should try installing Ashar's original firmware first.
Howard


 

The original software loads and looks ok (including frequency) but the screen isn't responsive. ?Reinstalling N8ME after that got the same response as before.
Howard


 

Howard,

Reached the end of my knowledge. Will lurk and see what the final resolution is. The "good news" is that lack of response to touch isolates things to a couple pins. I assume you can click the encoder button to get in and out of "fast tune"? That at least would suggest that the firmware is not hung for some reason.

73
Mark
AJ6CU


 

On Sat, Sep 17, 2022, at 05:56 PM, K4LXY wrote:
The original software loads and looks ok (including frequency) but the screen isn't responsive. ?Reinstalling N8ME after that got the same response as before.
Howard
Do you have the original Nano that came with the v6 uBitx, and is it still the original firmware without any attempts to load a different software?? If so, try that Nano and verify that the Raduino and v6 are still working.

I suspect that you do not have the Arduino IDE setup correctly.? I do not remember having to change the processor from the ATmega328 (Old Bootloader) that I have used for my development efforts.? Check your tools settings in the Arduino IDE.

The other possibility is a potential Arduino library issue.

73
Evan
AC9TU


 

Evan
I have the N8ME loaded on the original Nano and all works fine. ?I've had several firmware versions on that Nano and all went well.

With the new Nanos, the software won't load using Old Bootloader but it does if I use the newer one. Since everything complies and uploads OK with the "new Nano," and works OK with the original Nano, it's hard to see what would be wrong with the IDE setup - but ?I'm open to suggestions.

The fact that I get exactly the same results with two of the new Nano's I purchased suggests to me that it isn't something in my soldering of the pints (and they look fine on close examination).

A mystery. ?Thanks for your suggestions.

&3, Howard


 

Hi Howard
I had a similar problem with newly purchased nanos, or at least I think it's similar. I was using 1.8.4 previously with no problems on a set of new nanos. Yesterday I received new nanos and the Blink sketch would not upload. They are clones and the driver showed CH340. No matter what I did, the blink sketch would not upload, kept getting?

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x19

I did some googling and read to try using a different board other than nano. I used Uno and everything uploaded to the nanos with no errors. Maybe you can try this.

73

Ken VA3ABN

On Sun, Sep 18, 2022 at 9:39 AM K4LXY <k4lxy.cw@...> wrote:
Evan
I have the N8ME loaded on the original Nano and all works fine.? I've had several firmware versions on that Nano and all went well.

With the new Nanos, the software won't load using Old Bootloader but it does if I use the newer one. Since everything complies and uploads OK with the "new Nano," and works OK with the original Nano, it's hard to see what would be wrong with the IDE setup - but ?I'm open to suggestions.

The fact that I get exactly the same results with two of the new Nano's I purchased suggests to me that it isn't something in my soldering of the pints (and they look fine on close examination).

A mystery.? Thanks for your suggestions.

&3, Howard


 

and to add, when I was getting the averdude?errors, I installed 1.8.19 and I also had the same problem. I eventually?uninstalled the IDE and reinstalled 1.8.4

73

Ken VA3ABN

On Sun, Sep 18, 2022 at 9:58 AM Ken via <chase8043=[email protected]> wrote:
Hi Howard
I had a similar problem with newly purchased nanos, or at least I think it's similar. I was using 1.8.4 previously with no problems on a set of new nanos. Yesterday I received new nanos and the Blink sketch would not upload. They are clones and the driver showed CH340. No matter what I did, the blink sketch would not upload, kept getting?

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x19

I did some googling and read to try using a different board other than nano. I used Uno and everything uploaded to the nanos with no errors. Maybe you can try this.

73

Ken VA3ABN

On Sun, Sep 18, 2022 at 9:39 AM K4LXY <k4lxy.cw@...> wrote:
Evan
I have the N8ME loaded on the original Nano and all works fine.? I've had several firmware versions on that Nano and all went well.

With the new Nanos, the software won't load using Old Bootloader but it does if I use the newer one. Since everything complies and uploads OK with the "new Nano," and works OK with the original Nano, it's hard to see what would be wrong with the IDE setup - but ?I'm open to suggestions.

The fact that I get exactly the same results with two of the new Nano's I purchased suggests to me that it isn't something in my soldering of the pints (and they look fine on close examination).

A mystery.? Thanks for your suggestions.

&3, Howard


 

Interesting. ?I'm using 1.8.13

Howard


 

I just tried again using nano and 1.8.4 and it didn't upload Blink. Switched to UNO and it uploaded with no errors.

73 Ken VA3ABN

On Sun, Sep 18, 2022 at 10:04 AM K4LXY <k4lxy.cw@...> wrote:
Interesting.? I'm using 1.8.13

Howard


 

Hi Ken,
The UNO uses the optiboot bootloader and so do the newer Nanos.? So you can load a Nano (with the optiboot) as an UNO.
However, the UNO and Nano have different Analog pins.? i.e. you won't be able to use A7 on your Nano if you are using the UNO board file.

As the IDEs have progressed, the libraries have increased in size.? This has pushed it over the edge for some programs.
There is more space available when you load as a Uno than as a Nano.? When updating the Nanos to the optiboot bootloader, Arduino didn't get the fuse settings correct to take advantage of the smaller bootloader. (e.g. more available program space).

Rgds,
Gary?


Rgds,
Gary


 

Interesting. ?I tried uploading to the Nano with the Uno setting and it uploaded fine. ?It acted the same as before in the radio, though.
Howard


 

I can confirm that the latest Nano clones ordered off Amazon are not only programmed wtth optiboot (the "new boot loader option on the Arduino IDE) and that they have a resized the flash allocation (optiboot is smaller)? giving you more programing memory (important if you are a KD8CEC hack).

You can tell if hour nano has the "expanded" memory or not by looking at the end of the sketch after a build. If it says 30720 instead of 32256 (same as the Uno), you might have one of the nano clones with optiboot but no resizing of the flash partition.? (BTW: There ar youtube videos on how you can fix this and get the "extra free memory". Like:?https://www.youtube.com/watch?v=-MynHAz7TsI&t=95s&ab_channel=DesignBuildDestroy

The main impact you will see if you just upload ".hex" files is that you need to set the right baud speed on xloader. new bootloader likes 115200 and the old one likes 57600. Get this wrong and it will not work...

73
Mark


 

Thanks, Mark.
I should have mentioned probably that I'm using Arduino IDE. ?
This info is good to know.
Howard


 

Does that mean if I installed the latest IDE, I would use the "new bootloader" where as the old nanos use "old bootloader" ?

73 Ken

On Sun, Sep 18, 2022 at 12:33 PM Gary Anderson <gary.ag5tx@...> wrote:
Hi Ken,
The UNO uses the optiboot bootloader and so do the newer Nanos.? So you can load a Nano (with the optiboot) as an UNO.
However, the UNO and Nano have different Analog pins.? i.e. you won't be able to use A7 on your Nano if you are using the UNO board file.

As the IDEs have progressed, the libraries have increased in size.? This has pushed it over the edge for some programs.
There is more space available when you load as a Uno than as a Nano.? When updating the Nanos to the optiboot bootloader, Arduino didn't get the fuse settings correct to take advantage of the smaller bootloader. (e.g. more available program space).

Rgds,
Gary?


Rgds,
Gary