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.

TDA4M

Hi,

I am trying to launch "Gateway Demos" and the MCU logs only show

============================================================>

Gateway App:Variant - Pre Compile being used !!!
Gateway App: CanApp_Startup
CAN_APP: Successfully Enabled CAN Transceiver MCU MCAN0!!!
CAN_APP: Successfully Enabled CAN Transceiver MCU MCAN1!!!
GatePort 1 Address: 50:51:a9:Gateway App: Starting CAN Rx Interface
Gateway App: Starting CAN Rx Interface

<============================================================

I don not see any of the EthTrcv messages and the test result of CAN to ethernet is failed.

In the documents of "4.1.2 CAN to ethernet Gateway demo",

I should see the logs as below:

Is there any suggestion to check the problem?

Thanks.

Sandro

  • Hi,

    If I using CCS to launch "Gateway Demos", the function will work great.

    However the MCU will active ethernet failed while booting up from SD card.

    I may misunderstand the words:

    "Copy the CAN/Eth gateway demo application to the /boot folder in SD Card and rename it to app."

    If I copy the can_eth_gateway_app_mcu1_0_release.xer5f to /boot/app, then nothing happens on MCU domain.

    When I copy can_eth_gateway_app_mcu1_0_release.xer5f to /lib/firmware/j7-mcu-r5f0_0-fw, the ethernt will be enabled failed.

    Is there any suggestion about how to run the "Gateway Demos" from SD card?

    Thanks.

    Sandro

  • Hi Sandro,

    The SD card binary is different from the CCS binary. It has the extension "appimage", so you need to copy the file can_eth_gateway_app_mcu1_0_release.appimage to the SD card /boot folder and rename it to app. Please try it and let us know.

    I reviewed the documentation and I see that it's not very clear from the steps. We will fix it in future.

    Regards

    Vineet

  • Hi Vineet,

    It doesn't work whether I copy can_eth_gateway_app_mcu1_0_release.appimage to the SD card /boot/app or /rootfs/boot/app.

    Thanks.

    Sandro

  • Hi Sandro,

    Sorry for the late reply. I didn't get an email notification for some technical reasons. Are you still facing the issue ? Can you confirm if 

    1. The SD card is bootable ? i.e. there are boot and rootfs partitions ?

    2. Are you able to boot any other PDK example ?

    3. Do you have the required boot loader and system firmware in the SD card ?

    Also, can you post the UART log of second MCU UART instance ?

    Regards

    Vineet