¿ªÔÆÌåÓý

uBITX EEPROM MAP


 

I applaud Ian for his EEPROM program.

Might I suggest that we maintain a map of the EEPROM as developers
will be adding their own information.? I think this might be something
that needs controlling .

Just my 2 cents.

Ron


 

Does anyone have a file with the UBITX? EEPROM map as delivered from the factory? I had to replace the Nano board, but now don't have the proper EEPROM settings to get going again.

Joe


Jack Purdum
 

Joe:

Interesting. I just did a GREP on all the source code files and did not find an EEPROM.read() or EEPROM.write(). Where did you read that the original code uses EEPROM?

Jack, W8TEE


On Saturday, March 24, 2018, 10:20:47 AM EDT, W3JDR <joe@...> wrote:


Does anyone have a file with the UBITX? EEPROM map as delivered from the factory? I had to replace the Nano board, but now don't have the proper EEPROM settings to get going again.

Joe


 

Just looking over the code, I see this in? ubitx_20.ino? from? ?
All are 32 bit integers.

#########################################
/**?* These are the indices where these user changable settinngs are stored? in the EEPROM?*/
#define MASTER_CAL 0
#define LSB_CAL 4
#define USB_CAL 8
#define SIDE_TONE 12
//these are ids of the vfos as well as their offset into the eeprom storage, don't change these 'magic' values
#define VFO_A 16
#define VFO_B 20
#define CW_SIDETONE 24
#define CW_SPEED 28
###############################

MASTER_CAL and USB_CAL must be set for anything to work, probably what's messing you up.
CW_SIDETONE determines the rx freq offset when in cw mode, in addition to the CW sidetone in Hz.
CW_SPEED is 1200/wpm,? so the value of 100 makes it 12 wpm
All of the above can be adjusted within the calibration menu.
VFO_A and VFO_B can be set to some operating freq in Hz, defaults are 7150000 and 14200000
vfoA=7150000L, vfoB=14200000L


SIDE_TONE and USB_CAL never get used.

Here's some good default settings:
###############################
MASTER_CAL:? ?0
USB_CAL:? 11997000
CW_SIDETONE:? 800
CW_SPEED:? 100
###############################

Jerry, KE7ER


On Sat, Mar 24, 2018 at 07:20 am, W3JDR wrote:
Does anyone have a file with the UBITX? EEPROM map as delivered from the factory? I had to replace the Nano board, but now don't have the proper EEPROM settings to get going again.


 

Uses EEROM.put() and EEPROM.get()


On Sat, Mar 24, 2018 at 07:44 am, Jack Purdum wrote:
Interesting. I just did a GREP on all the source code files and did not find an EEPROM.read() or EEPROM.write(). Where did you read that the original code uses EEPROM?
?


 

Maybe its EEPROM.get? and EEPROM.put

rOn



From: Jack Purdum via Groups.Io <jjpurdum@...>
To: [email protected]
Sent: Saturday, March 24, 2018 10:44 AM
Subject: Re: [BITX20] uBITX EEPROM MAP

Joe:

Interesting. I just did a GREP on all the source code files and did not find an EEPROM.read() or EEPROM.write(). Where did you read that the original code uses EEPROM?

Jack, W8TEE


On Saturday, March 24, 2018, 10:20:47 AM EDT, W3JDR <joe@...> wrote:


Does anyone have a file with the UBITX? EEPROM map as delivered from the factory? I had to replace the Nano board, but now don't have the proper EEPROM settings to get going again.

Joe



 

Good luck setting the sidetone within the calibration menu of the original uBitx code.
In file ubitx_menu.ino, I see this line at the end of menuSetupCwTone()
? ? EEPROM.put(CW_SIDETONE, usbCarrier)

That would set the CW sidetone to something like 12mhz instead of around 800 hz.

Jerry



On Sat, Mar 24, 2018 at 08:05 am, Jerry Gaffke wrote:
CW_SIDETONE determines the rx freq offset when in cw mode, in addition to the CW sidetone in Hz.