How to use CodeWarrior TAP on LS1024ARDB

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

How to use CodeWarrior TAP on LS1024ARDB

How to use CodeWarrior TAP on LS1024ARDB

1. You should have CodeWarrior TAP(CWH-CTP-BASE-HE)and Probe Tips for LS1024A(CWH-CTP-VSPA-YE)

 

2. Install CodeWarrior for QorIQ LS Series ARMv7 ISA Windows v10.0.4

 

3. Install CodeWarrior patch (LS1024A-2MA_Windows_SP.zip)forLS1024/MA

40621_40621.png1.png

4. Connect this tool to LS1024A RDB board and run CodeWarrior environment.

 

5.Start the bootloader and stop it at Barebox command line

 

6. In CodeWarrior environment File->New->Codewarrior Bareboard project wizard to add a LS1024A project.

    Run->Debug configuration->Debug

 

7. Window->Show View->Registers. Only ARM architecture registers you read here.

40835_40835.png2.png

 

8. If you want to read peripheral device controller register, please use shell mode

   Window->Show->Debugger Shell

 

CodeWarrior Debugger
Shell v1.0

%> cmdwin::mem <device based address>+offset -s

40837_40837.png3.png

(use command “help cmdwin::mem” to get the detail )

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1115465%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20to%20use%20CodeWarrior%20TAP%20on%20LS1024ARDB%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1115465%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E1.%20You%20should%20have%20CodeWarrior%20TAP(%3CA%20_jive_internal%3D%22true%22%20class%3D%22%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fhttp%3A%2F%2Fwww.freescale.com%2Fwebapp%2Fsps%2Fsite%2Fprod_summary.jsp%3Fcode%3DCW_TAP%26amp%3Bcof%3D0%26amp%3Bam%3D0%26amp%3Btab%3DBuy_Parametric_Tab%22%20target%3D%22_blank%22%3E%3CSPAN%20style%3D%22background%3A%20%23eef9fa%3B%20color%3A%20%23017bba%3B%20font-family%3A%20'Arial'%2Csans-serif%3B%20font-size%3A%209pt%3B%20text-decoration%3A%20none%3B%20text-underline%3A%20none%3B%22%3ECWH-CTP-BASE-HE%3C%2FSPAN%3E%3C%2FA%3E)and%20Probe%20Tips%20for%20LS1024A(%3CSPAN%20style%3D%22color%3A%20%232e74b5%3B%22%3ECWH-CTP-VSPA-YE%3C%2FSPAN%3E)%20%3C%2FP%3E%3CP%20style%3D%22min-%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20Install%20CodeWarrior%20for%20QorIQ%20LS%20Series%20ARMv7%20ISA%20Windows%20v10.0.4%3C%2FP%3E%3CP%20style%3D%22min-%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E3.%20Install%20CodeWarrior%20patch%20(LS1024A-2MA_Windows_SP.zip)forLS1024%2FMA%3C%2FP%3E%3CP%3E%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%2240621_40621.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%2240621_40621.png%22%20style%3D%22width%3A%20826px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F118104i542AC9C7B1F92196%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%2240621_40621.png%22%20alt%3D%2240621_40621.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%221.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%221.png%22%20style%3D%22width%3A%20826px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F21986iF0B0E8817504B30A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%221.png%22%20alt%3D%221.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E4.%20Connect%20this%20tool%20to%20LS1024A%20RDB%20board%20and%20run%20CodeWarrior%20environment.%3C%2FP%3E%3CP%20style%3D%22min-%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E5.Start%20the%20bootloader%20and%20stop%20it%20at%20Barebox%20command%20line%3C%2FP%3E%3CP%20style%3D%22min-%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E6.%20In%20CodeWarrior%20environment%20File-%26gt%3BNew-%26gt%3BCodewarrior%20Bareboard%20project%20wizard%20to%20add%20a%20LS1024A%20project.%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Run-%26gt%3BDebug%20configuration-%26gt%3BDebug%20%3C%2FP%3E%3CP%20style%3D%22min-%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E7.%20Window-%26gt%3BShow%20View-%26gt%3BRegisters.%20Only%20ARM%20architecture%20registers%20you%20read%20here.%20%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%2240835_40835.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%2240835_40835.png%22%20style%3D%22width%3A%20610px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F118105iFF28257025D85DCF%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%2240835_40835.png%22%20alt%3D%2240835_40835.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222.png%22%20style%3D%22width%3A%20610px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F30927i4DA47DC04CB1D7AD%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222.png%22%20alt%3D%222.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22min-%20padding%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E8.%20If%20you%20want%20to%20read%20peripheral%20device%20controller%20register%2C%20please%20use%20shell%20mode%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20Window-%26gt%3BShow-%26gt%3BDebugger%20Shell%3C%2FP%3E%3CP%20style%3D%22min-%20padding%3A%200px%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%2300b050%3B%22%3E%3C%2FSPAN%3E%20%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%2300b050%3B%22%3ECodeWarrior%20Debugger%3CBR%20%2F%3EShell%20v1.0%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22color%3A%20%2300b050%3B%22%3E%25%26gt%3B%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%2300b050%3B%22%3Ecmdwin%3A%3Amem%20%3CDEVICE%20based%3D%22%22%20address%3D%22%22%3E%2Boffset%20-s%3C%2FDEVICE%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2300b050%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%2240837_40837.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%2240837_40837.png%22%20style%3D%22width%3A%20703px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F118106i630D0C2611AF31AC%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%2240837_40837.png%22%20alt%3D%2240837_40837.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223.png%22%20style%3D%22width%3A%20703px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F24745iCC4772D7DA16D870%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%223.png%22%20alt%3D%223.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E(use%20command%20%E2%80%9Chelp%20cmdwin%3A%3Amem%E2%80%9D%20to%20get%20the%20detail%20)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1115465%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎06-21-2015 11:17 PM
Updated by: