Other Parts Discussed in Thread: TMS320F280049C, LAUNCHXL-F28069M, LAUNCHXL-F280049C
Hi,
does the TI development environment for the TMS320F28069 support a stack protection feature?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
does the TI development environment for the TMS320F28069 support a stack protection feature?
Please check out this application report Online Stack Overflow Detection on the TMS320C28x DSP
This post, https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/21371/online-stack-overflow-protection-for-piccolo may also be helpful in case you run into issues.
Best,
Matthew
Unfortunately there is no other HW that actively monitors the memory bus on this device. There is a stack analysis tool inside CCS to give an indication if there could be a potential issues for a project, but this isn't dynamic/active analysis that I assume you are looking for. View->Stack Analysis
We have added additional capability on our newer devices such as the TMS320F280049C that would allow HW BP with Stack Overflow to co-exist.
https://training.ti.com/embedded-real-time-analysis-diagnostics-erad-c2000-devices
Best,
Matthew
Yes, I have heard, that Texas Instruments has added this function to newer devices but if I take a look at the launchpad, is there still a TMS320F28069 on it.
Does Texas Instruments replace the LAUNCHXL-F28069M with the LAUNCHXL-F280049C to hunt down the problem?
Is it possible to track the size of the heap at runtime?
We are always looking to improve our devices over time either with new IP like the ERAD or enhancements to existing IP. The F28004x is a newer device than the F2806x, so that is why it has these additional features. We still sell and fully support F2806x, but it will not have the same features as our newer/latest devices.
If HW stack interrogation along with other HW breakpoints is important to your application then the F28004x is a good migration path from the F2806x device.
This post https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/910532/ccs-tms320f280049-heap-size-limition-in-ccs10 mentions the heap monitor in CCS. For a standalone implementation I believe we have the same issue of the stack, i.e. we need something to monitor the memory write bus to see if it overflows an address range.
Best,
Matthew