[LS2088A] Codewarrior CCS command error

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

[LS2088A] Codewarrior CCS command error

1,806 Views
jhkim2
Contributor III

Hi,

When I put commands below in CCS console, I get error message.

config cc cwtap:10.11.238.176

ccs::config_chain {ls2088a sap2}

can't read "::ccs::core(ls2088a)": no such element in array

 

How can I fix this problem?

Thanks in advance.

JeongHwan Kim

0 Kudos
9 Replies

1,732 Views
jhkim2
Contributor III

I attached the text file of CSS log

0 Kudos

1,721 Views
ufedor
NXP Employee
NXP Employee

The

puts "Entry RSP: "
ccs::write_mem 2 0x7 0x001000D0 0x4 0x0 0x800

and

puts "Exiting RSP: "
ccs::write_mem 2 0x7 0x001000D0 0x4 0x0 0x400

are not needed for the LS2088A.

0 Kudos

1,792 Views
ufedor
NXP Employee
NXP Employee

1) Which exactly board is in question?

2) Is the processor capable to successfully complete its POR sequence? - i.e. all reset signals behave as shown in the QorIQ LS2088A Reference Manual, Figure 4-1. Power-On Reset Sequence.

Pay special attention to the RESET_REQ_B and ASLEEP.

3) How RCW is provided to the processor?

4) Please execute in the CCS console "source IDcode.tcl" and provide the log.

0 Kudos

1,782 Views
jhkim2
Contributor III

1) My board is LS2088ARDB rev.F3.

2) I'm trying to test secure boot with Ls2088a, so I set the Switch 4.8 to 0 to put the core into RSP.

After that, I reboot the board and executed codewarrior software.

I started the CCS program with button "Connect" beside flash programming button.

3) I did not do anything but default CW setting.

4) I attach "source IDcode.tcl" result

idcode.tcl.png

 

0 Kudos

1,773 Views
ufedor
NXP Employee
NXP Employee

You wrote:

> I started the CCS program with button "Connect" beside flash programming button.

The CCS has to be started before resetting the board by running ccs.exe:

c:\Freescale\CW4NET_v2020.06\Common\CCS\bin\ccs.exe

0 Kudos

1,763 Views
jhkim2
Contributor III

Without "ccs::config_chain {ls2088a sap2}",  I put the command "display ccs::get_config_chain".

The result was as follows :

(bin) 50 % display ccs::get_config_chain
Chain Position 0: LS2085A
Chain Position 1: CoreSight ATB Funnel
Chain Position 2: CoreSight TMC
Chain Position 3: CoreSight TMC
Chain Position 4: CoreSight ATB Funnel
Chain Position 5: CoreSight ATB Funnel
Chain Position 6: CoreSight ATB Funnel
Chain Position 7: CoreSight ATB Funnel

.......

Chain Position 322: CoreSight CTI
Chain Position 323: Cortex-A72 PMU
Chain Position 324: Cortex-A72 ETM
Chain Position 325: DAP
Chain Position 326: SAP2

Is this normal operation?

(1) In my LS2088ARDB board, there is no need to put the command "ccs::config_chain {ls2088a sap2}"?

 

In addition, I have another question.

When I command "ccs::write mem 2 0x7 0x001000D0 0x4 0x0 0x800", which is directed in LSDK User guide Rev.19 page.298 for secure boot test, "Unimplemented" message appears.

(2) Is that command not needed in secure boot test with CW in LS2088A?

 

Thanks in advance.

0 Kudos

1,758 Views
ufedor
NXP Employee
NXP Employee

For the LS2088A it should be:

ccs::config_chain {ls2085a sap2}

0 Kudos

1,745 Views
jhkim2
Contributor III

Thanks for reply.

 

I put the CW command "ccs::config_chain {ls2085a sap2}" and set "ccs::write_mem 2 0x7 0x001000D0 0x4 0x0 0x800" in order to set the board enter RSP for secure boot test.

But "unimplemented " message returned and I cannot go further.

cw_error.jpg

0 Kudos

1,740 Views
ufedor
NXP Employee
NXP Employee

Please provide complete ccs log as textual attachment - top a picture.

0 Kudos