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.

AMIC110: ICSS EMAC board init error

Part Number: AMIC110

Dear Champs,

I'm trying to run 'ICSS_EMAC_BasicExample_iceAMIC110_wSoCLib_armTestproject' example in the pdk_1_0_16, but faced fail in the board_init() function.

the return value of board_init()  is '-8' with 'cfg = BOARD_INIT_PLL| BOARD_INIT_MODULE_CLOCK |  BOARD_INIT_DDR | BOARD_INIT_ICSS_PINMUX | BOARD_INIT_UART_STDIO | BOARD_INIT_ICSS_ETH_PHY;', but there is no return error when there are no PRU related settings(BOARD_INIT_ICSS_PINMUX | BOARD_INIT_ICSS_ETH_PHY).

Could you please guide me where should I check?

I'm using AM335x PDK 1.0.16 and AM110 ICE board.

Thanks and Best Regards,

SI.

  • SI.

    I don't see board_init() failure on my setup, can you add iceAMIC110_pinmux.c from pdk_am335x_1_0_16\packages\ti\board\src\iceAMIC110 and step into Board_pinmuxConfig() to see why the function returns -8 (BOARD_PINMUX_INVALID_MODE)?

    Regards,

    Garrett

  • Hi Garrett,

    Thanks for your response.

    I found the uninitialized date of 'gAMIC11xPinmuxData' cause this error and I also found there is additional 'AM335x.lds' cmd file included in my project.

    I resolved this error by removing 'AM335x.lds' cmd file from my project.

    Thanks and Best Regards,

    SI.