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.

AM2432: Is there a CCS script file for AM2432?

Part Number: AM2432
Other Parts Discussed in Thread: AM2434

Dear Sir, 

My customer use AM2432 and found they have problem using CCS script after debug. 

Any idea for the error since we don't get necessary debug message during this stage by adding debug log in project. 

We suspect it could be download image for CCS script will be different for AM2432 and AM2434.

Is there CCS script for AM2432? 

BR, Rich

  • Hello Rich,

    Thank for your query.

    Can you please tell which EVM the customer is using? Is it AM243-LP or AM243-EVM?

    Or is it a custom board?

    Regards,

    Tushar

  • Tushar, 

    Customer has no problem to launch script and debug on AM243-LP EVM with HS-FS AM2434. 

    Same setting is not working on customer board with HS-FS AM2432. 

    Is there any change required for this script while working on AM2432?

    BR, Rich 

  • Tushar, 

    We have tried UART boot and being able to load project and run on this board but now is no way to download project via CCS directly in No boot mode. 

    BR, Rich

  • Hello Rich,

    Thanks for your response.

    no way to download project via CCS directly in No boot mode. 

    If customer is using HSFS device than NO boot mode will not work. DEV Boot mode is mandatory for HSFS device. Please try to run the script while keeping board in DEV boot mode.

    Fore more info, please refer lp-am243-initialization-script-is-not-working. 

    Regards,

    Tushar

  • Tushar, 

    I have confirmed Dev_boot was used on both LP EVM and customer board.

    The CCS log was captured in Dev_boot mode on customer board. 

    Is there a different script file for AM2432?

    BR, Rich 

  • Hi Rich,

    Thanks for your response.

    Can you please try the steps mentioned in the video solution provided here lp-am243-initialization-script-is-not-working instead of running the js script.

    Also can you please share the recorded video of steps done when the error is coming?

    Regards,

    Tushar

  • Tushar, 

    Yes, customer has followed the recording video and do the steps manually. After loading, there is no response and not jump to main. 

    Customer recoding video clip is attached. 

    https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1329122/lp-am243-initialization-script-is-not-working/5059716#5059716

    One thing I noticed is the e2e recording video is based on AM64x and now customer is using AM2432 (not AM2434). 

    Not sure if this creates difference. 

    BR, Rich

  • Hi Rich,

    Thanks for sharing the above details.

    Can you please pause the program and check where it is getting stucked? Also can you please share the disassembly view after pausing the program?

    Can you please confirm that the device type used is HSFS not the GP one?

    Can you please share the complete UART logs obtained by keeping the device in UART boot mode?

    Regards,

    Tushar

  • Tushar, 

    As mentioned, we tried UART boot and check the UART log and make sure it is HS-FS device. 

    Let me check if we can do pause because there is no response after loading project. 

    BR, Rich

  • Hello Rich,

    Let me check if we can do pause because there is no response after loading project. 

    You can click on the pause button after loading the program on R5F core. Please see the below screenshot to see the pause button.

    Regards,

    Tushar

  • Hi Tushar, 

    1. pause the program

    2. the disassembly view after pausing the program

    3. UART logs obtained by keeping the device in UART boot mode 

        Our device should be HS-FS device.

    BR,

    Chaowen

  • Hi Chaowen,

    Thanks for the above response.

    Can you please confirm, have to tried to run the script on other AM2432 samples and all are failing?

    Or is it only problem with the current used sample?

    Regards,

    Tushar

  • Tushar, 


    I was also worried that's a single case so we tried two boards which all in same fail case. 

    Any other check point or clue we can watch?

    BR, Rich

  • Hi Rich,

    Can you please try to get the Debug Server logs from CCS and share it with us?

    Steps to turn on CCS Debug server logs are given below.

    1. Open CCS, go to help -> CCS support.
    2. Open the properties for Debug Server Log.

    3. Enable Debug Server log and provide the path of file where you want to save the logs.

    4. After enabling the Debug Server log load the sciclient_ccs_init.release.out file and run it.

    Also can you please share the sciclient_ccs_init.release.out file used ?

    Regards,

    Tushar

  • Hi Tushar,

    I have used two different modules for testing and generated two sets of logs.

    I have also attached sciclient_ccs_init.release.out for your reference.

    sciclient_ccs_init_log.rar

    BR,

    Chaowen

  • Hello Choawen,

    Thanks for sharing the above details.

    I was able to run the binaries on my AM243x-EVM, so it seems that there are no problems with the sciclient_ccs_init.release.out binary.

    I am currently analyzing the CCS logs. Please allow some time to revert back.

    Regards,

    Tushar

  • Hello Choawen,

    Can you please confirm, is the program able to jump to _c_init00?

    Please follow the below debugging steps.

    • Build the sciclient_ccs_init example in debug mode.
    • Launch the target configuration file and right click on the Cortex_R50-0 core and open the GEL view.

    • Do the following setting in Auto Run and Auto Launch option.

    • Connect the core and load the program.
    • Step over and see whether the code is going to _c_init00 or not.

    Regards,

    Tushar

  • Hi Tushar,

    I think the program did not enter _c_init00.

    Additionally, I have attached the settings and a recording for your reference.

    check whether jump tp _c_init00.rar

    BR,

    Chaowen

  • Hello Chaowen,

    Thanks for sharing the above details.

    I understand that the program is not going to _c_init00. Can you please also record the value stored at memory address 0x0 when you step over after loading the binary?

    Also can you please confirm, are you able to initialize the custom board using the SBL binaries?

    Are you able to load basic examples(say hello_world) while the board is initialized with SBL binaries?

    Regards,

    Tushar