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.

Load .out without using debugger with loadti

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

Hello

I am using LCDK6748, I have written my code in C with CCS v6 and I want to run it in the development board.

But I do not want to use the debugger.

Can I load my program directly via jtag using loadti??

Thank you.

Kind Regards.

  • Hi Javi,

    I am using LCDK6748, I have written my code in C with CCS v6 and I want to run it in the development board.

    But I do not want to use the debugger.

    Can I load my program directly via jtag using loadti??

    What do you meant by JTAG and debugger ?

    Please don't create multiple posts for the same issue.

    Do you want to load the program or flash the program or need to run the program ?

    You can run the program in 2 ways.

    1) Load the .out through debugger (JTAG or emulator; Ex: TI XDS100v2) with or without using CCS and able to run.

    2) Load the program from flash devices and able to run without using CCS or debugger (emulator)

  • I have just found the solution to my problem.

    I have to use SFH utlity to flash my programs into flash memories like NAND and run it on C6748 LCDK board.

    I do not have to use debugger.

    But now when I use the SFH utility, I program my device and then the screen shows this:

    Waiting for SFT on the OMAP-L138...

    Thank you

  • Hi Javi,

    Are you able to erase the NAND flash device ?

    What command have you been used ?

    You must use the following commands to erase and flash your program into NAND flash device (LCDK board had support for NAND).

    sfh_OMAPL138.sfh -flashType NAND -targetType C6748_LCDK -erase -p COM3

    sfh_OMAPL138.sfh -flashType NAND -targetType C6748_LCDK -flash_noubl LED.ais -p COM3

    Where -p - serial COM device, it may change PC to PC.

  • When I try to erase the flash, the screen shows: Erasing flash 0%, and the number does not change.

    I put:   sfh_OMAP-L138.exe -erase -targetType C6748_LCDK -p COM3

    When I try to load the program, I put: sfs_OMAP-L138.exe -flash_noubl NameProyect.bin -p COM3

    And the screen in hang out with: Wait for SFT on the OMAP-L138.

    Any idea??

    Kind Regards

    Thank you

  • Hi Javi,

    I presume that you are using TI C6748LCDK board and not custom board.

    Attach the screen shot of both the errors (hang at 0% and sfh hang).

  • Yes, I am using LCDK C6748 board.

    The SW1 switches are:

    1-off   2-on  3-off  4-on 5-off  6-off  7-off  8-off

    And when I try to load a program this is the screen.

    I created the .bin file with the tools "out2rprc".

    Thank you

    King Regards

  • Hi Javi,

    From your screen shot, you didn't mention flash type as NAND.

    You have to mention about flash device what you are using because C6748/OMAPL138 LCDK board had support only for NAND flash and not for SPI flash.

    If you didn't mention then you would get "SPI" default as memory.

    Now use the following commands.

    sfh_OMAPL138.sfh -flashType NAND -targetType C6748_LCDK -erase -p COM3

    sfh_OMAPL138.sfh -flashType NAND -targetType C6748_LCDK -flash_noubl LED.ais -p COM3