Compile Options:
??? Faster with LTO
??? 528MHz
??? Dual Serial
I had tried dual serial? when there was no Serial Monitor output
with Serial. With dual there is no display at all.
I did have MAIN_BOARD_ATTINY_SHUTDOWN defined.
There were numerous unused variable warnings and this:
??? In function 'void TwoToneTest()':
??? cc1plus.exe: warning: statement will never be executed
[-Wswitch-unreachable]
Memory Usage on Teensy 4.1:
? FLASH: code:311964, data:133432, headers:8228?? free for
files:7672840
?? RAM1: variables:195840, code:288328, padding:6584?? free for
local variables:33536
?? RAM2: variables:483744? free for malloc/new:40544
"C:\\Users\\w3rdl\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.59.0/stdout_redirect"
"C:\\Users\\w3rdl\\AppData\\Local\\arduino\\sketches\\53465F69866BB42B5CF1A9D146FC02C0/SDTVer066_7_03_08_25.ino.lst"
"C:\\Users\\w3rdl\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1/arm/bin/arm-none-eabi-objdump"
-d -S -C
"C:\\Users\\w3rdl\\AppData\\Local\\arduino\\sketches\\53465F69866BB42B5CF1A9D146FC02C0/SDTVer066_7_03_08_25.ino.elf"
Multiple libraries were found for "LinearRegression.h"
? Used: Y:\Documents\Arduino\libraries\Linear_Regression
? Not used: Y:\Documents\Arduino\libraries\Regressino
Using library Adafruit MCP23017 Arduino Library at version 2.3.2
in folder:
Y:\Documents\Arduino\libraries\Adafruit_MCP23017_Arduino_Library
Using library Adafruit BusIO at version 1.17.0 in folder:
Y:\Documents\Arduino\libraries\Adafruit_BusIO
Using library Wire at version 1.0 in folder:
C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Wire
Using library SPI at version 1.0 in folder:
C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SPI
Using library Chrono at version 1.2.0 in folder:
Y:\Documents\Arduino\libraries\Chrono
Using library Linear Regression at version 1.0 in folder:
Y:\Documents\Arduino\libraries\Linear_Regression
Using library Regression at version 1.0.1 in folder:
Y:\Documents\Arduino\libraries\Regression
Using library Adafruit GFX Library at version 1.12.0 in folder:
Y:\Documents\Arduino\libraries\Adafruit_GFX_Library
Using library OpenAudio_ArduinoLibrary-master in folder:
Y:\Documents\Arduino\libraries\OpenAudio_ArduinoLibrary-master
(legacy)
Using library Audio at version 1.3 in folder:
C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Audio
Using library SD at version 2.0.0 in folder:
C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SD
Using library SdFat at version 2.1.2 in folder:
C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SdFat
Using library SerialFlash at version 0.5 in folder:
C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\SerialFlash
Using library Time at version 1.6.1 in folder:
C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Time
Using library Metro in folder:
C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Metro
(legacy)
Using library Bounce in folder:
C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\Bounce
(legacy)
Using library Timer at version 1.2.1 in folder:
Y:\Documents\Arduino\libraries\Timer
Using library RA8875 at version 0.7.11 in folder:
C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\RA8875
Using library EEPROM at version 2.0 in folder:
C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\EEPROM
Using library ArduinoJson at version 7.3.1 in folder:
Y:\Documents\Arduino\libraries\ArduinoJson
"C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.59.0/teensy_post_compile"
"-file=SDTVer066_7_03_08_25.ino"
"-path=C:\Users\w3rdl\AppData\Local\arduino\sketches\53465F69866BB42B5CF1A9D146FC02C0"
"-tools=C:\Users\w3rdl\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.59.0"
"-board=TEENSY41" -reboot "-port=usb:0/1A0000/0/1/4/4/1"
"-portlabel={serial.port.label}"
"-portprotocol={serial.port.protocol}"
On 3/12/2025 3:56 PM, Albert Peter via
groups.io wrote:
Hi,
?V66-7 is still evolving, so there may be problems. One is the
SWR I2C. 66-7 assumes use of the AD7991 and no push button
on-off. That is still in progress.? How are you configured? It
is also single Serial at present. What do you show on the I2C
startup list? I will try to duplicate this issue or provide a
fix, but I need more info.
Thanks,
Al
Al, I was using
Ver66-4 and was successful doing the Frequency C and Receive IQ
Cal. All Bands were -75 to 80 Db. I had moved the Temp display
to the Top but it was cutting off the top of the Fonts so I
moved it up a few pixels. When I rcompied, I got a message about
updated libraries available and foolishly click ok. I was not
able to compile(some variables not found). I tried chasing them
down, but finally gave up. So I reset the Teensy back to Blink
and reloaded all of the libraries, including Teensyduino.
Finally compiled but system hangs at the Splash Screen. Today I
tried 66-7, compiled with "Faster wit LTO", 528MHz, and Serial.
It compiled and hangs on the Splash Screen and nothing on Serial
Monitor. I normally use Dual Serial, so I tried that and it
doesn't even get to the Splash Screen. Not sure what to try
next.
On 3/12/2025 10:32 AM, Albert Peter via groups.io wrote:
Hi,
I just took the Zip file and used that specific sketch to
upload, everything worked just fine. My memory allocations are
different, however. The options I used to compile are:
-
Teensy 4.1
-
Faster
with LTO
-
528 MHzz
-
Serial port
-
Memory usage is?
Memory Usage on Teensy 4.1:
? FLASH: code:305724,
data:132320, headers:8412 ? free for
files:7680008
? ?RAM1: variables:194496, code:286280, padding:8632 ? free
for local variables:34880
? ?RAM2: variables:471424 ?free for malloc/new:52864
My guess is that you are using one of the optimize options
that minimizes memory, and something is overwriting another
variable or the stack.
Try the settings above and see what happens.
Al
Thanks
Al.? I have loaded the new SW after erasing the Teensy
memory.? The T41 boots with version 66.8, even though the zip
file says 66.7.? However, after bootup, the screen is frozen
and no buttons or encoders work.? Below is what the arduino
IDE 2.3.2 displays after uploading.? Is the unused variable
warning significant?
dave,
n3ds
C:\Engineering\Ham
Radio\Projects\T41SDT Xcvr Project\T41 v12\T41
Software\SDTVer066_7_03_08_25\SDTVer066_7_03_08_25\SDTVer066_7_03_08_25.ino:
In function 'void setup_cw_transmit_mode()':
C:\Engineering\Ham Radio\Projects\T41SDT Xcvr Project\T41
v12\T41
Software\SDTVer066_7_03_08_25\SDTVer066_7_03_08_25\SDTVer066_7_03_08_25.ino:3010:9:
warning: unused variable 'transmitPowerLevelCWTemp'
[-Wunused-variable]
?3010 | ? float transmitPowerLevelCWTemp;
? ? ? | ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~
Memory Usage on Teensy 4.1:
? FLASH: code:280924,
data:133432, headers:8548 ? free for
files:7703560
? ?RAM1: variables:195712, code:258520, padding:3624 ? free
for local variables:66432
? ?RAM2: variables:483744 ?free for malloc/new:40544
On Tue, Mar 11, 2025 at 6:40?PM
Albert Peter via ?<albertfpeter=
[email protected]> wrote:
Hi,?
Jack and I are working on an official release, but until
then , try this one. It has revised calibration code. Also,
the preliminary Cal Instructions are attached.
Al
66.4
On Mar 11, 2025, at 5:39?PM,
Albert Peter via ?<albertfpeter=
[email protected]>
wrote:
?Hi,?
What software version are you
using??
Al
?
My T41 seems to be mostly
working, but I have not been able to do the Transmit IQ
Calibration.? I am injecting 750Hz into the mic input,
but I don't see any sidebands.? It appears that I am not
modulating.? Is there a way to check the audio hat.? I
have two of them, and they both work the same.? I do see
the 750Hz coming on the Main board.?
?
I am using a KiwiSDR as my
receiver for the cal procedure.? Any suggestions on how
to proceed with troubleshooting?
?
I can do the freq cal,
receiver cal, cw power amp cal.
?
dave, n3ds
--
73 
Bob W3RDL
--
73
Bob W3rdl