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.

IBL Booting from NAND issue

Hello!

Help me, please!

I try to booting from NAND on EVM6657. But I receive such messages from UART (in HyperTerminal) during booting:


IBL version: 1.0.0.15
IBL: Booting from NAND
IBL: Booting from NAND
IBL: Booting from NAND
IBL: Booting from NAND
IBL: Booting from NAND
...
IBL: Booting from NAND
IBL: Booting from NAND
IBL: Booting from NAND
...

These messages go endlessly.

I use MAD utility to construct bin file (my application uses both cores). This bin file works perfectly with both cores in CCSv5, but it does not booting from NAND. What maybe reason?

I use MCSDK 2.1.1.4.

Thank you.

  • Hi Elnur Babishov,
    Please provide below information,
    1. Have you combined two(.out) application to .bin using MAD?
    2. How the .bin file has been created and tested on CCS?

    Thank you.
  • Also we recommend you to use latest MCSDK for development. Please find the latest MCSDK(2.1.2.6) and user guide link below my signature.
    Thank you.
  • Hi Rajasekaran!

    1. Yes, I combined two (.out) application to bin file using MAD.

    2.

    a) I build my project in CCSv5 and receive .out file.

    b) I copy (rename) this .out file to the folder: mad-loader/examples/app_1/build/app_1.exe and mad-loader/examples/app_2/build/app_2.exe.
    c) I modify file deployment_template_C6657_bypass_prelink.json:

    {

    "deviceName" : "C6657",

    "partitions" : [

    {

    "name" : "ddr-code",

    "vaddr" :  "0x9E000000",

    "size" : "0x1000000",

    "loadPartition" : true

    }

    ],

    "applications" : [

    {

    "name"           : "app1",

    "fileName"       : "../mad-loader/examples/app_1/build/app_1.exe",

    "allowedCores"   : [0]

    },

    {

    "name"           : "app2",

    "fileName"       : "../mad-loader/examples/app_2/build/app_2.exe",

    "allowedCores"   : [1]

    }

    ],

    "appDeployment" : [

    "app1",

    "app2"

    ]

    }

    d) I use command python.exe maptool.py config-files/maptoolCfg_C6657_bypass_prelink.json bypass-prelink and receive image/c6657-le.bin file. This file I load in flash (NAND or NOR). And this file I tested in CCSv5.

    My test in CCSv5 is following.
    a) I connect EVM6657 board via XDS100v1 to CCSv5.
    b) I connect core 0.
    c) I use c6657.gel file and do Scripts->EVMC6657L Init Functions->Global_Default_Setup.
    d) In Memory Browser I open address 0x9E000000, call Load Memory and load this image/c6657-le.bin file.
    e) I set value 0x9E001040 to PC register of core 0 and run core 0.

    My application works correctly with both cores in CCsv5, but It does not boot neither from NAND nor from NOR.

    Thank you.

  • Thank you for recommendation. I will try to download the latest MCSDK.