Compare commits

...

2 commits

Author SHA1 Message Date
Kai Lauterbach
24b609f0d5 Output hexdump file will be stored into the /tmp folder now. 2024-04-22 18:55:56 +02:00
Kai Lauterbach
5e01017430 Removed trailing spaces and renamed some content 2024-04-22 18:55:34 +02:00
2 changed files with 114 additions and 114 deletions

226
README.md
View file

@ -9,142 +9,142 @@ The base of the chirp driver is based on https://www.universirius.com/preppers/q
## EEPROM content for 0.5 HF: ## EEPROM content for 0.5 HF:
Address: 0x0D60 Address: 0x0D60
Content: Content:
for(uint16_t i = 0; i < sizeof(MR_ChannelAttributes); i++) { ChannelAttributes_t *att = &MR_ChannelAttributes[i]; if(att->__val == 0xff){ att->__val = 0; att->band = 0xf; } } for(uint16_t i = 0; i < sizeof(MR_ChannelAttributes); i++) { ChannelAttributes_t *att = &MR_ChannelAttributes[i]; if(att->__val == 0xff){ att->__val = 0; att->band = 0xf; } }
Address: 0x0E70 Address: 0x0E70
Content: Content:
0: CHAN_1_CALL 0: CHAN_1_CALL
1: SQUELCH_LEVEL 1: SQUELCH_LEVEL
2: TX_TIMEOUT_TIMER 2: TX_TIMEOUT_TIMER
3: NOAA_AUTO_SCAN 3: NOAA_AUTO_SCAN
4: KEY_LOCK 4: KEY_LOCK
5: VOX_SWITCH 5: VOX_SWITCH
6: VOX_LEVEL 6: VOX_LEVEL
7: MIC_SENSITIVITY 7: MIC_SENSITIVITY
Address: 0x0E78 Address: 0x0E78
Content: Content:
0: BACKLIGHT_MAX (0x0f) & BACKLIGHT_MIN (0xf0 >> 4) 0: BACKLIGHT_MAX (0x0f) & BACKLIGHT_MIN (0xf0 >> 4)
1: CHANNEL_DISPLAY_MODE 1: CHANNEL_DISPLAY_MODE
2: CROSS_BAND_RX_TX 2: CROSS_BAND_RX_TX
3: BATTERY_SAVE 3: BATTERY_SAVE
4: DUAL_WATCH 4: DUAL_WATCH
5: BACKLIGHT_TIME 5: BACKLIGHT_TIME
6: TAIL_TONE_ELIMINATION 6: TAIL_TONE_ELIMINATION
7: VFO_OPEN 7: VFO_OPEN
Address: 0x0E80 Address: 0x0E80
Content: Content:
0: ScreenChannel[0] 0: ScreenChannel[0]
1: ScreenChannel[1] 1: ScreenChannel[1]
2: MrChannel[0] 2: MrChannel[0]
3: MrChannel[1] 3: MrChannel[1]
4: FreqChannel[0] 4: FreqChannel[0]
5: FreqChannel[1] 5: FreqChannel[1]
6: NoaaChannel[0] 6: NoaaChannel[0]
7: NoaaChannel[1] 7: NoaaChannel[1]
Address: 0x0E90 Address: 0x0E90
Content: Content:
0: BEEP_CONTROL (0x01) & KEY_M_LONG_PRESS_ACTION (>> 1) 0: BEEP_CONTROL (0x01) & KEY_M_LONG_PRESS_ACTION (>> 1)
1: KEY_1_SHORT_PRESS_ACTION 1: KEY_1_SHORT_PRESS_ACTION
2: KEY_1_LONG_PRESS_ACTION 2: KEY_1_LONG_PRESS_ACTION
3: KEY_2_SHORT_PRESS_ACTION 3: KEY_2_SHORT_PRESS_ACTION
4: KEY_2_LONG_PRESS_ACTION 4: KEY_2_LONG_PRESS_ACTION
5: SCAN_RESUME_MODE 5: SCAN_RESUME_MODE
6: AUTO_KEYPAD_LOCK 6: AUTO_KEYPAD_LOCK
7: POWER_ON_DISPLAY_MODE 7: POWER_ON_DISPLAY_MODE
Address: 0x0E98 Address: 0x0E98
Content: Content:
0: memcpy(&POWER_ON_PASSWORD, Data, 4) 0: memcpy(&POWER_ON_PASSWORD, Data, 4)
Address: 0x0EA0 Address: 0x0EA0
Content: Content:
0: VOICE_PROMPT 0: VOICE_PROMPT
1: S0_LEVEL 1: S0_LEVEL
2: S9_LEVEL 2: S9_LEVEL
Address: 0x0EA8 Address: 0x0EA8
Content: Content:
0: ALARM_MODE 0: ALARM_MODE
1: ROGER 1: ROGER
2: REPEATER_TAIL_TONE_ELIMINATION 2: REPEATER_TAIL_TONE_ELIMINATION
3: TX_VFO 3: TX_VFO
4: BATTERY_TYPE 4: BATTERY_TYPE
Address: 0x0EB0 Address: 0x0EB0
Content: Content:
EEPROM_WELCOMESTRING1 (16 byte) EEPROM_WELCOMESTRING1 (16 byte)
EEPROM_WELCOMESTRING2 (16 byte) EEPROM_WELCOMESTRING2 (16 byte)
Address: 0x0ED0 Address: 0x0ED0
Content: Content:
0: DTMF_SIDE_TONE 0: DTMF_SIDE_TONE
1: DTMF_SEPARATE_CODE 1: DTMF_SEPARATE_CODE
2: DTMF_GROUP_CALL_CODE 2: DTMF_GROUP_CALL_CODE
3: DTMF_DECODE_RESPONSE 3: DTMF_DECODE_RESPONSE
4: DTMF_auto_reset_time 4: DTMF_auto_reset_time
5: DTMF_PRELOAD_TIME 5: DTMF_PRELOAD_TIME
6: DTMF_FIRST_CODE_PERSIST_TIME 6: DTMF_FIRST_CODE_PERSIST_TIME
7: DTMF_HASH_CODE_PERSIST_TIME 7: DTMF_HASH_CODE_PERSIST_TIME
Address: 0x0ED8 Address: 0x0ED8
Content: Content:
0: DTMF_CODE_PERSIST_TIME 0: DTMF_CODE_PERSIST_TIME
1: DTMF_CODE_INTERVAL_TIME 1: DTMF_CODE_INTERVAL_TIME
2: PERMIT_REMOTE_KILL 2: PERMIT_REMOTE_KILL
Address: 0x0EE0 Address: 0x0EE0
Content: Content:
0: memcpy(ANI_DTMF_ID, Data, sizeof(ANI_DTMF_ID)) 0: memcpy(ANI_DTMF_ID, Data, sizeof(ANI_DTMF_ID))
Address: 0x0EE8 Address: 0x0EE8
Content: Content:
0: memcpy(KILL_CODE, Data, sizeof(KILL_CODE)) 0: memcpy(KILL_CODE, Data, sizeof(KILL_CODE))
Address: 0x0EF0 Address: 0x0EF0
Content: Content:
0: memcpy(REVIVE_CODE, Data, sizeof(REVIVE_CODE)) 0: memcpy(REVIVE_CODE, Data, sizeof(REVIVE_CODE))
Address: 0x0EF8 Address: 0x0EF8
Content: Content:
0: memcpy(DTMF_UP_CODE, Data, sizeof(DTMF_UP_CODE)) 0: memcpy(DTMF_UP_CODE, Data, sizeof(DTMF_UP_CODE))
Address: 0x0F08 Address: 0x0F08
Content: Content:
0: memcpy(DTMF_DOWN_CODE, Data, sizeof(DTMF_DOWN_CODE)) 0: memcpy(DTMF_DOWN_CODE, Data, sizeof(DTMF_DOWN_CODE))
Address: 0x0F18 Address: 0x0F18
Content: Content:
0: SCAN_LIST_DEFAULT 0: SCAN_LIST_DEFAULT
1: SCAN_LIST_ENABLED[0] 1: SCAN_LIST_ENABLED_1
2: SCANLIST_PRIORITY_CH1[0] 2: SCANLIST_PRIORITY_CH1_1
3: SCANLIST_PRIORITY_CH2[0] 3: SCANLIST_PRIORITY_CH2_1
4: SCAN_LIST_ENABLED[1] 4: SCAN_LIST_ENABLED_2
5: SCANLIST_PRIORITY_CH1[1] 5: SCANLIST_PRIORITY_CH1_2
6: SCANLIST_PRIORITY_CH2[1] 6: SCANLIST_PRIORITY_CH2_2
Address: 0x0F30 Address: 0x0F30
Content: Content:
bHasCustomAesKey: true/false bHasCustomAesKey: true/false
Address: 0x0F40 Address: 0x0F40
Content: Content:
0: F_LOCK 0: F_LOCK
1: 350TX 1: 350TX
2: KILLED 2: KILLED
3: 200TX 3: 200TX
4: 500TX 4: 500TX
5: 350EN 5: 350EN
6: ScrambleEnable 6: ScrambleEnable
7: live_DTMF_decoder 7: live_DTMF_decoder
Address: CEC_EEPROM_START1 = 0x1D50 Address: CEC_EEPROM_START1 = 0x1D50
Content: Content:
LiveSeekMode LiveSeekMode
CW_KEYTYPE CW_KEYTYPE
CW_SPEED CW_SPEED
CW_TONE CW_TONE

View file

@ -630,7 +630,7 @@ def do_download(radio):
if DEBUG_WRITE_RADIO_HEXDUMP: if DEBUG_WRITE_RADIO_HEXDUMP:
hex_data = _convert_to_intel_hex(eeprom) hex_data = _convert_to_intel_hex(eeprom)
_save_to_hex_file(hex_data, "radio_dump.hex") _save_to_hex_file(hex_data, "/tmp/radio_dump.hex")
return memmap.MemoryMapBytes(eeprom) return memmap.MemoryMapBytes(eeprom)