description:'Emulation control for the BGCRC module can be set to free or soft. CRC calculation and watchdog not affected by DEBUG HALT when set to free. Soft is set by default.',
description:'Watchdog is enabled by default to ensure test completes in expected time, but can be explicitly disabled',
hidden:false,
default:true
},
//min
{
name:"wdMin",
displayName:"Watchdog Window Minimum",
description:'Lower limit for watchdog window.',
hidden:false,
default:'0x0'
},
//max
{
name:"wdMax",
displayName:"Watchdog Window Maximum",
description:'Upper limit for watchdog window.',
hidden:false,
default:'0xFFFFFFFF'
}
];
lettestConfig=[
//startAddr
{
name:"startAddrInputMode",
displayName:"Start Address Input Type",
description:'Type of start address input.',
hidden:false,
default:ADDRESS_INPUT_MODE[0].name,
options:ADDRESS_INPUT_MODE,
onChange:onChangeStartAddressInputMode
},
//Manual input
{
name:"startAddr",
displayName:"Start Address",
description:'Starting address of the block to be checked. Value must be 0x80 word aligned, otherwise address will be changed to match closest 0x80 aligned address.',
hidden:false,
default:"0x00"
},
//Variable input
{
name:"startAddrVariable",
displayName:"Start Address Variable",
description:"Void pointer to function/variable of source address.",
hidden:true,
default:"",
},
//Block Size
{
name:"blockSize",
displayName:"Block Size (Enter Num Bytes)",
description:'Block Size of Memory to be Checked. IMPORTANT: Must be a multiple of 256.',
hidden:false,
default:"256",
/*
options:[{name:"256B"}
,{name:"512B"}
,{name:"768B"}
,{name:"1KB"}]
*/
},
//CRC mode
{
name:"crcMode",
displayName:"Mode Select",
description:'CRC mode of operation can be set to either CRC mode or Scrub mode.'+
'In Scrub mode, CRC of data is not compared with the golden CRC.'+
'Error check is done using the ECC/Parity logic. In CRC mode,'+
'value is compared with golden CRC at the end in addition to'+
'the data correctness check by ECC/Parity logic.',
hidden:false,
default:BGCRC_MODE[0].name,
options:BGCRC_MODE
},
//Set Seed Value
{
name:"seedVal",
displayName:"CRC Seed Value",
description:'Sets the seed value for the CRC calculations.',
hidden:false,
default:'0x0'
},
//Set Golden CRC value
{
name:"goldVal",
displayName:"Golden CRC Value",
description:'Sets the golden CRC Value of the memory block being tested.',
hidden:false,
default:'0x0'
}
];
config.push({
name:"wdWindow",
displayName:"Watchdog Settings",
collapsed:false,
config:wdConfig
});
config.push({
name:"regionSetting",
displayName:"CRC Configuration",
collapsed:false,
config:testConfig
});
config.push({
name:"interruptSetting",
displayName:"Interrupt Settings",
description:"",
collapsed:false,
config:[
{
name:"intFlags",
displayName:"Enable Interrupt Flags",
description:'Select which int flags you would like to enable, if any.',
hidden:false,
default:[],
minSelections:0,
options:[
{name:"BGCRC_TEST_DONE"},
{name:"BGCRC_CRC_FAIL"},
{name:"BGCRC_UNCORR_ERR"},
{name:"BGCRC_CORR_ERR"},
{name:"BGCRC_WD_UNDERFLOW"},
{name:"BGCRC_WD_OVERFLOW"}
]
},
//register interrupt
{
name:"registerInterrupts",
displayName:"Register Interrupt Handler",
description:'Whether or not to register interrupt handlers in the interrupt module.',
hidden:false,
default:false
}
]
});
config.push({
name:"regProtection",
displayName:"Register Guards and Protection",
description:"",
collapsed:false,
config:[
{
name:"lockRegs",
displayName:"Lock Registers",
description:'Select which register(s) you would like to lock, if any.',
hidden:false,
default:[],
minSelections:0,
options:device_driverlib_peripheral.BGCRC_REG
},
//commit regs
{
name:"commitRegs",
displayName:"Commit locked Registers",
description:'Commits the current register configuration. IMPORTANT: Only a reset can change the configuration',
hidden:false,
default:false
}
]
});
config.push({
name:"startBGCRC",
displayName:"Initiate BGCRC",
description:'Whether or not to star the BGCRC computation.',