LS1043 CPLD READ

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043 CPLD READ

26,095 Views
carlos-m-ribeiro
Contributor I

Good afternoon, we are using an u-boot for ls1043 in QSPI with our custom board but if we read from address 0x7fb00000 where we have our cpld, the value read is always 0xff:

 

=> md.b 0x7fb00000 1
7fb00000: ff .
=> md.b 0x7fb00000 1
7fb00000: ff .
=> md.b 0x7fb00000 2
7fb00000: ff ff
 
We verify all configurations and we did many tests since many weaks ago. If possible, with your experience, could you review quickly our IFC configurations in attached files.
 
Thank you
 
 
0 Kudos
Reply
26 Replies

3,069 Views
ufedor
NXP Employee
NXP Employee

How exactly the RCW[IFC_MODE] value is altered?

Have you edited the ".rcw" file and rebuild the composite firmware image?

Please provide SPI firmware binary images operational and with altered RCW for inspection.

0 Kudos
Reply

3,065 Views
carlos-m-ribeiro
Contributor I

Good morning,

 

I am programming the swapped QSPI RCW binary file (see file) with the RCW[IFC_MODE] value altered in QSPI address 0x0 and after I am programming the u-boot.bin file in QSPI address 0x100000.

 

Thank you

0 Kudos
Reply

3,074 Views
ufedor
NXP Employee
NXP Employee

Which exactly method you are using to modify the RCW field value?

0 Kudos
Reply

3,073 Views
carlos-m-ribeiro
Contributor I

Changing only the IFC mode using code warrior and maintaining the rest of RCW equal.

 

Thank you

0 Kudos
Reply

3,064 Views
ufedor
NXP Employee
NXP Employee

Please note that there is CRC which has to be re-calculated after the RCW change.

0 Kudos
Reply

3,060 Views
carlos-m-ribeiro
Contributor I

Thank you for your advise. Now, we can boot from QSPI but all CPLD reads from 0x7fb00000 are 0xff.

0 Kudos
Reply