TMS320F280x SDFlash Programming Utilities
F280x SDFlash Algo V1.1
Texas Instruments Inc. 30
Status
Definition
Notes
14
STATUS_FAIL_API_SILICON_MISMATCH
This error code is new as of V2.00 of the API.
At the start of each API function, the content of a
boot ROM location 0x3FFFB9 is checked to
determine if the API is ok to execute on that silicon.
In the future, TI can change the content of this boot
ROM location if an API becomes obsolete. This
will prevent an old API from executing on the new
silicon.
Version 2.00 of the API looks for the value 0xFFFF.
On devices with an XINTF, the XINTFCNF2
register is saved and the boot ROM is enabled (if it
was not already). After the check, the XINTFCNF2
register is restored.
If this error code occurs, verify that that the proper
API version is being used. Check the
TMS320C2000 web site at
http://www.ti.com/c2000.
Erase Specific Status Messages
20
STATUS_FAIL_NO_SECTOR_SPECIFIED
Erase had nothing to do because no valid sectors
were specified.
21
STATUS_FAIL_PRECONDITION
Erase operation failed because the clear portion of
the pre-condition operation failed.
22
STATUS_FAIL_ERASE
Erase operation failed because the sector could
not be erased with the maximum allowed number
of pulses.
23
STATUS_FAIL_COMPACT
Erase operation failed because the post-
conditioning (compaction) failed.
24
STATUS_FAIL_PRECOMPACT
This error code is new as of V2.00 of the API.
Erase operation failed because the pre-
compaction portion failed. The pre-compaction is
applied to all sectors on the device. The
FLASH_ST structure will return a fail address
corresponding to the first sector fails this step.
Program Specific Status Messages
30
STATUS_FAIL_PROGRAM
Program operation failed because one or more
bits could not be programmed.
31
STATUS_FAIL_ZERO_BIT_ERROR
Program operation failed because one or more
bits were already programmed (0) that should
have been erased (1). If this happens it could be
because the sector was not erased before
attempting to program.
Verify Specific Status Messages
40
STATUS_FAIL_VERIFY
The verify operation failed because one or more
bits did not match the reference data.
Try increasing the Flash or OTP wait states.