Unable to connect target board using codewarrior TAP.

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

Unable to connect target board using codewarrior TAP.

1,013 Views
kishanpatel78
Contributor I

We have designed custom board using reference of FRDMLS1012A.On custom board when we try to connect CodeWarrior TAP it gives error ERROR: Memory access failed. I have attached screen shot here.

Flashing Mehod :
1) Select target board in codewarrior (FRDM-LS1012) studio.
2) Click to connect icon to connect with device.It is giving error.

3) When selecting diagnose option it will display following error.



Please let me know if i am missing something.

Labels (1)
Tags (1)
0 Kudos
2 Replies

681 Views
Pavel
NXP Employee
NXP Employee

Check CodeWarrior SDRAM initialization for your board.

Find .pl initialization files for LS1012a board using the following path:

C:\Freescale\CW4NET_v2016.01\CW_ARMv8\Config\boards

 

Test your board using OCRAMx memory of the LS1012a as code and data memory for your test program.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

681 Views
kishanpatel78
Contributor I

Hi Pavel 

On Initialization script it stuck in Reset().

 if USE_SAFE_RCW:
        # Set rcw_src to hard-coded RCW option
        gdb.execute("monitor rcw source set 0x9E")
        gdb.execute("monitor rcw apply")

When it tries to run  gdb.execute("monitor rcw apply") command it gives ccs:Subcore error encountered during multicore operation error. I have attached script which I am using for flashing .

Note : we have modified RAM as listed below.

In FRDM  RAM part no:

MT41K256M16TW-107:P

In custom board :

MT41K1G8SN-125:A

Regards,

Kishan Patel

0 Kudos