Keyboard Shortcuts
Likes
Search
Re: T41 partially thawed
Robert: I wouldn't do it yet, but over the years I've had to reinstall everything from the IDE to the TeensyDuino to all the libraries. After doing that, it worked. I have no clue why...it just did. I've worked 40 of the last 48 hours on Al's edits to the book, plus adding my own. This will be the last update for the book. If I work a few more hours tonight, I should have only 3 chapters to go, which I'll hopefully finish tomorrow night. Then I'll get back to finishing my T41 and can start testing it again. I'll keep you posted. Jack, W8TEE
On Sunday, March 16, 2025 at 08:10:19 PM EDT, Robert Luken W3RDL via groups.io <now.w3rdl@...> wrote:
Jack, thanks for the help. I'm still trying to figure out what has changed. All of the SDT Versions were working until I changed the position of the Temp display and compiled. There was a popup message about some libraries had updates and I made the mistake of clicking ok. Every version freezes now. The only exception is Ver50.2 when compiled with Faster and not Faster with LTO.? I reinstalled the IDE and all of the libraries, but they were probably the latest versions, so if it's a new library version, I have no idea which one. I did some more tests Ver50.2
: Version 66.1: It appears that system runs at 600MHz and freezes at 528MHz. On 3/16/2025 2:21 PM, jjpurdum via
groups.io wrote:
The stack space is probably
large enough here not
to be a problem. The other version make me uncertain. My
system is still in parts as Al and I are finishing up the last
update for the book. I'm still a week away from a working
system..
Jack, W8TEE
On Sunday, March 16, 2025 at 11:15:46 AM EDT, Robert
Luken W3RDL via groups.io
<now.w3rdl@...> wrote:
Jack, I recompiled SDTVer066.1_2-24_25 (Arduino IDE 2.3.4) unmodified(original config.h) with: Smallest Code with LTO 528MHz Serial Statistics: Memory Usage on Teensy 4.1: Compiled with Smallest code Memory Usage on Teensy 4.1: The header in the
.ino file says it should be:
Memory Usage on
Teensy 4.1:
? ?RAM1:
variables:219584, code:210408, padding:18968 ?
free for local variables:75328
? ?RAM2:
variables:409920 ?free for malloc/new:114368
I
don't know what this means, but if I run from a cold
start(CPU Temp ~ 30C, it runs for about 15 secs,
Temp 32.5C.
The
hotter it is the shorter the run time.
Running
with the Ver50.x, it stabilizes ~41C and runs fine.
All
of the Ver66.x releases have run before with Faster
with LTO and I was able to go through the Freq and
Receive IQ cal.
Also
between Ver 50.x and 66.x the Tx and Rx LEDs are
swapped.
On
3/16/2025 9:48 AM, jjpurdum via groups.io wrote:
What happens if you compile with the
smallest code option? In the compile statistics,
what values do you see
Memory Usage on Teensy 4.1:
? FLASH: code:10228, data:3016, headers:8256?? free for files:8104964 ?? RAM1: variables:3808, code:7664, padding:25104?? free for local variables:487712 ?? RAM2: variables:12416? free for malloc/new:511872 (These data are for the ASCII table
example program.)
Jack, W8TEE
On Saturday, March 15, 2025 at 10:28:04 PM
EDT, Robert Luken W3RDL via groups.io <now.w3rdl@...>
wrote:
I removed the Arduino IDE 2.3.4 and
reinstalled it along with Teensyduino
and the libraries. I compiled SDTVer50.2
and it loaded and ran. Everything
worked. Thought problem was fixed so I
compiled and loaded SDT Ver66.7. It
froze at random points every time I
restarted it. I went back to the
SDTVer50.2 and recompiled and it froze
this time. What's going on? Then I
realized that the first time I compiled
the SDTVer50.2 I had forgotten to change
the compile options to those suggested
(Faster with LTO, 528 MHz and Serial).
It was set for Faster and 600MHz. I
compiled again with the Faster and
600MHz and it ran fine. I tried compiling SDTVer66.1 with
Faster and 600MHz. Compile failed with
an out of memory message. Tried
SDTVer66.1 with Faster with LTO and
528MHz. Compiles but freezes. It ran
prior to this, hardware wasn't changed,
so I don't know what it takes to run the
Ver66 code. Is Arduino IDE 2.3.4 what
others are using? 73 Bob W3RDL -- Jack, W8TEE -- 73 Bob W3rdl -- Jack, W8TEE -- 73
Bob W3RDL -- Jack, W8TEE |