Skip to content

Commit b9ccda6

Browse files
committed
application: Skip precise ecc error injection in demo_ecc
Precise ECC error injection is a new feature which is under testing. Signed-off-by: Jiandong Qiu <qiujiandong@nucleisys.com>
1 parent c2a0487 commit b9ccda6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

application/baremetal/demo_ecc/demo_ecc.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,10 @@ static int32_t run_ecc_err_inj_demo(int32_t cc_demo)
685685
switch (DOWNLOAD_MODE) {
686686
case DOWNLOAD_MODE_SRAM:
687687
case DOWNLOAD_MODE_DDR:
688+
if (IINFO->ecc_inj_way & (1U << 31)) {
689+
printf("[WARNING]: Precise ECC injection is not supported!\r\n");
690+
break;
691+
}
688692
#if defined(__CCM_PRESENT) && (__CCM_PRESENT == 1)
689693
setup_nc_region();
690694
res |= ic_ecc_err_inj_demo();

0 commit comments

Comments
 (0)