Other Parts Discussed in Thread: SYSBIOS
I am trying to adapt the maptool.py examples to my own executables and I get the following error:
c:\gedev\tibsp\control>python "c:\Program Files\Texas Instruments\mcsdk_2_00_01_
12\tools\boot_loader\mad-utils\map-tool\maptool.py" c:\gedev\system\nt\ti_c6678\
bin\maptoolCfg.json
c:\gedev\tibsp\control>"C:\Program Files\Texas Instruments\ccsv5\tools\compiler\
c6000\bin\strip6x" -o=./tmp/appImages\app_local.strip ./tmp/appImages\app_local
c:\gedev\tibsp\control>"C:\Program Files\Texas Instruments\ccsv5\tools\compiler\
c6000\bin\ofd6x.exe" -x -o c:\users\jim\appdata\local\temp\tmpgrr2od.xml "./tmp/
appImages\app_local.strip"
Warning: Incompatible permissions for partition ddr-code
Warning: Incompatible permissions for partition ddr-code
Warning: Incompatible permissions for partition ddr-code
ERROR: Unassigned segment found: app_local :seg-idx: 0
ERROR: Unassigned segment found: app_local :seg-idx: 2
ERROR: Unassigned segment found: app_local :seg-idx: 4
ERROR: Unassigned segment found: app_local :seg-idx: 5
ERROR: Unassigned segment found: app_local :seg-idx: 6
ERROR: Unassigned segment found: app_local :seg-idx: 7
ERROR: Unassigned segment found: app_local :seg-idx: 8
ERROR: Unassigned segment found: app_local :seg-idx: 29
ERROR: Unassigned segment found: app_local :seg-idx: 30
ERROR: Unassigned segment found: app_local :seg-idx: 32
ERROR: Unassigned segment found: app_local :seg-idx: 36
ERROR: Unassigned segment found: app_local :seg-idx: 37
I have attached the input files, the generated xml file, and the generated tmp folder in case it helps any.
{
"deviceName" : "C6678",
"partitions" : [
{
"name" : "ddr-code",
"vaddr" : "0x80000000",
"paddr" : [ "0x800000000", "0x800000000", "0x800000000", "0x800000000", "0x800000000", "0x800000000", "0x800000000", "0x800000000"] ,
"size" : "0x4000000",
"secNamePat" : ["^.text", "const", "switch", "rodata" ],
"cores" : [0,1,2,3,4,5,6,7],
"permissions" : ["SR", "SX"],
"cacheEnable" : true,
"prefetch" : true,
"priority" : 0,
"shared" : true,
"loadPartition" : true
},
{
"name" : "ddr-data",
"vaddr" : "0xD0000000",
"paddr" : [ "0x806000000", "0x807000000", "0x808000000", "0x809000000", "0x80A000000", "0x80B000000", "0x80C000000", "0x80D000000" ],
"size" : "0x1000000",
"secNamePat" : ["stack", "^.far$", "args", "neardata", "fardata" ],
"cores" : [0,1,2,3,4,5,6,7],
"permissions" : ["SR", "SW"],
"cacheEnable" : true,
"prefetch" : true,
"priority" : 0,
"shared" : false
}
],
"applications" : [
{
"name" : "app_local",
"fileName" : ".\\emb.out",
"libPath" : ".",
"allowedCores" : [0,1,2,3,4,5,6,7]
}
],
"appDeployment" : [
"app_local"
,
"app_local"
,
"app_local"
,
"app_local"
,
"app_local"
,
"app_local"
,
"app_local"
,
"app_local"
]
}
{
"deploymentCfgFile" : ".\\deployment.json",
"LoadImageName" : "C:\\Program Files\\Tftpd32\\app.out",
"prelinkExe" : "C:\\Program Files\\Texas Instruments\\ccsv5\\tools\\compiler\\c6000\\bin\\prelink6x",
"stripExe" : "C:\\Program Files\\Texas Instruments\\ccsv5\\tools\\compiler\\c6000\\bin\\strip6x",
"ofdTool" : "C:\\Program Files\\Texas Instruments\\ccsv5\\tools\\compiler\\c6000\\bin\\ofd6x.exe",
"malApp" : "C:\\Program Files\\Texas Instruments\\mcsdk_2_00_1_12\\tools\\boot_loader\\mad-utils\\mad-loader\\mal\\malApp\\build\\mal_app.exe",
"nmlLoader" : "C:\\Program Files\\Texas Instruments\\mcsdk_2_00_1_12\\tools\\boot_loader\\mad-utils\\mad-loader\\nmlLoader\\build\\nml.exe"
}
What does this error mean and how do I get around it? Thanks.