Jack, thanks again for the help. Actually I already removed and
reinstalled the IDE and everything else. I had a problem like this
before and doing that fixed it, but not this time. Maybe I should
delete everything and start with a clean slate. Good luck on the
book. Did you need any updated drawings?
On 3/16/2025 9:25 PM, jjpurdum via
groups.io wrote:
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 :
compiled with Faster with LTO, 528MHz, Dual serial -
freezes
Memory Usage on Teensy 4.1:
? FLASH: code:263052, data:132604,
headers:8820?? free for files:7721988
?? RAM1: variables:214848, code:245384,
padding:16760?? free for local variables:47296
?? RAM2: variables:487008? free for malloc/new:37280
compiled with Faster, 528MHz, Dual serial - freezes
Memory Usage on Teensy 4.1:
? FLASH: code:271308, data:136116,
headers:8316?? free for files:7710724
?? RAM1: variables:221024, code:240792,
padding:21352?? free for local variables:41120
?? RAM2: variables:422208? free for
malloc/new:102080
compiled with Faster, 600MHz, Dual serial - runs,
did freq cal
Memory Usage on Teensy 4.1:
? FLASH: code:271308, data:136116,
headers:8316?? free for files:7710724
?? RAM1: variables:221024, code:240792,
padding:21352?? free for local variables:41120
?? RAM2: variables:422208? free for
malloc/new:102080
compiled with Faster with LTO, 600MHz, Dual serial -
runs, did freq cal
Memory Usage on Teensy 4.1:
? FLASH: code:263052, data:132604,
headers:8820?? free for files:7721988
?? RAM1: variables:214848, code:245384,
padding:16760?? free for local variables:47296
?? RAM2: variables:487008? free for malloc/new:37280
"C:\\Users\\w3rdl\\AppData\\Local\\Arduino15\\package
Version 66.1:
compiled with Faster with LTO, 600 MHz,? serial
Memory Usage on Teensy 4.1:
? FLASH: code:306044, data:131296,
headers:9116?? free for files:7680008
?? RAM1: variables:193152, code:282312,
padding:12600?? free for local variables:36224
?? RAM2: variables:471424? free for malloc/new:52864
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:
? FLASH: code:208488, data:128216,
headers:8380?? free for files:7781380
?? RAM1: variables:189568, code:197768,
padding:31608?? free for local variables:105344
?? RAM2: variables:471456? free for
malloc/new:52832
Compiled with Smallest code
Memory Usage on Teensy 4.1:
? FLASH: code:235292, data:164296,
headers:8980?? free for files:7717896
?? RAM1: variables:244864, code:216568,
padding:12808?? free for local
variables:50048
?? RAM2: variables:406624? free for
malloc/new:117664
The
header in the .ino file says it
should be:
Memory
Usage on Teensy 4.1:
? FLASH: code:228876,
data:161312,
headers:9164 ? free for
files:7727112
?
?RAM1: variables:219584,
code:210408, padding:18968 ? free
for local variables:75328
?
?RAM2: variables:409920 ?free for
malloc/new:114368
Both freeze after the Setup Complete
message.
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 to you!
73
Bob W3RDL
--
Jack, W8TEE
--
73
Bob W3rdl
--
Jack, W8TEE
--
--
Jack, W8TEE
--
73
Bob W3RDL
|