Yes it SHOULD be better … unfortunately it does not work, and it’s exactly the configuration I had started with at the beginning, and the results are the same:
Info: jtag.c:1328 jtag_examine_chain(): JTAG device found: 0x2b900f0f (Manufacturer: 0x787, Part: 0xb900, Version: 0x2)
Info: jtag.c:1328 jtag_examine_chain(): JTAG device found: 0x07b3601d (Manufacturer: 0x00e, Part: 0x7b36, Version: 0x0)
Info: jtag.c:1328 jtag_examine_chain(): JTAG device found: 0x1190101d (Manufacturer: 0x00e, Part: 0x1901, Version: 0x1)
Error: jtag.c:1383 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x042011
Error: jtag.c:1383 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x042011
Error: jtag.c:1383 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x042011
Error: jtag.c:1383 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x042011
Error: jtag.c:1383 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x042011
Error: jtag.c:1383 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x042011
Error: jtag.c:1494 jtag_init(): Could not validate JTAG chain, exit
Now I have the feeling we have pretty much done all the logical configurations and come back to the status we were at the beginning. Either there is a problem in the openOCD code that I need to debug or (this second hypothesis is what I think is correct) there is something not correct in the i.MX31 JTAG chain that must be supported with some openOCD code changes.
Laurent, do you have other ideas ? Or anyone else ? Dominic ? I am going to ask someone at Freescale about it, to maybe confirm my hypothesis and get some guidance … I still have to look the errata sheet too.