This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6442: ELM wrong calculated location status

Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG

Hello,

We're trying to understand an odd ELM behavior: the syndrome computed from GPMC is the same as the one fed into ELM syndrome, configuration is continuous mode and BCH8 using poly 0. The data is shown below:

ELM Registers config:

sysconfig = 0x00000011
sysstatus = 0x00000001
irqenable = 0x00000001
location_config = 0x07ff0001
page_ctrl = 0x00000000
fragment 0= 0x140fb16d
fragment 1= 0xb87c4e21
fragment 2= 0xa6c3eb5c
fragment 3= 0xb6b10021

GPMC computed poly = 0x21 0xa6 0xc3 0xeb 0x5c 0xb8 0x7c 0x4e 0x21 0x14 0x0f 0xb1 0x6d 0x00 and is confirmed with the python bchlib.

After ELM processing (and we confirm that irqstatus goes from 0 to 1 indicating end of processing of syndrome 0) the output in location_status0 (addr= 0x025010800) is 0x0001 which should not happen (if only one error then it should be correctable i.e. bit8 should be set but it's not).

This error is systematic with all data in (bit8 is never set), and all data have GPMC calculated ECC =  actual ECC. The location_status values I'm seeing are 0x0000 (which is odd!), 0x0001, 0x0002 and 0x0003. 

Please let me know if you have any idea that could lead to solving this problem.

Thank you.

FYI, these are the 512 bytes that generates the polynomial above:

30 82 04 51 30 82 03 ba a0 03 02 01 02 02 14 66 23 78 31 72 5b 7d b6 6e 07 19 40 78 e1 75 c5 d3 6c 04 42 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0d 05 00 30 81 9d 31 0b 30 09 06 03 55 04 06 13 02
55 53 31 0b 30 09 06 03 55 04 08 0c 02 54 58 31 0f 30 0d 06 03 55 04 07 0c 06 44 61 6c 6c 61 73 31 27 30 25 06 03 55 04 0a 0c 1e 54 65 78 61 73 20 49 6e 73 74 72 75 6d 65 6e 74 73 20 49 6e 63
6f 72 70 6f 72 61 74 65 64 31 13 30 11 06 03 55 04 0b 0c 0a 50 72 6f 63 65 73 73 6f 72 73 31 13 30 11 06 03 55 04 03 0c 0a 54 49 20 53 75 70 70 6f 72 74 31 1d 30 1b 06 09 2a 86 48 86 f7 0d 01
09 01 16 0e 73 75 70 70 6f 72 74 40 74 69 2e 63 6f 6d 30 1e 17 0d 32 33 30 33 32 37 31 31 35 37 30 32 5a 17 0d 32 33 30 34 32 36 31 31 35 37 30 32 5a 30 81 9d 31 0b 30 09 06 03 55 04 06 13 02
55 53 31 0b 30 09 06 03 55 04 08 0c 02 54 58 31 0f 30 0d 06 03 55 04 07 0c 06 44 61 6c 6c 61 73 31 27 30 25 06 03 55 04 0a 0c 1e 54 65 78 61 73 20 49 6e 73 74 72 75 6d 65 6e 74 73 20 49 6e 63
6f 72 70 6f 72 61 74 65 64 31 13 30 11 06 03 55 04 0b 0c 0a 50 72 6f 63 65 73 73 6f 72 73 31 13 30 11 06 03 55 04 03 0c 0a 54 49 20 53 75 70 70 6f 72 74 31 1d 30 1b 06 09 2a 86 48 86 f7 0d 01
09 01 16 0e 73 75 70 70 6f 72 74 40 74 69 2e 63 6f 6d 30 81 9d 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 05 00 03 81 8b 00 30 81 87 02 81 81 00 d1 7e b9 d7 41 a3 f4 93 ab d1 2b f8 19 f9 b0 df 95
25 3a cb 52 5a 80 67 90 fd bf 90 62 e8 83 cf 5e 23 6a 9a 20 f1 f4 52 bb 95 81 b0 0c 5a 49 ac 92 01 4c 12 dc bf 4f a7 0f a1 18 c7 9c 9b 22 09 e3 de 1a 31 f6 53 b6 4d 60 e3 d8 14 e7 c8 e8 76 e8