Part Number: TMS320F2800137
Other Parts Discussed in Thread: C2000WARE
Hi Team:
Im coding with TMS320F2800137 Flash API ( flashapi_ex1_programming ),
is there any documents help me to understand the function "Fapi_setupBankSectorEnable"
I want to enable FLASH_BANK0_SEC_16 but have no idea, thx a lot.
// Enable program/erase protection for select sectors where this example is
// located
// CMDWEPROTA is applicable for sectors 0-31
// Bits 0-11 of CMDWEPROTB is applicable for sectors 32-127, each bit represents
// a group of 8 sectors, e.g bit 0 represents sectors 32-39, bit 1 represents
// sectors 40-47, etc
Fapi_setupBankSectorEnable(FLASH_WRAPPER_PROGRAM_BASE+FLASH_O_CMDWEPROTA, 0x13FFFF00);
Fapi_setupBankSectorEnable(FLASH_WRAPPER_PROGRAM_BASE+FLASH_O_CMDWEPROTB, 0x00000080);