Using Codewarrior tap to program onboard NOR flash with yocto build products

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

Using Codewarrior tap to program onboard NOR flash with yocto build products

1,172 Views
kylevonschmacht
Contributor I

To whom it may concern,

We're trying to bring up a custom board derived from the T1042 and T2081 Reference boards.

We've used  the QorIQ SDK 2.0 to generate images ready to burn onto the flash.

Config pins are set for the "Hardcoded RCW" option, and we've confirmed that the Board comes out of HReset waiting for the JTAG.

How do we set up Codewarrior to use the products from the SDK to program the Flash?

Thanks for your help,

Kyle

0 Kudos
5 Replies

744 Views
Pavel
NXP Employee
NXP Employee

Test your board using simple CodeWarrior program example.

Use CodeWarrior wizard for simple example creation.


Have a great day,
Pavel Chubakov

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

0 Kudos

744 Views
Pavel
NXP Employee
NXP Employee

Look at the Section 5.2.2 of NXP SDK 2.0-1703 documentation:

http://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf

 

This Section contains list of instructions for system recovering using CodeWarrior Flash Programmer.


Have a great day,
Pavel Chubakov

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

0 Kudos

744 Views
kylevonschmacht
Contributor I

Pavel,

Any thoughts?  Is there any information from my end that might be helpful?

Thanks,

Kyle

0 Kudos

744 Views
kylevonschmacht
Contributor I

Pavel,

I'm getting the following error:

CCSProtocolPlugin : Failed to correctly configure the JTAG chain

This occurs with both the flashing task and the running debug on the connection.

Thnaks,

Kyle

0 Kudos

744 Views
kylevonschmacht
Contributor I

Pavel,

After Powercycling the Target board I'm getting a new error

CCSProtocolPlugin : Secure debug violation

CodeWarrior TAP is most recent, CW for PA is 10.5.1 eval version.

EDIT::

The following is from the Console

JTAG Diagnostics

Starting Power at Probe test ...
Test result: PASSED

Starting IR Scan test ...
Test result: PASSED

Starting Bypass Scan test ...
Test result: PASSED

Starting Arbitrary TAP State Move test ...
Test result: PASSED

Detected JTAG IDCODEs: OK
Device 0 IDCODE: 0x118E601D

ccs_jtag_unlock
    serverh = 4
    cc = 0
    ccs_jtag_unlock; ccs_error = 0 [completed correctly]
ccs_config_chain
    serverh = 4
    cc = 0
    device_list: (size = 1)
        device[0]:: core_type=T2080(242)
    ccs_config_chain; ccs_error = 39
    Error message:
ccs_get_subcore_error
    serverh = 4
    cc = 0
    error = 57
    chain_pos = 0
    ccs_get_subcore_error; ccs_error = 0; duration=0 ms
ccs_kill_server
    serverh = 4
    ccs_kill_server; ccs_error = 0

Thanks,

Kyle

0 Kudos