¿ªÔÆÌåÓý

Try CEC V2 Beta without risking your currently running V1.2 system...


 

Hi,

Just uploaded an instructional video on how -- if you have a spare Nano 3.0 -- you can try CDC V2 beta without risking your existing setup. Basically, you can install V2 on the second Nano and then copy the settings from CEC 1.2 to CEC V2 Beta using the Settings Editor. Then just swap out your Nano (don't be like me and forget which one is which)...? You can then use the Calibration Wizard functionality and then even run the process in reverse to update the settings on your original V1.2 setup.

The video is at:

https://youtu.be/4ZXs8HoUYQY

73
Mark
--
AJ6CU
KD8CEC 2.0, Nextion Screens,? and open source uBITX Raduino boards for Arduino IOT, BLE, RP2040, Teensy 4.0, and Raspberry Pi Pico
https://github.com/aj6cu


 

Hi Mark,

I am going to display my ignorance here as this is all new to me.? ?I have watched your video on how to try CEC V2 without risking the current system, and would like to do? this.? ?I bought the package of 3 Nanos you had linked under the video, and have installed uBitx Settings editor.? I can read from my current nano (from the uBitx) just fine in your program.? ?However, I haven't been able to do anything with any of the 3 nanos I purchased.? They show up in Windows device manager, and I managed to connect to all of them in Xloader, but that is all.? ?The ones I received work at 115200, but that is as far as I get.? I click on "upload" in Xloader and it just sits there forever.? ?I try reading from them in the uBitx Settings Editor and it says "Timeout reading from serial port"? Am I missing a step or two before trying to read from them or do anything with them?? ?Is there something that must be installed on them before they will work with Xloader?? ?I wonder if you or someone else could give a step by step guide to preparing a new nano so it can install the new CEC V2?? ?

73,
Jim? w8ykg


 

Jim,

If Xloader just sits there, there are two possible reasons.
1. Most likely is that it is really the old bootloader and you need to set the baud rate to 57600. If you have the Arduino IDE installed, you can open up the "blink" example and see whether you can download it to the nano by either selecting old or new bootloader.
2. The selected device?in XLoader is set wrong. You want Duemilanove/Nano(ATmega328)

Or it is a dead nano...? ?I assume you tried on all three? No reason to solder the pins, just see if XLoader can download anything to the Nano.? The other thing I have recently seen is that there are multiple source code repositories calling them "XLoader". When I tried using XLoader on a new Windows laptop, I had installed the wrong one and had to go figure out which is the one I should be using.?

Can you download CEC 1.2 to the Nano? If not, then it is definitely either a XLoader config issue or a bad nano.

How did you figure that it was ok at 115200??

73
Mark


AJ6CU
KD8CEC 2.0, Nextion Screens,? and open source uBITX Raduino boards for Arduino IOT, BLE, RP2040, Teensy 4.0, and Raspberry Pi Pico
https://github.com/aj6cu


 

Oh, I just thought of another couple possibilities...

1. You just have the wrong Com port#.? I assume you did the check of running the device manager, plug in the nano, and see the new com port?
2. Any chance something else has grabbed the Com port? For example if you have the Arduino IDE running and you have the Serial Monitor in focus, it will grab exclusive access to that port and other readers will fail.?
3. Unplug everything, and reboot you machine. I know it is the sledge hammer approach, but I have had software not cleanly release ports (perhaps my own ;-) ) and once that happens, no other software can access that port. Always timeout.

Not surprised that the Settings Editor timed out. It needs to talk to a functioning CEC release (any release). If you were not able to install CEC onto Nano, then the SE will send a request for data, and eventually time out when the Nano on the other side ignores it.

73
Mark
--
AJ6CU
KD8CEC 2.0, Nextion Screens,? and open source uBITX Raduino boards for Arduino IOT, BLE, RP2040, Teensy 4.0, and Raspberry Pi Pico
https://github.com/aj6cu


 

Thanks for the suggestions!? ?I won't to get a chance to get to where the nanos are again until late this afternoon or tomorrow.? ?I do know the com port number was correct, and I did try all 3 nanos.? ?When I tried Xloader at 57600 it immediately failed to connect.? But when I tried it at 115200 it said uploading but then just sat there.? I will work on it some more when I get back to it.? ?

73,
Jim


 

Jim,

When I get the failed to connect message I either have the wrong port, or something else is owning the port. I assume you have the CH340 driver installed? The com port in device manager should look like:?



In this case, my nano is connected to COM9.? If you don't have the CH340 text, then you need to install that driver. Been a long while since i installed the driver, but if you google it you should find the download.

73
Mark


AJ6CU
KD8CEC 2.0, Nextion Screens,? and open source uBITX Raduino boards for Arduino IOT, BLE, RP2040, Teensy 4.0, and Raspberry Pi Pico
https://github.com/aj6cu


 

Progress has been made.? I was able to connect and upload CEC V1.2 to one of the new nanos.? (And it did connect at 57600).? However, I was not able to upload V2.? Also I didn't see which file I should try.? ?I have a Nextion 2.8" display so I downloaded Nano3_CECV2_R34_Nextion_LocalS.hex? and?Nano3_CECV2_R56_Nextion_LocalS.hex? but neither one of them would upload.? ?I went back and tried the CEC V1.2 after the V2 files failed and V1.2 uploaded again just fine.? ?So am I trying to upload the wrong V2 hex file?? ?(I am using Xloader for these uploads).

Thanks and 73
Jim??


 

Jim,

You are running a uBITX V6, correct? Then you should use Nano3_CECV2_R56_Nextion_LocalS.hex.

Try first uploading the 1.2 version and then without unplugging it, upload the v2 file. I can't think of any readson while XLoader would load a V1.2 and then refuse to load a V2. It is just programming the Nano, it doesn't care what it is uploading it with...

73
Mark
BTW: I am going to be away from my computer all day tomorrow. So might not get back to help until Tuesday.


--
AJ6CU
KD8CEC 2.0, Nextion Screens,? and open source uBITX Raduino boards for Arduino IOT, BLE, RP2040, Teensy 4.0, and Raspberry Pi Pico
https://github.com/aj6cu


 

Success!? I found the correct file I need (for uBitx V6) and downloaded it once again.? This time it uploaded to the nano? right away.? Tomorrow I will stick the new nano in the radio.? Thanks for all the suggestions and help!

73,
Jim


 

Hi, which is the correct files for ubitx V6??
Thanks.?
Andrea?


Inviata dal mio Xiaomi Mi 11 Lite NC.


Il lun 12 giu 2023, 03:59 secondchancesailor <jagillaspie@...> ha scritto:
Success!? I found the correct file I need (for uBitx V6) and downloaded it once again.? This time it uploaded to the nano? right away.? Tomorrow I will stick the new nano in the radio.? Thanks for all the suggestions and help!

73,
Jim


 

For Nextion:
Nano3_CECV2_R56_Nextion_LocalS.hex

For 16x2 LCD:
Nano3_CECV2_R56_LCD1602P_LocalS.hex


All at:


73
Mark

--
AJ6CU
KD8CEC 2.0, Nextion Screens,? and open source uBITX Raduino boards for Arduino IOT, BLE, RP2040, Teensy 4.0, and Raspberry Pi Pico
https://github.com/aj6cu


 

Thanks Mark.?
73, de IK0XBC Andrea?

Il gio 15 giu 2023, 15:20 Mark Hatch <mark2382@...> ha scritto:
For Nextion:
Nano3_CECV2_R56_Nextion_LocalS.hex

For 16x2 LCD:
Nano3_CECV2_R56_LCD1602P_LocalS.hex


All at:


73
Mark

--
AJ6CU
KD8CEC 2.0, Nextion Screens,? and open source uBITX Raduino boards for Arduino IOT, BLE, RP2040, Teensy 4.0, and Raspberry Pi Pico