ls1021a Hardcoded Option Codewarrior Error

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

ls1021a Hardcoded Option Codewarrior Error

920 Views
jiye
Contributor V

Hi,

I am trying to follow the reference manual 4.4.6.2 to create my 0x9A hard coded RCW settings for my ls1021a stand alone board. After I follow the recommended settings and regenerate the code it shows me an error below:

pastedImage_1.png

Can anyone help?

0 Kudos
5 Replies

791 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Elias Bitbaker,

I didn't reproduce your project, please refer to my attached workspace.

0 Kudos

791 Views
jiye
Contributor V

your work space i load your PBL.bin file but it shows

pastedImage_1.png

IFC NAND (NAND flash) shouldn't it be eMMC

pastedImage_2.png

also if I want to use 0x9a hard coded option the clock should be 100 MHz right ?

pastedImage_3.png

0 Kudos

791 Views
yipingwang
NXP TechSupport
NXP TechSupport

On my side, the system clock frequency is 100MHz, please import the project form File->Import->General->Existing Projects into Workspace.

0 Kudos

791 Views
jiye
Contributor V

i did what you told me to do.

First of all can you answer this question would be super helpful

pastedImage_1.png

Do i need to change the RCW source to eMMC, hardcoded instead of IFC NAND????????? because I am flashing into the eMMC my customized board does not have NAND flash

I assume you was using 9A,  this what I did.

(1)I imported your project

(2) I went to generated code then I changed the pbl.bin to ls1021a-rcw.txt then I load this file from the debug configuration of my OCRAM board project

(3) I used OCRAM init script and memory script then run debug

0 Kudos

791 Views
yipingwang
NXP TechSupport
NXP TechSupport

No need to change RCW source.

0 Kudos