-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant debug anymore - Memory limit in RS41? #76
Comments
OK i selected only one mode now on 4032 Chip - not 3 at the same time to debug the mix of it. BAD NEWS:
But unfortunately the MAKE will show the linker has problems. It will not fit anymore into memory. See here:
I am very depressed about this, because without debuging i cant continue my project. regards |
@whallmann This is a known issue with the firmware, as with the Si5351 code and all the additional modes, the code size gets very close to the RS41 limit. Can you try to disable ALL other features and only leave the Si5351 TX enabled (with only 1 mode) and debugging enabled? That might help. |
Hi,
nice idea but sorry, this was the first try with only one si5351 mode. This
is still enough to get the overflow message. No other modes are set true.
No chance this way to analyse why si5351 will not transmit anything.
Meanwhile i tried to use the LEDs to catch some visible infos if a code
line is reached. This way i finally cougth the info that the si5351-handler
inits the board successfully but i am not shure if 30 seconds are nessesary
for this. Within the c++ code its hard to get the led signals to address.
so i gave up for now.
cheers
Wolf
Mikael Nousiainen ***@***.***> schrieb am Mo., 18. Dez. 2023,
22:04:
… @whallmann <https://github.com/whallmann> This is a known issue with the
firmware, as with the Si5351 code and all the additional modes, the code
size gets very close to the RS41 limit.
Can you try to disable ALL other features and only leave the Si5351 TX
enabled (with only 1 mode) and debugging enabled? That might help.
—
Reply to this email directly, view it on GitHub
<#76 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKZWUBWKXFIQNRX5GPKQSLYKCVXVAVCNFSM6AAAAABAA5YWAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRRGYZTKOJQGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@whallmann Ok, this is then indeed a more serious issue. Currently, I don't have an easy workaround for this -- other than maybe trying to remove/comment out manually some debug print statements, because all the text in them takes space. The Si5351 library with all the digital modes supported take up a lot of space and probably should be rewritten for this purpose -- but that's a larger task... Keeping this open if anyone has suggestions or wishes to make changes to help reducing firmware size. |
Problem: if i try to use the debug system, the file size increases over a limit of 64 kb. Is there any chance to get it lower? How do you @mikaelnousiainen debug this?
Details:
If i try to enable
the make command shows this infos:
the linker shows more then 64 k so this maybe the Limit - so i cant flash to unit
BTW: without SEMIHOST Switch the Linker shows:
The text was updated successfully, but these errors were encountered: