Hello!
I have a custom board based in BSC9132QDS. One changes is new part of NAND MT29F4G08ABA that actually works well. But now, a new feature (ECC) is necessary and some modifications on uboot and hardware are necessaries to achieve it, and were mapped as follow:
uboot:
* include/configs/bsc9132qds
#define CONFIG_SYS_NAND_CSOR ( CSOR_NAND_ECC_ENC_EN \
| CSOR_NAND_ECC_DEC_EN \
| CSOR_NAND_ECC_MODE_4 \
| CSOR_NAND_RAL_3 \
| CSOR_NAND_PGS_2K \
| CSOR_NAND_SPRZ_64 \
| CSOR_NAND_PB(64))
* hardware
BSC9132 QDS SW7 "IFC"
IFC ECC (cfg_ifc_ecc[0:1])
2'b10 - 4-bit correction
I used Codewarrior PA 10.3 and USB-TAP to flash the u-boot-nand.bin, but just if SW7 2'b00 (ECC disabled) is set. When I change to SW7 2'b10 (4 - bit correction) the following error message is showed:
Failed to reset the target
[CCS last error: p1010: Core not responding ](CCSProtocolPlugin)
Error: Connect Failed.
Error executing task BSC9132QDS_NAND_FLASH.
Error: Connect Failed. log: Timestamp: Thu Oct 10 09:34:08 2019
Why it is happen and how can I fix the Codewarrior's project to flash uboot on the target the board even using the SW7 2'b10 (4 - bit correction)?
Regards