Preliminary
www.ti.com
Error Location Module
Table 1-129. ELM Processing Completion for Continuous Mode
Step
Register/ Bit Field / Programming Model
Value
Wait until process is complete for syndrome
polynomial i:
Wait until the ELM_IRQ interrupt is generated, or
poll the status register.
Read for which i the error-location process is
ELM_IRQSTATUS[i] LOC_VALID_i
0x1
complete.
if the process fails (too many errors)
ELM_LOCATION_STATUS_i[8] ECC_CORRECTABLE
0x0
It is software dependant.
else (process successful, the engine completes)
ELM_LOCATION_STATUS_i[8] ECC_CORRECTABLE
0x1
Read the number of errors.
ELM_LOCATION_STATUS_i[4:0] ECC_NB_ERRORS
Read the error-location bit addresses for syndrome
ELM_ERROR_LOCATION_0_i[12:0]
polynomial i of the ECC_NB_ERRORS first
ECC_ERROR_LOCATION
registers.
ELM_ERROR_LOCATION_1_i[12:0]
It is the software responsibility to correct errors in
ECC_ERROR_LOCATION
the data buffer.
...
ELM_ERROR_LOCATION_15_i[12:0]
ECC_ERROR_LOCATION
endif
Clear the corresponding i interrupt.
ELM_IRQSTATUS[i] LOC_VALID_i
0x1
A new syndrome polynomial can be processed after the end of processing
(ELM_SYNDROME_FRAGMENT_6_i[16] SYNDROME_VALID = 0x0) and after the exit status register
check (ELM_LOCATION_STATUS_i).
Table 1-130. ELM Processing Completion for Page Mode
Step
Register/ Bit Field / Programming Model
Value
Wait until process is complete for syndrome
polynomial i:
Wait until the ELM_IRQ interrupt is generated, or
poll the status register.
Wait for page completed interrupt:
ELM_IRQSTATUS[8] PAGE_VALID
0x1
All error locations are valid.
Repeat the following actions the necessary number of times. That is, once for each valid defined block in the page.
Read the process exit status.
ELM_LOCATION_STATUS_i[8] ECC_CORRECTABLE
if the process fails (too many errors)
ELM_LOCATION_STATUS_i[8] ECC_CORRECTABLE
0x0
It is software dependant.
else (process successful, the engine completes)
ELM_LOCATION_STATUS_i[8] ECC_CORRECTABLE
0x1
Read the number of errors.
ELM_LOCATION_STATUS_i[4:0] ECC_NB_ERRORS
Read the error-location bit addresses for syndrome
ELM_ERROR_LOCATION_0_i[12:0]
polynomial i of the ECC_NB_ERRORS first
ECC_ERROR_LOCATION
registers.
ELM_ERROR_LOCATION_1_i[12:0]
ECC_ERROR_LOCATION
...
ELM_ERROR_LOCATION_15_i[12:0]
ECC_ERROR_LOCATION
endif
End Repeat
Clear the ELM_IRQSTATUS register.
ELM_IRQSTATUS
0x1FF
253
SPRUGX9 – 15 April 2011
Chip Level Resources
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...