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.

CCS: TMS320F2838x ptp example

Part Number: TMS320F28388

Tool/software: Code Composer Studio

Hi, 

I am new to TMS320F2838x and trying to play around with the examples related to PTP like ethernet_ex2_phy_loopback and ethernet_ex4_ptp_basic_slave

I have no problem building the examples, but I also encountered the same problem "Break at address "0x3fd2ae" with no debug information available, or outside of program code." when debugging

I am using DP83640 as PHY layer. 

Thanks.

Cheng

  • Cheng,

    Ethernet expert is out of office due to holiday in India. Please expect response by Tuesday.

  • Hi Cheng,

    Have you configured the Ethernet peripheral clocking and Ethernet ports through C28x?

    You need to first run the example C2000Ware_3_03_00_00\driverlib\f2838x\examples\c28x\cm_common_config_c28x with Ethernet macro for the same. 

    Thanks,

    Yashwant

  • Hi Yashwant, 

    Thanks for the reply. I ran the cm_common_config_c28x and built and debugged successfully. But I am not able to run the ptp example. Can you explain in more details about the procedure?  

    I am using TMS320F2838x and HSEC180 controlCARD Baseboard docking station. In addition, I connected the GPIO pins using MII interface between controlCard and DP83640T-EVK. 

    Thanks. 

    Regards,

    Cheng

  • Hi Cheng,

    To run ptp examples you would need two devices. On 1 you would have to run ethernet_ex4_ptp_basic_slave.c and the other needs to run ethernet_ex4_ptp_basic_master.c . This is explained in the description of the example. 

    Regards,

    Yashwant

  • Dear Yashwant, 

    Thanks for the straightforward answer. However, I am afraid I did not explain the question well enough therefore caused some confusion here. 

    As in my first post described, I encountered "Break at address "0x3fd2ae" with no debug information available, or outside of program code." when I debugged F2838x ethernet-related examples including but not limiting to ethernet_ex1_baxic_tx_rx_loopback, ethernet_ex2_phy_loopback, ethernet_ex3_threshold_mode_phy_loopback, ethernet_ex4_ptp_basic_master, and so on. They all have the same problem mentioned above. Note that the programs did not even enter the main function when this problem occurred and the address is always  "0x3fd2ae". 

    In addition, you mentioned I should run ethernet_c28x_config to configure peripherals, before I run other ethernet application. What is the detailed procedure of doing that? My understanding is that when the second project is uploaded and debugged, the system erases the first project. How can I prevent if?

    I do notice that in the example ethernet_c28x_config, the project shows [Active - CPU1_RAM], and the rest of the examples it shows [Active - CM_RAM]. Is this a potential problem?

    I really appreciate your help. Thanks. 

    Regards,

    Cheng

  • Hi Cheng,

    On which Core are you trying to run the ethernet example? As mentioned by me before you need to load and run ethernet_c28x_config project in C28x Core first and then the other ethernet example on CM.

    [Active - CPU1_RAM] means it has to be loaded to CPU1 or C28x

    [Active - CM_RAM] means it has to be loaded to CM (ARM Cortex M)

    When you open debug session in CCS you can see what all cores are available to be programmed.

    Thanks,

    Yashwant

  • Dear Yashwant, Thanks for the explanation. I managed to run other examples after I unchecked the CPU1 and CPU2 options in debug configuration. There is some other issues occurred during debugging which I need to solve. But this issue is solved Thanks for the help! Cheng