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.

TMDSIDK437X: RTOS NAND and ADC driver test on TMDSIDK4376

Part Number: TMDSIDK437X

Hello,

I am working on firmware part of the project.

I am using TI RTOS.

I would like to test NAND and ADC driver for TMDSIDK4376.

How would i do that?

If i need to test same things on my custom board(NAND and ADC driver) how would i procced?

 

Regards,

Vrund

  • Vrund,

    I would start by taking a look at the Processor SDK RTOS offering for AM437x . Refer to the GPMC driver and examples for interface with NAND:

    https://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_03_00_106/rtos/index_device_drv.html#gpmc 

    There is also a reference read write example for NAnd in the PDK package under the folder:

    pdk_am437x_1_x_xx\packages\ti\starterware\examples\nand\read_write

    For ADC, the only example that I am aware of in the SDK is the followijng:

    pdk_am437x_1_x_xx\packages\ti\starterware\examples\adc\volt_measure

    General steps to port SDK software from TI EVM platform to custom platform is described here:

    https://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_03_00_106/rtos/index_board.html#custom-board-addition 

    Please review these examples and resources and let us know if you have further questions.

    Regards,

    Rahul 

  • Hello Rahul,

    I have gone through this.

    But below are the problem facing in importing these starterware.

    1) i have tried to build nand (gpmc ) pdk using 

    Windows Usage:

      pdkProjectCreate.bat [soc] [board] [endian] [module] [project type] [processor] [pdkDir]

    but no gpmc module detected.

    2) I have tried copying ADC files to rtos_template_app_am437x_a9 but that was also giving header files error.

    subdir_rules.mk:9: recipe for target 'adc_app.o' failed
    ../adc_app.c:54:10: fatal error: types.h: No such file or directory

    compilation terminated.
    gmake: *** [adc_app.o] Error 1
    Building file: "../GPIO_evmAM437x_board.c"

    can you help me how would i build and import starterware project for TI RTOS ?

    Regards,

    Vrund

  • Hello Rahul,

    I have gone through this.

    But below are the problem facing in importing these starterware.

    1) i have tried to build nand (gpmc ) pdk using 

    Windows Usage:

      pdkProjectCreate.bat [soc] [board] [endian] [module] [project type] [processor] [pdkDir]

    but no gpmc module detected.

    2) I have tried copying ADC files to rtos_template_app_am437x_a9 but that was also giving header files error.

    subdir_rules.mk:9: recipe for target 'adc_app.o' failed
    ../adc_app.c:54:10: fatal error: types.h: No such file or directory

    compilation terminated.
    gmake: *** [adc_app.o] Error 1
    Building file: "../GPIO_evmAM437x_board.c"

    can you help me how would i build and import starterware project for TI RTOS ?

    Regards,

    Vrund