Part Number: AM5728
Tool/software: TI-RTOS
Hi
I created my custom board based on evmAM572x. But only ddr0(emif0) is used on my board. And I created my hello_world rtos project by copying 'rtos_template_app_am572x_a15' with platform and board lib changing to my own path.
but errors when debug:
so i modified some gel files:
AM572x_ddr_config.gel
(1). changed #define IS_EMIF2_AVAILABLE (1U) to #define IS_EMIF2_AVAILABLE (0U) cause only ddr0 is used on my board.
(2). added 'myown_ddr_config(SOC_EMIF1_CONF_REGS_BASE)' function codes generated by emif_tool.xlsm
(3). replaced 'AM572x_set_emif1_params_ddr3_532(SOC_EMIF1_CONF_REGS_BASE)' with 'myown_ddr_config(SOC_EMIF1_CONF_REGS_BASE)'
my_own_board.gel(copy ofevmAM572x.gel)
modify the last line of memorymap_init();
GEL_MapAddStr(0x80000000, 0, 0x40000000, "R|W|AS4", 0);//only ddr0 is used. length = 1GB.
-----------------------------------------------------------------------------------------------------------------------------------------
Program is loaded successfully after changing above,and the status of core a15_0 is runing.
But the button RUN is gray. WHY?
Is there any mistakes in my project?
Is there any simple way to test my custom board?