Jim,
Make sure you are looking at:
View -> Memory Allocation
And not Memory Browser
Memory Allocation should open in a TAB in a window within CCS. My TAB is at the bottom of CCS along with a bunch more TABs.
Bob
From: Jim McCullers via pacsat-dev <pacsat-dev@amsat.org>
Sent: Monday, January 15, 2024 6:31 PM
To: 'Pacsat Dev' <pacsat-dev@amsat.org>
Subject: [pacsat-dev] Re: Memory Problem on PacSatSW
My version of CSS is either different or how did you turn on the green lines with summary data?
I get a popup status message with similar info but not as stable or detailed as yours.
On my system, I’m showing 80% utilization.
The majority is in ucHeap (about 131k).
I’ll bet on a function somewhere allocating a chunk of memory or repeatedly doing so and never using or releasing it.
Should be ‘fun’ to find.
Jim McCullers
WA4CWI
Looks like we have an issue with memory usage in RAM
If you load up CCS with the current project PacSatSW and build it then you can select VIEW -> Memory Allocation and look at the tab. You will see the package needs 154K or RAM and the Launpad has 191K. In the case of the TMS570LS0914
we have 128K max.
You can expand RAM and the subfolders and see where the memory is being used.
I worked for the last few days getting a HalCoGen setup for the LS0914 and then murging this HCG file with the code of the Launcpad project. After working through some issues it built but when it ran the linker it errored out with not enough
memory. So faked it out and told the linker I had more memory. Then it would build and generate a .out file and the Memory Allocation info. It matches the launch pad build.
Probably need to look for ways to reduce RAM needed. Reduce buffer sizes, move buffers to external memory, or take out code.
I will be looking for things here to try and complete a basic build of the code for the LS0914. Please look for ideas and post any that you come up with. We probably should target RAM usage at about 80% of the max or about 100KB. We could
change processors later but that would need some study.
Bob