LS1043A: Hard Coded RCW

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1043A: Hard Coded RCW

5,370件の閲覧回数
kshah
Contributor I

Hello Team,

 

I have LS1043A RDB. I tried to flash sample bare metal program. While trying to flash elf image using debug configuration I am getting gdb error (Protocol error with Rcmd). I have changed useSafeRCW = true in target initialization file to enable RCW override and I made switch configuration for the hard coded RCW. Please find attached error screenshot and target initialization file.

 

Also, after configuring board with hard coded RCW where will program counter jump?

 

Thanks.

Original Attachment has been moved to: target_init.txt.zip

0 件の賞賛
返信
7 返答(返信)

4,703件の閲覧回数
kshah
Contributor I

Hi Adrian,

I have read Readme and as per read me text we have to set SW3[4]=0 and I have set SW4 amd SW5[1]= 0_1001_1111(Hard Coded Reset) but, I am getting same error.

Is there any other configurations are required?

Thanks.

0 件の賞賛
返信

4,703件の閲覧回数
addiyi
NXP Employee
NXP Employee

What is the version of CW you are using?

Adrian

0 件の賞賛
返信

4,703件の閲覧回数
kshah
Contributor I

Hi Adrian,

It is CW for QorIQ LS series ARMv8 ISA.

0 件の賞賛
返信

4,703件の閲覧回数
addiyi
NXP Employee
NXP Employee

Please provide the build number. Go to Help > About CW.

Adrian

0 件の賞賛
返信

4,703件の閲覧回数
kshah
Contributor I

Hi Adrian,

Build ID is 160115

Version is 11.2.0.

Thanks.

0 件の賞賛
返信

4,703件の閲覧回数
addiyi
NXP Employee
NXP Employee

Please update to the latest version.

Adrian

0 件の賞賛
返信

4,703件の閲覧回数
addiyi
NXP Employee
NXP Employee

Make sure you read the below info from README:

"You can have CodeWarrior override RCW_SRC and/or particular RCW values through JTAG.
For this you need to use the function provided in the initialization script and choose
the hard-coded RCW option matching the SYSCLK and differential/single-clock settings
configured on the board's DIP switches. Since all hard-coded options are defined with
serdes protocol 0x0, you need to also set have to set SW4[1:2] = 00 (100 MHz for SERDES)."

Adrian

0 件の賞賛
返信