Re: Memory Problem on PacSatSW

Is there a variant of the TMS570LS0914 that has more memory? That might be the easiest fix. Note that what you call "external memory", really MRAM, is relatively slow. MRAM is also fairly small. It's big advantage is that it is non-volatile and fairly radiation resistant (and has a lot of space heritage with AMSAT and others).
73,
Burns Fisher, WB1FJ *AMSAT(R) Engineering -- Flight Software*
On Mon, Jan 15, 2024 at 4:16 PM Jim McCullers via pacsat-dev < [email protected]> wrote:
Since it ran and worked I never explored memory usage.
I have to reconnect the development system and will cross check your findings.
That’s far more ram than I would have expected.
Jim
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
pacsat-dev mailing list -- [email protected] View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/[email protected] To unsubscribe send an email to [email protected] Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org
participants (1)
-
Burns Fisher (AMSAT)