Hello,
I'm interfacing the F021 library to progam the TMS570LSxxx5 family and I have some questions:
1- Fapi_getBankSectors():
This function returns information about the bank starting address, number of sectors, sector sizes, and
bank technology type. The information is returned in a struct Fapi_FlashBankSectorsType. The members
are as follows:
• oFlashBankTech – Indicates if bank is an FLEP, FLEE or FLES bank type
• u32NumberOfSectors – Indicates the number of sectors in the bank
• u32BankStartAddress – Starting address of the bank
• au8SectorSizes[] – An array of sectors sizes for each sector in the bank
a- What mean FLEP, FLEE and FLES?
b- au8SectorSizes[] does not contain the sector size value. For example on Bank0 the first value is au8SectorSizes[0]=16 and the last au8SectorSizes[14]=64 could you explain me why?
2- Fapi_issueProgrammingCommand()
The supplied starting address to program at plus the data buffer length cannot exceed the bank data width. (Ex.
Programming 14 bytes on a 16 byte wide bank starting at address 0x4 is not allowed.)
a- Where can I found the bank data width information?
b- Can I program the same bank two time or I need to perform an erase before?
Best regards
Stefano Querin