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.

need help about MAD C6678

Other Parts Discussed in Thread: TEST2

Hi,

I tested different two application assigned each core(8-core) using MAD. (I attached json file...)

each application size : test1(497kb), test2(529kb)

But, only one application normally operate.

so I would like to have your opinions on the problem. 

{
                "deviceName" : "C6678",
 		
 		            "partitions" : [
                                {
                                     "name"          : "load-partition",
                                     "vaddr"         : "0x9e000000",
                                     "size"          : "0x2000000",
                                     "loadPartition" : true
                                }
                 ],
 
                "applications" : [

                                  {
                                     "name"           : "test1",
                                     "fileName"       : "c:/tftp/app(TFTPBOOT).bin",
                                     "allowedCores"   : [0,1,2,3,4,5,6,7]
                                  },
                                  {
                                     "name"           : "test2",
                                     "fileName"       : "c:/tftp/app(LED_EMPTY).bin",
                                     "allowedCores"   : [0,1,2,3,4,5,6,7]
                                  }
                               
                                  
                ],
 
                "appDeployment" : [
                                "test1",
                                "test2",
                                "test1",
                                "test2",
                                "test1",
                                "test2",
                                "test1",
                                "test2"                                                                                     
                ]
 
}

//soon hwan, jeong

  • Jeong,

    I see that the paddr is missing. Did you refer to the MAD utility examples in the MCSDK?

    "deviceName" : "C6678",

    "partitions" : [
    {
    "name" : "ddr-code",
    "vaddr" : "0x9e000000",
    "paddr" : [ "0x81e000000", "0x81e000000", "0x81e000000", "0x81e000000","0x81e000000", "0x81e000000", "0x81e000000", "0x81e000000" ],
    "size" : "0x1000000",
    "secNamePat" : ["^.text", "const", "switch"],
    "cores" : [0,1,2,3,4,5,6,7],
    "permissions" : ["UR", "UX", "SR", "SX"],
    "cacheEnable" : true,
    "prefetch" : true,
    "priority" : 0,
    "shared" : true,
    "loadPartition" : true
    },
    {
    "name" : "ddr-data",
    "vaddr" : "0xD0000000",
    "paddr" : [ "0x800000000", "0x801000000", "0x802000000", "0x803000000", "0x804000000", "0x805000000", "0x806000000", "0x807000000" ],
    "size" : "0x1000000",
    "secNamePat" : ["stack", "^.far$", "args", "neardata", "fardata", "rodata"],
    "cores" : [0,1,2,3,4,5,6,7],
    "permissions" : ["UR", "UW", "SR", "SW"],
    "cacheEnable" : true,
    "prefetch" : true,
    "priority" : 0,
    "shared" : false
    }
    ],

    "applications" : [
    {
    "name" : "app1",
    "fileName" : "../mad-loader/examples/app_1/build/app_1.exe",
    "libPath" : "../mad-loader/examples/shlibs/build",
    "allowedCores" : [0,1,2,3,4,5,6,7]
    },
    {
    "name" : "app2",
    "fileName" : "../mad-loader/examples/app_2/build/app_2.exe",
    "libPath" : "../mad-loader/examples/shlibs/build",
    "allowedCores" : [0,1,2,3,4,5,6,7]
    }
    ],

    "appDeployment" : [
    "app1",
    "app2",
    "app1",
    "app2",
    "app1",
    "app2",
    "app1",
    "app2"
    ]

    thanks,