LS1043A: Hard Coded RCW

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1043A: Hard Coded RCW

5,625 次查看
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,958 次查看
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,958 次查看
addiyi
NXP Employee
NXP Employee

What is the version of CW you are using?

Adrian

0 项奖励
回复

4,958 次查看
kshah
Contributor I

Hi Adrian,

It is CW for QorIQ LS series ARMv8 ISA.

0 项奖励
回复

4,958 次查看
addiyi
NXP Employee
NXP Employee

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

Adrian

0 项奖励
回复

4,958 次查看
kshah
Contributor I

Hi Adrian,

Build ID is 160115

Version is 11.2.0.

Thanks.

0 项奖励
回复

4,958 次查看
addiyi
NXP Employee
NXP Employee

Please update to the latest version.

Adrian

0 项奖励
回复

4,958 次查看
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 项奖励
回复