Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi,
I'm using AM5728 IDK, SDK version is 5.03.
In my app I need to properly debug EMAC.
I rebuilt EMAC with debug info by editing
ti/pdk_am57xx_1_0_14/packages/ti/build/Rules.make
and setting BUILD_PROFILE to debug
I can see that indeed the build output goes to debug directory instead of release.
When I build my app with CCS9 I get
generating custom ti.sysbios library makefile ...
Linking with library ti.transport.ndk.nimu:./lib/am572x/a15/release/ti.transport.ndk.nimu.aa15fg
Linking with library ti.drv.emac:./lib/am572x/a15/release/ti.drv.emac.aa15fg
Linking with library ti.board:./lib/idkAM572x/a15/release/ti.board.aa15fg
Linking with library ti.drv.i2c:./lib/a15/release/ti.drv.i2c.aa15fg
Linking with library ti.drv.uart:./lib/a15/release/ti.drv.uart.aa15fg
Linking with library ti.osal:./lib/tirtos/a15/release/ti.osal.aa15fg
Linking with library ti.csl:./lib/am572x/a15/release/ti.csl.aa15fg
And when I step debug it feels like the library was built with optimization.
I guess I need to config the project to link with the debug version of the libraries, but I don't know how to do this.
How can I properly debug EMAC?
Thanks,,
Nir.