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.

TDA4VH-Q1: Board_init(boardcfg) problem on C7X

Part Number: TDA4VH-Q1

Tool/software:

Hello,

I'm contacting you because of an issue we are encountering on C7X. The SDK used is ti-processor-sdk-rtos-j784s4-evm-10_01_00_04.

As we want to use UART, we are trying to use Board_init(boardcfg) to intialize the UART like this : 

When trying to run the code on C7X, C7X_0 works fine, which means the Board_init(boardcfg) line is passed and UART works fine. But when trying to run the same code on C7X_1, C7X_2 and C7X_3, the code gets stuck in Board_iinit(boardcfg) :

I first had the same issue on C7X_0 when R5F_0 MCU1_0 was not running, then it worked when I started to run R5_0. Now my test process is like this : 

  • Run the script 'launch.js' from Scripting Console
  • Run the R5_0
  • Connect to the C7X and load the program

If you can help me understand why it is not working on all cores, it would be great.

Thank you,

Best regards,

Wissam

  • Hi Wissam,

    Which mode are you using for running. No Boot/ SD boot mode? Can please you try to launch some simple application and check if all the memory maps are correct.

    Regards,
    Sivadeep

  • Hello,

    Thank you for your reply, I'm using No Boot mode. I tried to launch udma_memcpy_testapp_freertos and it's working without problem. I did this test with the default .cmd linker file, and with my custom linker file that I'm using for my acitivity, and in both cases it's working fine.

    The problem appears when I try to use Board_init(BoardCfg) in my proper source file on other C7X than C7X_0.

    Thank you,

    Best regards,

    Wissam

  • Hi,

    I will check this and update you. Is the issue occurring only with a particular code/application? Have you tried testing it with any simple codes?

    Regards,
    Sivadeep

  • Hello,

    Thank you, by default I'm running this application with my own environment. But when I ported my application to the TI PDK environment, using my own source code and linker it works fine for all cores. I can also analyze the differences with my environment.

    Best regards,

    Wissam

  • Hi, 

    Apologies if there is any misunderstanding. I'm not able to get what support you need in this thread. 

    But when I ported my application to the TI PDK environment, using my own source code and linker it works fine for all cores. I can also analyze the differences with my environment.

    I'm assuming your issue got fixed. Is my understanding correct?

    If you are using no boot mode can you try with this method : EVM Setup

    Regards,

    Sivadeep

  • Hello,

    Thank you for your reply, indeed the problem was solved in the meantime, there was an issue when importing pdk libraries.

    Thank you very much for your support.

    Best regards,

    Wissam