Keyboard Shortcuts
Likes
- BITX20
- Messages
Search
Re: Sketch too large... remove the bootloader
Steve?
73 |
Input requested: beyond the Nano, new KD8CEC hardware platforms
Hi My initial hardware targets were the next gen Arduino Nanos including Nano Every, Nano IOT, Nano BLE and Nano RP Connect (raspberry pi pico in an Arduino nano package) Thought they would be the easiest targets.? so was planning on adding the teensy and pico when I do my next board spin. Any other suggestions? |
Re: Sketch too large... remove the bootloader
toggle quoted message
Show quoted text
-------- Original message -------- From: Mark Hatch <mark2382@...> Date: 10/2/22 5:59 PM (GMT-05:00) Subject: Re: [BITX20] Sketch too large... remove the bootloader Tried your suggestions, but ran into other compile issues.? More curiosity than anything else. So if you could, can you let me know whether you have successfully used the uBITX Memory Manager?? 73 Mark AJ6CU |
Re: Suddenly no receive on my sBitx - what are steps required to resolve this?
Thanks for the information regarding how to fix my sBitx. I'm still puzzled as to why TX oscillations would have caused this, as I have yet to transmit through the radio! It looks like I will have to perform a major strip-down and component-level repair to get it working again - a bit of a disappointment for something I've hardly used, and only had for a few weeks, but I suppose that's what you get being an 'early adopter'. I'll wait to see what HF Signals come up with to fix these issues. Fingers crossed.
Regards, Ian G4ZJH. |
Re: uBITX v6 -AGC and S-Meter
Jack, W8TEE
OK...thanks! Jack, W8TEE
On Sunday, October 2, 2022 at 01:39:00 PM EDT, Evan Hand <elhandjr@...> wrote:
Hi Jack.? S and VU are calibration standards, not the means of measurement. ?I know that some of our club members complain that PC OS do not have VU calibration values on the audio channels that would help with setting up the audio for virtual club meetings.?
73 -- Jack, W8TEE |
Re: Sketch too large... remove the bootloader
Jack, W8TEE
You might check out the Teensy LC. The cost and size are about the same, it's more that twice as fast, has 62K of flash and 8K SRAM. To me, the real win is the additional 14K of flash and 2K of SRAM memory, plus a 48mHz clock instead of the 20mHz. Jack, W8TEE
On Sunday, October 2, 2022 at 02:48:49 PM EDT, ajparent1/kb1gmx <kb1gmx@...> wrote:
The Nano Every? is one way out. 48K and faster!.? I have a few on order. Most of the time for this stuff?I'd start with checking the code for bulky libraries and fluff.? I've managed in the past to easily remove excess code or refactor it so it compiles far more compactly. Allison ------------------ Please use the forum, offline and private will go to bit bucket. -- Jack, W8TEE |
Re: uBITX V6 SSB Inversion..
¿ªÔÆÌåÓý
Thanks? Mark, will see what gives on re adjusting.?
From: [email protected] <[email protected]> on behalf of Evan Hand <elhandjr@...>
Sent: 02 October 2022 18:09 To: [email protected] <[email protected]> Subject: Re: [BITX20] uBITX V6 SSB Inversion.. ?
Hi Art,
The SSB inversion is often due to a BFO on the wrong side of the SSB filter.? To correct you should adjust the BFO to be closer to 11.056MHz.? The SSB filter center is close to 11.058MHz and can vary for each filter.? These values are for the v5 and v6 uBitx built with 11.059 crystals for the SSB filter. I would suggest that you use the Memory Manager software to save the current values. 73 Evan AC9TU |
Re: Sketch too large... remove the bootloader
Steve,
Just one more thing, you are talking about the original CEC v1.2 code (the directory is uBTIX 2.0 so that can cause confusion...)? Just wanted to make sure you were *not* running my modified CEC code that I am working on to support non-Nano platforms (with external I2C EEPROM chips) 73 Mark AJ6CU |
Re: Sketch too large... remove the bootloader
Steve,
CEC stores a lot of stuff in EEPROM > 256.? For example call sign, custom named freq, cw messages, wspr, CW ADC settings, band frequencies, CW key type, tuning steps, CW CAL, etc.? CEC does make reasonable defaults here on boot if it finds "0' (assume that is what happens when you try to access eeprom that doesnt exist, I don't recall seeing CEC checking for errors on EEPROM fetches). But if you are not in Region 2, that would be a problem... Have you tried using uBITX Memory Manager? It does a fetch of the 1024 EEPROM when you load from uBITX and gets upset if it doesnt get all the bytes. But again perhaps the lack of error checking is playing in our favor and you just get a lot of 0's.But anything that is normally saved in that >256 area should not be... Appreciate the insights here!? 73 Mark AJ6CU |
Re: Sketch too large... remove the bootloader
¿ªÔÆÌåÓýMark - Here's what I did to get KD8CEC v 2.0 to work with a Nano Every: 1) In ubitx_20.ino, around line # 1281, change analogReference(DEFAULT) to analogReference(VDD) This is the same change that the stock V4.3 code needs for the Every to work with a keyer paddle. 2) Rename softserial_tiny.cpp to softserial_tiny.cpp.NO.? This just keeps the Arduino IDE from finding the file and compiling it. Softserial functions are not used with the two line character LCD. Looks like the softserial library was being used to talk to a Nextion display, or possibly debugging. There is interrupt code in that file that has no equivalent for the Every. I'm using the stock LCD, so I haven't tried the i2c mode. I2C should still work on the Every. CEC is using 61% of the Every's program space. The uBitx seems to work fine. There's plenty of room for modifications.? 73; Steve, N3SB? -------- Original message -------- From: Mark Hatch <mark2382@...> Date: 10/2/22 3:27 PM (GMT-05:00) Subject: Re: [BITX20] Sketch too large... remove the bootloader Can someone confirm that you can really run KD8CEC on a Nano Every? I never tried it because of that EEPROM issue. I will give it a try later, willing to be surprised here.... 73 Mark AJ6CU |
Re: Sketch too large... remove the bootloader
The Nano Every only has 256 bytes of eeprom.? I believe that KD8CEC assumes a Nano that has 1024 bytes.
Can someone confirm that you can really run KD8CEC on a Nano Every? I never tried it because of that EEPROM issue. I will give it a try later, willing to be surprised here.... 73 Mark AJ6CU |
Gary,
Look in ubitx.h and search for "Recommended for Nextion, TJC LCD 88%"? Make sure that set of defines is uncommented and any other sets are commented out.? ?You can also look at the individuals setting and commend some out (the size occupied by each option is in a comment on right.? ?"1" means enabled, "0" means disabled. Another option is to go search youtube for "expanding nano flash" or something similar. If you update to the latest bootloader and do the expansion, your nano will have some 32k memory.? But i am pretty sure the issue is that the srouce code doesn't naturally assume a nextion screen and you need to adjust the defines. 73 Mark AJ6CU |
Re: Sketch too large... remove the bootloader
¿ªÔÆÌåÓýBe aware of one minor difference with the Every - the ADC reference default mode is different between the Every and the Nano. With the way the uBitx radios handle reading the keyer line when sending CW, this can trip you up.One line of Arduino code will resolve this, but I don't have the info handy. Google is your friend here.? 73; Steve, N3SB? -------- Original message -------- From: ajparent1/kb1gmx <kb1gmx@...> Date: 10/2/22 2:48 PM (GMT-05:00) Subject: Re: [BITX20] Sketch too large... remove the bootloader Most of the time for this stuff?I'd start with checking the code for bulky libraries and fluff.? I've managed in the past to easily remove excess code or refactor it so it compiles far more compactly. Allison ------------------ Please use the forum, offline and private will go to bit bucket. |
Re: Sketch too large... remove the bootloader
The Nano Every? is one way out. 48K and faster!.? I have a few on order.
Most of the time for this stuff?I'd start with checking the code for bulky libraries and fluff.? I've managed in the past to easily remove excess code or refactor it so it compiles far more compactly. Allison ------------------ Please use the forum, offline and private will go to bit bucket. |
Re: Sketch too large... remove the bootloader
Have you considered the Nano Every? For most applications it's a drop-in replacement, but has 48K of Flash. 73, Steve,? N3SB? On Sun, Oct 2, 2022, 1:37 PM barry halterman <kthreebo@...> wrote:
|
Re: uBITX V6 SSB Inversion..
Hi Art,
The SSB inversion is often due to a BFO on the wrong side of the SSB filter.? To correct you should adjust the BFO to be closer to 11.056MHz.? The SSB filter center is close to 11.058MHz and can vary for each filter.? These values are for the v5 and v6 uBitx built with 11.059 crystals for the SSB filter. I would suggest that you use the Memory Manager software to save the current values. 73 Evan AC9TU |
uBITX V6 SSB Inversion..
¿ªÔÆÌåÓý
Getting some great results on cw? (listening)? even heard a VU2 station the other evening... Decided to have a look at
any ssb signals around on 40 and 20mtrs.. Bands both very busy today (rsgb test in progress)..? Found that all of the?
heard ssb sigs were inverted when switched to the correct mode, upper or lower, To demodulate correctly had to invert the ssb to the?
other sideband, these then were perfect !!? What's happened ?? .. Btw Mark,? did add my call into the nextion screen using Cec
uBITX memory manager. That fitted in perfectly on screen just above the graph markings..
Appreciate any comments on the ssb inversion..??
Art G3XNE
|