281 lines
9.3 KiB
Plaintext
281 lines
9.3 KiB
Plaintext
|
|
Changed dID response to "UM_TX_LOADER"
|
||
|
|
Trouble connecting from UM_Setup. Connects to Realterm OK.
|
||
|
|
Found that setting vcp.DtsEnable = true in C# allows connection
|
||
|
|
New problem: Data larger than 64 bytes throws semaphore exception in C#
|
||
|
|
Believe this is because of the max USB packet size in usb_device_config.h
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
11/5/2023 - Started with TX_Loader project with USB and FLASH support
|
||
|
|
REVERT BOOTLOADER CHANGES
|
||
|
|
Changed dID response to "UM_TX"
|
||
|
|
Revert bootloader changes in ctimer_match0_callback()
|
||
|
|
Left USB_Update() call
|
||
|
|
Main.c
|
||
|
|
Removed bootloader function calls
|
||
|
|
Enabled all code from application
|
||
|
|
PROGRAM FLASH SETTINGS
|
||
|
|
Changes MCU Settings: FLASH start @ 0x10000, size 0x30000
|
||
|
|
This gives 192kB for the Application program in FLASH
|
||
|
|
Application builds to 105kB without optimization
|
||
|
|
UM SETUP SUPPORT
|
||
|
|
Added support for pLoaderRunRequest and pClearProgramFlag
|
||
|
|
Added USB_ProcessFrequencyCommand() for handling UM Setup frequency commands
|
||
|
|
SYSTEM
|
||
|
|
Added system.c/h for system strings
|
||
|
|
|
||
|
|
|
||
|
|
UMTX v0.90 11/10/2023
|
||
|
|
SYSTEM
|
||
|
|
Added SYSTEM_DATA_t struct with system data
|
||
|
|
EEPROM ISSUE
|
||
|
|
Found a conflict with the CTIMER0 interrupt - interrupts corrupt EEPROM data
|
||
|
|
Solved by stopping CTIMER0 during EEPROM data transfers
|
||
|
|
Added TMR_Start() and TMR_Start() to control the timer from eeprom.c
|
||
|
|
EEPROM
|
||
|
|
Added support for UINT32 and uint8_t[] read and write to EEPROM
|
||
|
|
Filled out eeprom.c/h
|
||
|
|
Added EE_LoadData() and EE_SaveData()
|
||
|
|
Call load on startup, call save on power down
|
||
|
|
Load / save support for system data only.
|
||
|
|
TODO: Add frequencies and operating states
|
||
|
|
UM SETUP SUPPORT
|
||
|
|
Added support for system info
|
||
|
|
|
||
|
|
UMTX v0.91 11/11/2023
|
||
|
|
MERGE
|
||
|
|
Pulled in Keith's changes from 10/21/23 through 11/10/23
|
||
|
|
|
||
|
|
UMTX v0.92 11/15/2023
|
||
|
|
Unit to Italy, Normal running mode, 263Hz reduced.
|
||
|
|
|
||
|
|
UMTX v0.93 11/16/2023
|
||
|
|
Test Mode for Yao.
|
||
|
|
|
||
|
|
UMTX v0.94 11/16/2023
|
||
|
|
Fixed bug in Test Mode caused by 2nd DDS intermittent turn on.
|
||
|
|
|
||
|
|
UMTX v0.95 12/06/2023
|
||
|
|
Fixed bug in causing DDS incorrect initial power up errors.
|
||
|
|
|
||
|
|
UMTX v0.96 12/08/2023
|
||
|
|
Softer shut down when using clamp. Improved Overcurrent implemented.
|
||
|
|
|
||
|
|
UMTX v1.0 12/12/2023
|
||
|
|
Improved HV blocking HF always blocked. Over power bug fixed.
|
||
|
|
|
||
|
|
UMTX v1.1 12/xx/2023
|
||
|
|
MENU
|
||
|
|
ON_OFF_KEY press exits to main screen from any menu
|
||
|
|
Changed menu order so that optional menu lines are last and can be hidden easily
|
||
|
|
Updated Main menu text in MENU_Init()
|
||
|
|
Updated submenu calls in Menu_Main()
|
||
|
|
Updated menu line display in MENU_DisplayMain()
|
||
|
|
Hid Language menu (until language support is ready)
|
||
|
|
Hid Link Radio and Regulatory menus for Tx10
|
||
|
|
Added Diagnostics screen
|
||
|
|
Added SystemInfoMenu() to control DisplaySystemInfo() and DisplayDiagnostics()
|
||
|
|
Fixed BC cycling issue. Clamp blocking fixed, Clamp overwrite of BC display fixed.
|
||
|
|
Frequency init fixed. Time delay between modes and power off improved, Taps issue fixed,
|
||
|
|
Clamp measurements removed from display.
|
||
|
|
|
||
|
|
|
||
|
|
UMTX v1.1b 12/xx/2023
|
||
|
|
Fixes to Display of V,I,R.
|
||
|
|
Added additional filtering slower k factor.
|
||
|
|
Fixed divide by zero in Ohms calculation
|
||
|
|
|
||
|
|
UMTX v1.2b 12/27/2023
|
||
|
|
Fixed, Adc faster measurements, added catchup for power adjustment, Taps forced,
|
||
|
|
lowered trickle,current limits trimmed.System checking delayed after adjustment.
|
||
|
|
|
||
|
|
UMTX v1.2c 12/27/2023
|
||
|
|
Fixed ESTOP.
|
||
|
|
|
||
|
|
UMTX v1.2d 12/28/2023
|
||
|
|
Disabled H/W when USB connected, Reset power level to zero when switching modes, reduced
|
||
|
|
power in broadcast.
|
||
|
|
|
||
|
|
UMTX v1.2e 01/02/2023
|
||
|
|
Fixed USB connected during run time, fixed s/c current and power adjust after keypress.
|
||
|
|
Changed PSU sequencing when switching.
|
||
|
|
|
||
|
|
UMTX v1.2f 01/03/2023
|
||
|
|
Fixed stuck power increase, missing taps case, overcurrent standby in very low impedance improved.
|
||
|
|
|
||
|
|
UMTX v1.2g 01/03/2023
|
||
|
|
Trickle current increased, current adjust held off in PL1
|
||
|
|
|
||
|
|
UMTX v1.2j 01/03/2023
|
||
|
|
AB amp limited to 500mA.
|
||
|
|
|
||
|
|
UMTX v1.2k 01/04/2023
|
||
|
|
Fixed step from Blocking cap transition on PL1.
|
||
|
|
|
||
|
|
UMTX v1.2l 01/04/2023
|
||
|
|
ADC offset fixed.
|
||
|
|
|
||
|
|
UMTX v1.2 01/04/2024
|
||
|
|
ADC offset fixed.
|
||
|
|
|
||
|
|
|
||
|
|
UMTX v1.2aa 01/05/24
|
||
|
|
ADC
|
||
|
|
Applied current offset (was not turned on)
|
||
|
|
Remove ADC channel 9 - was USB VBUS = not used
|
||
|
|
Added voltage offset measurement at startup
|
||
|
|
Apply voltage offset in ADC_Update()
|
||
|
|
Added error detection to vos and ios measurements
|
||
|
|
ISSUE: If debugging program from running program, outputs keep running and offsets will measure them!
|
||
|
|
DIAGNOSTICS
|
||
|
|
Added voltage and current offsets
|
||
|
|
Added vos and ios measurements and error status
|
||
|
|
|
||
|
|
UMTX v1.2ab
|
||
|
|
ADC
|
||
|
|
Updated voltage and current offsets to use OK instead of error flags
|
||
|
|
Check for +/- 30 counts from midScale (was only checking one side)
|
||
|
|
MENU
|
||
|
|
Updated to use OK flag
|
||
|
|
|
||
|
|
UMTX v1.2ac
|
||
|
|
Checked out from new svn repo: https://yuriykc.dyndns.info:48443/svn/utility/TX/App/Trunk
|
||
|
|
Build to make sure it's all working
|
||
|
|
Had to add libpower_cm4_hardabi.a and _softabi.a
|
||
|
|
|
||
|
|
UMTX v1.3 01/09/24
|
||
|
|
same as v1.2ac except USB turned on in main.
|
||
|
|
|
||
|
|
|
||
|
|
UMTX v1.3M 02/09/24
|
||
|
|
Updated with adc improvement plus usb additional peripherals inits removed.
|
||
|
|
Also contains Alakline battery fixes, new battery calculator for lithium. Class AB protection.
|
||
|
|
ADC_REF change.
|
||
|
|
|
||
|
|
UMTX v1.3R 03/06/24
|
||
|
|
Gain key lock out. PSU Monitor,Blocking cap moved,Safe output after changing hi/lo ,lo hi frequencies.
|
||
|
|
System timer fixed. Short detection sped up.
|
||
|
|
|
||
|
|
UMTX v1.3S 03/08/24
|
||
|
|
Improved gain handling, improved PSU monitor, improved wrap around.Updated alkaline selection.
|
||
|
|
|
||
|
|
UMTX v1.3T 03/14/24
|
||
|
|
Battery voltage changed, Blocking cap operation changed. PL1 on start, Clamp Dc display bug fixed.
|
||
|
|
USB plug in fixed, Error 2 fix, Error 1 fix.
|
||
|
|
|
||
|
|
UMTX v1.3U 03/22/24
|
||
|
|
Temporary incomplete save.
|
||
|
|
|
||
|
|
|
||
|
|
UMTX v1.3V 03/27/24
|
||
|
|
System timer, fixed. Lowered current steps in HF, increased protection of AB amp. Taps bug fix.
|
||
|
|
Improved regulation. HF current measurement fixed. Frequency initial fixed. Improved display software.
|
||
|
|
|
||
|
|
UMTX v1.3W 03/28/24
|
||
|
|
Contains battery fix plus selectable hidden menu for recording H/w changes.
|
||
|
|
|
||
|
|
UMTX v1.3X 04/02/24
|
||
|
|
Contains battery life changes, updated live voltage check, updated battery eol check, updated
|
||
|
|
current demand limitation in high frequencies.
|
||
|
|
UMTX v1.3X1 04/03/24
|
||
|
|
Contains additional menus to select between ASSY changes.
|
||
|
|
|
||
|
|
UMTX v1.3X2 04/03/24
|
||
|
|
Fixes battery scaling error, fixes clamp auto adjustment error.
|
||
|
|
UMTX v1.3X3 04/03/24
|
||
|
|
Fixes 29K, amplitude, and H/W board p/n fix
|
||
|
|
|
||
|
|
UMTX v1.3X4 04/08/24
|
||
|
|
HF measurement fix in LOW gain, Ohms display updated to k Ohms.
|
||
|
|
|
||
|
|
UMTX v1.6 04/09/24
|
||
|
|
HF measurement fix in LOW gain(Not complete) , Ohms display updated to k Ohms. Not recommended for HF
|
||
|
|
due to current measurement error.
|
||
|
|
|
||
|
|
v1.7A 04/xx/2024
|
||
|
|
CURRENT SCALING
|
||
|
|
Changed 208023 tables to 208025
|
||
|
|
208023 does NOT use high frequencies and tables are almost identical up to 45k
|
||
|
|
208023 and 208025 will both use 208025 tables
|
||
|
|
Renamed MeasureXxxCurrent208023 -> 208025
|
||
|
|
|
||
|
|
v1.7 04/12/24
|
||
|
|
Updated lowcurrent table. Changes adcinit til after the splash screen, added power up delay for high voltage
|
||
|
|
adc reading.
|
||
|
|
|
||
|
|
v1.8A 05/30/24
|
||
|
|
Supports 200K and 132K. Allows user to cycle frequencies without forcing zero when transitioning from
|
||
|
|
High to Low frequency and vice versa.
|
||
|
|
|
||
|
|
v1.8B 05/30/24
|
||
|
|
Changed 132K to 132110Hz.
|
||
|
|
|
||
|
|
v1.8C 05/31/24
|
||
|
|
MODE Key used to toggle HI_GAIN.
|
||
|
|
|
||
|
|
v1.8D 06/03/24
|
||
|
|
Updated coefficient for low gain in 200KHz in 208025.
|
||
|
|
v1.8E 06/03/24
|
||
|
|
Same as 1.8D.
|
||
|
|
|
||
|
|
v1.8F 06/05/24
|
||
|
|
Updated Coefficients for 131K and 200KHz.
|
||
|
|
|
||
|
|
v1.8J 07/17/24
|
||
|
|
Updated Coefficients for 131K and 200KHz.
|
||
|
|
|
||
|
|
v1.8K 07/17/24
|
||
|
|
Updated Coefficients for 131K and 200KHz.
|
||
|
|
|
||
|
|
v1.8L 07/31/24
|
||
|
|
Released 12K and 16K to Leica for testing purposes.
|
||
|
|
|
||
|
|
v1.8M 08/02/24
|
||
|
|
Released Rewrites H/W Assy number to 208025 if 208021 found in EEPROM
|
||
|
|
Released to Leica for testing purposes.
|
||
|
|
|
||
|
|
v1.8N 09/06/24
|
||
|
|
Default Language fix, LD disabled, TX10 changed to 10W.
|
||
|
|
|
||
|
|
v1.8P 09/06/24
|
||
|
|
Updated Leica P/n and System info menu and splash screen.
|
||
|
|
|
||
|
|
v1.8R 09/09/24
|
||
|
|
High frequency Power monitor updated.
|
||
|
|
|
||
|
|
v1.8S 09/09/24
|
||
|
|
High frequency Power monitor updated and Leica PN updated.
|
||
|
|
v1.9 09/09/24
|
||
|
|
Released version of v1.8S.
|
||
|
|
|
||
|
|
v1.9X 09/09/24
|
||
|
|
Not released, contains updated High Voltage protection, LD but disabled, Ext 12V, 25W Enabled.
|
||
|
|
|
||
|
|
v1.9Y 04/23/25
|
||
|
|
Not released, contains updated High Voltage protection, LD but disabled, Ext 12V, 25W Enabled.
|
||
|
|
Updated but not complete Clamp changes.
|
||
|
|
v1.9Z 04/23/25
|
||
|
|
Not released, contains updated High Voltage protection, LD but disabled, Ext 12V, 25W Enabled.
|
||
|
|
Updated but not complete Further updated Clamp changes.
|
||
|
|
|
||
|
|
|
||
|
|
DIAGNOSTICS
|
||
|
|
Added main PCBA PN to Diagnostics1 screen
|
||
|
|
HWFIXES
|
||
|
|
Changed HWF_MAX_MAIN_PCBA_PN to 208025
|
||
|
|
|
||
|
|
>>>>>>>>>>>>>>>>>>>>>>>>>>>> TX_App Debugging and Bootloader compatible builds <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||
|
|
|
||
|
|
Debugging requires that the application be built to run at FLASH address 0
|
||
|
|
The bootloader requires that the application be built at 0x10000
|
||
|
|
To change this: Project > Properties > C/C++ Build > MCU Settings >
|
||
|
|
TX_App: PROGRAM_FLASH Location = 0x10000 Size = 0x30000
|
||
|
|
TX_Loader: PROGRAM FLASH Location = 0x0 Size = 0x10000
|
||
|
|
|
||
|
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
TODO: Add support for UM Setup "pEraseAllData" command
|
||
|
|
Needs to erase all EEPROM data except the bootloader section
|