CodeWarrior 10 to CrossWorks project conversion
Hello,
what is the easiest way to convert CodeWarrior 10 project (we would like to use Freescale USB stack Kinetis sample projects) to CrossWorks? If it is not straightforward procedure, is it, at least, possible to debug Codewarrior AFX files in Crossworks?
We are able to build Codewarrior project, copy Codewarrior's AFX file to Crossworks empty project, rename it to <crossworks_project_name>.elf, launch debugging in Crossworks (it will load Codewarrior's AFX file - now elf file), but disassembly looks weird, e.g.:
SIM_SCGC5 |= SIM_SCGC5_PORTB_MASK | SIM_SCGC5_PORTC_MASK; /* Enable clock gating to port B & C */
0138F248 teqeq r8, r8, asr #4
0104F2C4 smlabteq r4, r4, r2, pc
F4406808 vst2.8 { d22, d23 }, [r0], r8
60086040 andvs r6, r8, r0, asr #0
--- Boot_loader_task.c -- 114 ------------------------------ /* Enable LEDs Port B pin 0 & 1 */
PORTB_PCR0 |= PORT_PCR_SRE_MASK /* Slow slew rate */
0100F24A undefined opcode
0104F2C4 smlabteq r4, r4, r2, pc
F0406808 undefined opcode
60080064 andvs r0, r8, r4, rrx
The program executes but we are nut sure if it does what it should do.
Please sign in to leave a comment.
Comments
0 comments