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.

PROCESSOR-SDK-AM62X: DDR Tuning tools, issues with SDK not containing them. instruction unclear

Part Number: PROCESSOR-SDK-AM62X
Other Parts Discussed in Thread: AM62P

Tool/software:

regarding DDR setup, im using the evm board to practice what I'll need to do for our real board that is coming in.

i understand there is as of yet no one stop shop tool for connecting and training up the DDR and generating updates for UBOOT.
but i was given a link to the Eye diagram tool that i thought would be useful to hone in on ideal settings.
but that's when things got overly confusing and complicated.

DFU cannot just push this AM62X_TEye_A53_read.out file to the board.
my previous message that lead me to this tool:
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1394728/processor-sdk-am62x-when-making-custome-board-wanting-full-ddr-training-application?tisearch=e2e-sitesearch&keymatch=DDR%20training%20AM62X#


We will not have JTAG on out board due to it being a small product the JTAG connector is like attaching a school bus the the side of a mini.
we have serial and USB so it makes sense to use one of those 2 ways of pushing execution to the board and figuring out DDR timing.

instruction in the readme seem like they should be simple but here is what i have found so far...

Readme:
2) Download the latest MCU+SDK from the board product page (www.ti.com/.../SK-AM62A-LP)

My result (seems OK):
i downloaded sdk+mcu (ti-processor-sdk-linux-am62xxsip-evm-10.00.07.04-Linux-x86-Install.bin)
ran the bin which created "~/ti-processor-sdk-linux-am62xxsip-evm-10.00.07.04" folder of stuff 


Readme:
3) We will use the tools provided in the MCU+SDK to convert the firmware into an application image. Full details
on these scripts can be found in the MCU+SDK documentation.

.out -> .rprc -> .appimage
a) node out2rprc/elf2rprc.js out2rprc/AM62A_AM62P_TEye_A53_read.out
b) node multicoreImageGen/multicoreImageGen.js --devID 55 --out AM62A_AM62P_TEye_A53_read_unsigned.appimage AM62A_AM62P_TEye_A53_read.rprc@0


My Result (uh oh):
no out2rprc to be found
~/ti-processor-sdk-linux-am62xxsip-evm-10.00.07.04 $ find ./ -iname out2rprc
nothing
~/ti-processor-sdk-linux-am62xxsip-evm-10.00.07.04 $ find ./ -iname '*out2rprc*'
nothing

i ran the setup.sh script and hit yes to most things.
confused on what NFS is when there is no NFS involved with linux as my project is a yocto based linux ext3 system and uboot comes from yocto but ok ill take an NFS something.
still no out2rprc folder

find ./ -iname '*elf2rprc.js*'
nothing found either.
find ./ -iname multicoreImageGen.js
nothing found
so when the tools expect sdk to have this and it doesn't now what?

also 
in the sdk page under tools anbd utilities/booting tools/UART/
https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/09_02_01_06/exports/docs/api_guide_am62x/TOOLS_BOOT.html#UART_BOOTLOADER_PYTHON_SCRIPT

it mentions

cd ${SDK_INSTALL_PATH}/tools/boot
python uart_bootloader.py -p /dev/ttyUSB0 --cfg=sbl_prebuilt/{board}/default_sbl_uart_hs_fs.cfg

this does not exist in the sdk. no ./tools/ folder anywhere
~/ti-processor-sdk-linux-am62xxsip-evm-10.00.07.04 $ find ./ -iname uart_bootloader.py
nothing found



man i am so lost as to the expectation the readme gave me and what im finding. there must be a simple answer to this but im too much of a numbskull to get it.


also downloaded ccs and and it also does not contain any of these needed tools.
i also have installed the generate SDK from the yocto build and it also does not contain these tools
:/opt/arago-2023.10 $ find ./ -iname multicoreImageGen.js
:/opt/arago-2023.10 $ find ./ -iname uart_bootloader.py
:/opt/arago-2023.10 $ find ./ -iname out2rprc
:/opt/arago-2023.10 $

  • Greetings Jesse,

    Readme:
    2) Download the latest MCU+SDK from the board product page (www.ti.com/.../SK-AM62A-LP)

    My result (seems OK):
    i downloaded sdk+mcu (ti-processor-sdk-linux-am62xxsip-evm-10.00.07.04-Linux-x86-Install.bin

    This is not the MCU+SDK, it appears you installed the Linux SDK. The MCU+ SDK can be found in the software page, highlighted the distinction below:

    To save some trouble, here is a direct link to the MCU+SDK for AM62X: https://www.ti.com/tool/download/MCU-PLUS-SDK-AM62X 

    Sincerely,

    Lucas

  • WORD!
    i knew there was something dumb i was doing. if only future me could tell past me what it was.
    thanks!!!!!!

    :~/ti/mcu_plus_sdk_am62x_10_00_00_14 $ cd tools/
    :~/ti/mcu_plus_sdk_am62x_10_00_00_14/tools $ ls
    bin2c bin2header boot sysfw
    :~/ti/mcu_plus_sdk_am62x_10_00_00_14/tools $ find ./ -iname uart_bootloader.py
    ./boot/uart_bootloader.py
    :~/ti/mcu_plus_sdk_am62x_10_00_00_14/tools $ find ./ -iname multicoreImageGen.js
    ./boot/multicoreImageGen/multicoreImageGen.js
    :~/ti/mcu_plus_sdk_am62x_10_00_00_14/tools $ find ./ -iname uart_bootloader.py
    ./boot/uart_bootloader.py

    off to the next brain fog topic i go