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.

User-Defined Devices initialization Problem

Other Parts Discussed in Thread: TMS320C6748

I am using the following tools:

   Window 7 – 64bits

  Zoom OMPL-138 eXperimenter Kit – TMS320C6748 SOM-M1

  XDS560v2 STM

  CCS 5.4

  bios_5_42_01_09

pspdrivers_01_30_01

edma3_lld_01_10_00_01

 

I made the CCS Project with “DSP/BIOS V5.xx Examples – evm 6748 examples – tsk examples”.

I set  *.tcf file for use  UART Driver and added some codes. I insert UDEV Module in User-Defined Devices, and filled  properties the following :

 

Init function: _user_uart2_init

function table ptr : _Uart_IOMFXNS

function table type : IOM_Fxns

device id :  0x00000002

device params ptr ; _uartParams

 I success compiling and linking

I load the Output file in the EVM Board and I started debugging , Debugging stop after  user_uart2_init  function and  before main function . I tracked the code with CCS. I found the fact that stop in the PWRM_setDependecy() in the uartMdBindDev() Function.

 I want to know why stop in that function.    How can I resolve?

 

Thank  you. 

  • Hi Ho guen,

    Thanks for your post.

    Here there are few tips that, you shall check it over:

    1. Please ensure to select the appropriate target & emulator which you are using when you lauch target configuration file (*.ccxml) and click on test connection button to check for initial sanity whether the target connectivity holds good.

    2. Secondly, please check for the appropriate board gel files in the Advanced tab in the *.cxml file which will be selected by default, but just to ensure whether it selects the appropriate gel.

    3. Next, it is preferably to debug step by step and check where it hangs & see whether it links to any driver library calls. Please check in the project build properties and confirm whether all the appropriate include files in the compiler section and all necessary libraries are included in the linker file search path. May be, please double check the include file path & library file path mapped in the project settings.

    4. After you confirm all the above three steps, if it still hangs, please check the linker command file (*.cmd) whether all the code sections are mapped in shared ram/DDR/L2 RAM. Preferably, you shall choose to map the code sections in L2 internal RAM if you have enough memory size else, double check whether it is mapped in DDR/SDRAM or shared RAM and preferably use DDR/SDRAM instead of shared RAM since shared RAM size would be comparitively smaller than DDR/SDRAM.

    5. If  its your custom code for any desired application, please validate task/thread priorities and set accordingly as per the specifications mentioned  in the appropriate product's TRM/datasheet.

    Thanks & regards,

    Sivaraj K

    ------------------------------------------------------------------------------------------------------- 
    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------