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.

How to make ROM image using MAD tools?

I want to write NOR flash in C6678 EVM.

But, I couldn't find how to make ROM image file using MAD tools in CCS Windows.

I just found out explain something like  'what is MAD tools?', 'how to make ROM image in linux.' and how to wirte and run stand alone using IBL.

I'm stater user of C6678.

So I need to know this procedure step by step.

It be pleasure teach to me.

  • Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.

    We will get back to you on the above query shortly. Thank you for your patience.

    Thank you.

    Note: We strongly recommend you to create new e2e thread for your queries instead of following up on an old/closed e2e thread, new threads gets more attention than old threads and can provide link of old threads or information on the new post for clarity and faster response.

  • Hi,

    You can refer MAD utils user guide wiki link for building and running demos on C6678 EVM.

    Thank you

  • I read already.
    But, I couldn't find out how to make image file.
    At first I don't know EXE file's location.
    I just found OUT file.
    If this is option, I want know how to enable making exe file in CCS6 project property.
    And, Please tell me how to make image file using MAP tool include how to implement JSON file in CCS6.

    P.S.
    In this case I don't want use DDR memory, So I think, I'll working with MAD in prelinker mode.
  • You need to use the WINGW-MSYS for building.

    NOTE FOR BUILDING ON WINDOWS ENVIRONMENT: For building on windows environment GNU utilities like "make" would be required. MINGW-MSYS installation is required for Windows build environment. MINGW-MSYS can be downloaded from http://sourceforge.net/projects/mingw/files/

    You can use .out file and please  walk-through prelinker mode demo to generate image files,

    Thank you.

  • Thanks.

    I'll try that and another question if i have.

    But, I've one more question now.

    Why doesn't support that make flash file in CCS like make .out file? 

  • I have some problem when i try using msys.

    It's error like following image.

    And i modified 'build_examples_msys.sh' file like following text

    #!/bin/bash

    #Build script to be invoked from BASH shell to build MAD loader example applications

    if [ "$1" == "" ] ; then
    echo "Device not specified"
    echo "Usage: $0 C6678|C6670|C6657 big|little [static|relocatable]"
    exit
    fi

    if [ "$3" == "static" ] ; then
    mode="static"
    libmode="static"
    else
    mode="relocatable"
    libmode="shared"
    fi

    export C_DIR='"C:\ti\ccsv6\tools\compiler\ti-cgt-c6000_8.1.0"'

    export PATH=$PATH:/c/ti/ccs6/tools/compiler/ti-cgt-c6000_8.1.0/bin

    mkdir -p bin/$1/$endian

    #Build for device $1

    make -C shlibs/build clean all DEVICE=$1 ENDIAN=$2 MODE=$libmode

    make -C app_1/build clean all DEVICE=$1 ENDIAN=$2 MODE=$mode

    make -C app_2/build clean all DEVICE=$1 ENDIAN=$2 MODE=$mode

    I don't know why it fails.

    P.S. 

    I use msys first time.

    And i usually using C language in CCS or visual studio.

    So, I don't know standard knowledge about UNIX shell.

    Please tell me about error or how to do make bin file step by steps and it is big pleasure to me.

    Thank you.