Part Number: SIMPLELINK-CC13X2-26X2-SDK
Other Parts Discussed in Thread: UNIFLASH
Tool/software: Code Composer Studio
Hi,
Background
I use CCS 10.1 along with Launchpad-CC13x2 and SDK 4.20.
I work on the custom c++ project that is built on top of the "hello" template. I use GNU 9.2.1 toolchain.
So far the program has
.text - 171849
.data - 15108
.bss - 34828
There is still plenty of room to use. We didn't even approach half of the CC13x2 capabilities...
Problem definition
Recently, I've discovered that the time necessary to launch the debug session has reached an unacceptable boundary.
Results
When I use the CCS automatic chain, the time necessary to start the debug session exceeds 4.5 min.
Fortunately, I can speed up this process a bit by using UniFlash and manually attaching a debugger.
Flashing (uniflash) - 12s
Attaching debugger - 2-5s (connect target/connect core)
Loading debug symbols - 1min 50s
Better, but still beyond imagination... Moreover, this approach is not so convenient.
Loading symbols is extremely time-consuming. The .out file has 24MB.
I've thought about splitting .out into executable and separate .debug information but I have no idea if it's a case.
Maybe, we can somehow prepare this file to be "better" consumed by the IDE.
Questions:
Assuming I use the second approach, how can I speed up the loading symbols process?
How can I speed-up the automatic CCS debug chain?
What can I do (prepare) for you to let you solve this problem?
Remarks
I believe the programs are getting bigger mainly due to the device capabilities so this problem can be essential to solve.
----------
In the meantime, I've checked splitting the .out file into separate executable file and debug info.
The sequence was as follows:
arm-none-eabi-objcopy --only-keep-debug $@ $@.debug
arm-none-eabi-objcopy --strip-unneeded $@
arm-none-eabi-objcopy --add-gnu-debuglink=$@.debug $@
Unfortunately, even when I load symbols from the separate .debug file, it doesn't speed up the process.
----------
Regards,
Adam