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.

MAD utils and .out files from CCS

Hello!

I have a question about building final image file from MAD utils. I read MAD utils user guide.

I have .out file, which is generated by CCS. I want to deploy this file on both cores of c6657 EVM board (in the code I used DNUM).
Can I rename this .out file to app_1.exe (for core0) and app2_exe (for core1) and use maptool.py for constructing final c6657-le.bin image file for multicore application?
 Another words, I want to skip step 1 and 2 from user guide, and go directly from step 3 (prelinker bypass mode).

I tried above mentioned idea, but I received strange result: the length of my final c6657-le.bin file is less than original out file. Original out file has length 667668 bytes, but c6657-le.bin has 256000 bytes.

I use mcsdk_2_01_01_04 and cgt-c6000_7.4.8.

  • I have found demo from ../mcsdk_2_01_01_04/demos/image_processing/utils/mad/evmc6657l. I saw that final image file mcip-plbp-c6657-le.bin also is less than master and slave. So it is possible.
  • Hi Elnur,
    I am in process of re-producing the build issue. I had recently upgraded machine and facing starnge issue in installing "MinGW" tool.
    Upon resolving will get back to you on build issue. Thank you.
  • Hi, Rajasekaran.

    I have solved this issue. I can booting from NAND for both cores.
    Thank you.

  • Elnur,

    Thank you for the update. Glad to hear from you. Just curious to know, Have you solved the build issue as well? What was the issue? Because i see many customer are able to succeed with MAD example.

  • Rajasekaran,

    I tried my own project. I compiled my project in CCS and received one .out file. (In my project I use DNUM defenition and BOOT_MAGIC_ADDR for splitting code between cores). This .out file I renamed and copied into folders: ../mcsdk_2_01_01_04/tools/boot_loader/mad-utils/mad-loader/examples/app_1/build/app_1.exe (for core 0) and ../mcsdk_2_01_01_04/tools/boot_loader/mad-utils/mad-loader/examples/app_2/build/app_2.exe (for core 1).
    After that, I invoked command: "python maptool.py config-files/maptoolCfg_C6657_bypass_prelink.json bypass-prelink" with slightly modification of file deployment_template_C6657_bypass_prelink.json.
    As, a result I received final image file c6657-le.bin, which I could be able to flash into NAND memory.