how to use codewarrior10.3 debug uboot code?

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

how to use codewarrior10.3 debug uboot code?

1,078 Views
lvlovelive
Contributor I

I have installed CW Dev Studio (Power architecture, 10.3) on a WinXp,and target bsc9132 ,but i do not know how to use cw debug the code,who have guide about this?

Thanks a lot in advance

Labels (1)
0 Kudos
2 Replies

430 Views
lvlovelive
Contributor I

when i use CW10.3 to attach the target board,appear below figure,why??

4ed9e4d9.bmp.bmp

0 Kudos

430 Views
marius_grigoras
NXP Employee
NXP Employee

Hi,

About u-boot debugging please take a look in Targeting_PA_Processors.pdf from PA\Help\PDF (chapter 5.4.6. Debugging U-Boot from NOR, NAND, SPI, and SD Card/MMC Flash Devices).

About secure debug violation, this processor BSC9132 supports a feature named "secure debug" that basically checks if the processor is in Secure Debug mode and will enable the debug flow only if the unlock key is provided. Unfortunately, please note that  “Secure debug violation” is a generic error and this can means a lot of possible errors (DDR initialization failed, corrupt core, invalid JTAG/config_chain and so on) – this way because there is only one error signal/pin and the ccs can’t multiplex all types of hw errors using it.

In many cases, the secure debug violation at this board just means that you didn't configure correctly the JTAG port according with your CW/software project and not that the SoC is secured.

The QDS part has 2 JTAG ports (JTAG_COP and JTAG_EONCE), please double-check that you selected the proper one according with your project setup.

According with board manual, you can use SW8[7:8] to choose preferred option. Please take a look on this thread [1] - this is a full thread about how the JTAG Topology can be set up according with CW settings.

Regards,

Marius

[1] https://community.freescale.com/message/331538#331538