Bit 5 - Srom Polling Timeout Error; Bit 6 - Verification Failure; Bit 7 - Transition Error - Infineon PSoC 4 Quick Start Quide

Table of Contents

Advertisement

PSoC 4 Programming Using an External Microcontroller (HSSP)
Appendix C: Bit Field Definitions of HSSP Error Status Register
16.4
Bit 5 – SROM Polling Timeout Error
Flash programming in PSoC 4 is done by using SROM APIs. This bit is set when the PollSromStatus()
function returns an error status. The CPUSS_SYSREQ register is polled for the status code for 1 second. This bit
is set if the time exceeds 1 second or if the status code returned by this function corresponds to FAILURE. This
function is called in all the HSSP steps to read the status of SROM system requests.
If this bit is set, the host programmer must call the ReadSromStatus() function in ProgrammingSteps.h to
read and display the value of the status code returned during polling.
For more details on SROM status codes, see
16.5
Bit 6 – Verification Failure
This error bit, which is set in multiple steps, can fail in verification for multiple reasons, as
Table 14
Verification Errors – Steps and Reasons
Error Step
Device Acquire (Step 1)
Verify Silicon ID (Step 2)
Verify Flash (Step 6)
Verify Protection Settings
(Step 7)
Verify Checksum (Step 9)
It is clear from the previous conditions that bit 6 can be set in many verification error cases. Based on the step
in which the bit is set, you can infer the cause of the verification failure. For example, if the bit is set in the
"Verify Silicon ID" step, the host programmer application can determine that the error is due to the mismatch
of the silicon ID.
16.6
Bit 7 – Transition Error
This bit is set when the chip protection settings read from the chip and the chip protection settings stored in
the hex file indicate a wrong transition.
See "Appendix A. Chip-Level Protection" of the programming specifications document of the respective device
listed in the
Related Documentation
and invalid transitions.
Application Note
Appendix B: Status Codes
Error
Device ID Verification
Error
Silicon ID Verification
Error
Flash Data Verification
Error
Flash Protection Data
Verification Error
Checksum Verification
Error
section to learn about protection modes and the state diagram for valid
40 of 45
for SROM Request.
Reason for Error
IDCODE returned by device does not match the Cortex-
M0 DAP ID (0x0BB11477).
Silicon ID information in the hex file does not match
the Silicon ID read from the target device.
Flash data does not match the data in the hex file.
Row protection data or chip protection data read from
the silicon does not match the hex file data.
Checksum value of the flash data in the target device
does not match the checksum data in the hex file.
Table 14
shows.
001-84858 Rev. *N
2021-03-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

An84858

Table of Contents