LS1012A RCW generated in PE does not work

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

LS1012A RCW generated in PE does not work

Jump to solution
1,794 Views
dolphin1
Contributor I

We have a custom board with LS1012A-Rev1.

Using PBL_0x35_0x08_800_250_1000_default.bin supplied in the LSDK, the CPU works perfectly with u-boot, linux and SD-card, but we cannot get the board to run with a custom RCW we generate with Processor Expert in CodeWarrior 11.3.0.

As a basic test we did the following procedure:

1) Start a new Quoriq configuration project

2) import PBL_0x35_0x08_800_250_1000_default.bin from LSDK into the PBL in Processor Expert (Ignore constraints and non-critical errors enabled). Not touching iany registers.

3) Generate RCW with Processor Expert.

4) Upload RCW to board with Codewarrior TAP (erase, program, validate).

5) Reset board

6) The board will not load u-boot and asserts RST REQ low.

7) Uploading PBL_0x35_0x08_800_250_1000_default.bin, and the board works again

A binary compare of the original file and the generated file reveals that something has changed. Both files attached.

We need to control the RCW to get all features on our board up and running.

Thanks in advance for any assistance on this subject!

Eivind

Labels (1)
Tags (1)
0 Kudos
1 Solution
1,286 Views
ufedor
NXP Employee
NXP Employee

> select cpu LS1012A rev 1.0

I do not see the issue for the Rev.2.0

View solution in original post

7 Replies
1,286 Views
dolphin1
Contributor I

Confirmed in our end as well.

0 Kudos
1,286 Views
dolphin1
Contributor I

Step-by step re-generating LS1012ARDB RCW from SDK with QCVS:


1) Start Codewarrior 11.3.0, running QCVS 4.2.0 Build: 0001-20180118
2) Create new Quoriq Configuration project called nxptest, select cpu LS1012A rev 1.0
3) Select PBL component
4) Import configuration from existing PBL file
5) Select PBL_0x35_0x08_800_250_1000_default.bin, file format binary.
6) Receive warning -> Turn on “Ignore constraints and non-Critical errors”.
7) Check Configuration Registers: RCWSR6 is 11??000??????00??????000?100
8) In component inspector: Change RCW source to Quad SPI.
9) Save all
10) Select PBL:PBL in components explorer and push the “Generate Processor Expert Code” button (Document with brown arrow)

11) PBL_swapped_CRC_not_swapped.bin is generated by PE.

This was replicated on a different PC running the same software versions.

0 Kudos
1,287 Views
ufedor
NXP Employee
NXP Employee

> select cpu LS1012A rev 1.0

I do not see the issue for the Rev.2.0

1,286 Views
dolphin1
Contributor I

Version 4.12.0
Build: 0001-20180118

0 Kudos
1,286 Views
ufedor
NXP Employee
NXP Employee

Do you see that the RCWSR06[SRDS1_REFCLK_SEL]=0 immediately after importing the "PBL_0x35_0x08_800_250_1000_default.bin"?

Please provide step-by-step explanation of the "PBL_swapped_CRC_not_swapped.bin.zip" generation.

0 Kudos
1,286 Views
dolphin1
Contributor I

Additional information: Its a bit in RCWSR06 that changed during import of the original file. It seems it is SRDS1_REFCLK_SEL. Not available for manipulation from PE.

0 Kudos
1,286 Views
ufedor
NXP Employee
NXP Employee

Which QCVS version is used?

I do not see the reported issue with the 4.12.0

0 Kudos