Programming RCW in T2080RDB

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

Programming RCW in T2080RDB

跳至解决方案
2,291 次查看
abhisheksingh
Contributor II

Hi,

 I corrupted the RCW which is located in NOR flash at location 0xE8000000 to 0xE801FFFF  in T2080RDB.  Now on power on, my boot code does not run.I want to reprogram the RCW into the same location. Tried creating a bareboard SRAM project with hard coded RCW and the SRAM init script as provided with CW 10.5 and executing target task to do the flash programming. 

 

But the flash programming is not happening. It says that it is not able to perform the flash algorithm and hence not able to read the flash ID. May be the flash is not configured properly. Also for the RCW image which is 80 bytes in size, the flash programmer target task says the image size is 0 bytes.

 

Please suggest what might have gone wrong and how to reprogram RCW.

There are 3 RCW files provided in jtag_chain folder for T2080RDB. Which one is to be used?

 

Thanks in advance. 

0 项奖励
回复
1 解答
2,267 次查看
ufedor
NXP Employee
NXP Employee

RCW override is not needed if appropriate (corresponding to SYSCLK frequency) hard-coded RCW option is selected.

Are you able to establish debug connection with the board?

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,286 次查看
ufedor
NXP Employee
NXP Employee

> bareboard SRAM project with hard coded RCW

What do you mean?

0 项奖励
回复
2,272 次查看
abhisheksingh
Contributor II

Hi,

For executing the Flash Programmer target task in CodeWarrior, I created a Bareboard project in 'Download SRAM' launch configuration  and used the JTAG configuration file T2080RDB_PCIe_RCW_1533_600_1600_rev1.0.txt to override RCW. Also in the board switch settings, the RCW source is set to '010011011' to enable 'hardcoded RCW for JTAG debug' as mentioned in T2080RDBQS.

Are these configurations correct? Is there anything I am missing?

 

Thank You.

0 项奖励
回复
2,268 次查看
ufedor
NXP Employee
NXP Employee

RCW override is not needed if appropriate (corresponding to SYSCLK frequency) hard-coded RCW option is selected.

Are you able to establish debug connection with the board?

0 项奖励
回复
2,256 次查看
abhisheksingh
Contributor II

Thank you for your support. 

I was able to perform flash programming with switch settings configured for hardcoded RCW and no JTAG configuration file was required for RCW override.

0 项奖励
回复