2025-08-23 3:29 PM
Working with getting TraceRecorder to work with an L562 project.
When the tracerecorder software is added (using the package), SYS_DBG_ENABLE_TA4 is set to 0, which inactivates the feature.
SYS_DBG_ENABLE_TA4 has to be manually set to 1 to enable the feature. So far, so good. Get it working, and then decide to make a change to the .ioc file. exit configurator.
SYS_DBG_ENABLE_TA4 is reset to zero.
If it is set, PLEASE leave it that way, since it makes no sense to reset it. Amazing the number of errors you can get on default settings (like streaming mode taking almost half a megabyte of memory or more).
I'm regarding this as a bug.
Thanks.
2025-08-23 4:04 PM
Oh, and should add yet another inconvenience.
For the L562 series, the FreeRTOS version is 10.3.1 as given by the IDE.
The IDE, when generating code, changes the version in trcKernelPortConfig.h to 10.6.2.
This causes more errors.
Please fix that as well.
2025-08-26 3:16 AM
Hello @Harvey White
Thank you for your contribution!
Could you please attach your IOC file in order to investigate the issue?
KR,
Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-08-26 9:40 AM
2025-08-26 5:05 PM
To try to get all of the problems:
SYS_DBG_ENABLE_TA4 reset to zero.
trcKernelPortConfig.h
line 69, TRC_CFG_FREERTOS_VERSION reset to 10_6_2, ignores version in .IOC This causes definition errors.
in trcSnapshotConfig.h
Line 50: TRC_CFG_EVENT_BUFFER_SIZE (60*1000) set as a default. Ignores previous settings. causes program SRAM overflow in compilation. ignores words about "default value"
in trcStreamPortConfig.h
Line 33:
#define TRC_CFG_STREAM_PORT_BUFFER_SIZE (4*130*1000) set as a default: that ignores previous settings,
I think that covers them all.
Not sure what the exact solution should be, but what I'd like to see is a panel setup like FreeRTOS, where the parameters. We do need a way to keep default parameters.