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.

RTOS/TDA2PXEVM: Supporting marvel ethernet on TDA2PX custom board

Part Number: TDA2PXEVM
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hi

In reference with the query i have tried to trace the flow of execution for networking component for PSDK3.03 in sysbios all configuration for existing configuration (for DP83867) in ndk_nsp_hooks.c by putting the break points for in functions DP83867_configurePhyDelays(),   and also in /PROCESSOR_SDK_VISION_03_03_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages/ti/nsp/drv/gmacsw/mdio.c for function MDIO_ioctl   and GMACSW_ioctl from file /PROCESSOR_SDK_VISION_03_03_00_00/ti_components/networking/nsp_gmacsw_4_15_00_00/packages/ti/nsp/drv/gmacsw/gmacsw.c . And PSDK is built in debug configuration.

When I am trying to put the break points in context of IPU1_0 or A15, it is not taking the break points. Will you please let me how to track the flow of execution for network component.

regards

Hrishikesh

  • Hello Hrishikesh,

    Have you build the libraries and your application in debug mode? Where exactly you are trying to put breakpoint and which core? Information is not clear in the question.
  • Hi Prasad,

    Thanks for replying.

    I have build the code in debug mode.

    I have put break points at following places in ndk_nsp_hooks.c

    1. NDK_NSP_Init() line 269 only at opening brace it it taking breakpoint in rest of the code segement in the same function it is not taking any break point.

    2.in function GMACSW_getConfig() , no where it takes break point i mean it takes break point and shows deactivated.

    3.DP83867_configurePhyDelays (), no where it takes break points.

    I had also tried to put the break points in file .. /ti_components/networking/nsp_gmacsw_4_15_00_00/packages/ti/nsp/drv/gmacsw/gmacsw.c

    for functions GMACSW_ioctl() but here also it is not taking the break points.

    Am I missing something here

    regards

    Hrishikesh

  • Hello Hrishikesh,

    Not sure if this any CCS configuration issue.
    Anyway to get unblocked, can you please open disassembly window and add breakpoint there? (search function name, hit enter and add breakpoint to required function)
  • Hi Prasad,

    We are having issues in putting breakpoints for the functions executing on A15 so it might be CCS configuration issue, when i migrated NDK to IPU1_0 it is taking breakpoints in ndk_nsp_hooks.c.

    So I am closing this thread and will continue the thread for further querries. Thanks for your support.

    regards

    Hrishikesh