Other Parts Discussed in Thread: TMS320F28031, TMS320F28030
Hello All
In the file "Example_Flash2803x_API.c" in the conditional definition of sectors (given below) I do not see reference to TMS320F28030 and TMS320F28031. Will flash API work on them? Atleast in TMS320F28031 there are 8 sectors of 2k each, where as TMS320F28030 has only four sectors.
Please clarify.
Thanks
Sayee
#if (FLASH_F28035 || FLASH_F28034)
#define FLASH_START_ADDR 0x3E8000
SECTOR Sector[8]= {
(Uint16 *) 0x3E8000,(Uint16 *) 0x3E9FFF,
(Uint16 *) 0x3EA000,(Uint16 *) 0x3EBFFF,
(Uint16 *) 0x3EC000,(Uint16 *) 0x3EDFFF,
(Uint16 *) 0x3EE000,(Uint16 *) 0x3EFFFF,
(Uint16 *) 0x3F0000,(Uint16 *) 0x3F1FFF,
(Uint16 *) 0x3F2000,(Uint16 *) 0x3F3FFF,
(Uint16 *) 0x3F4000,(Uint16 *) 0x3F5FFF,
(Uint16 *) 0x3F6000,(Uint16 *) 0x3F7FFF,
};
#elif (FLASH_F28033 || FLASH_F28032)
#define FLASH_START_ADDR 0x3F0000
SECTOR Sector[8] = {
(Uint16 *) 0x3F0000,(Uint16 *) 0x3F0FFF,
(Uint16 *) 0x3F1000,(Uint16 *) 0x3F1FFF,
(Uint16 *) 0x3F2000,(Uint16 *) 0x3F2FFF,
(Uint16 *) 0x3F3000,(Uint16 *) 0x3F3FFF,
(Uint16 *) 0x3F4000,(Uint16 *) 0x3F4FFF,
(Uint16 *) 0x3F5000,(Uint16 *) 0x3F5FFF,
(Uint16 *) 0x3F6000,(Uint16 *) 0x3F6FFF,
(Uint16 *) 0x3F7000,(Uint16 *) 0x3F7FFF,
};
#endif