Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Discussion Groups

Discussion Groups | Freescale DSPs | CodeWarrior problem

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

CodeWarrior problem - Richard Kiš - Aug 26 14:31:00 2002



I have a following problem with CodeWarrior (V.5.XX) debugger:
There is not possible to set a breakpoint to few function (at source
code begin) in some of project sources. (Please note that this is not a
case when code is deadstipped because it is not used!). The minus ('-')
characters are displayed at left of debugger view (so code is generated
for that lines) but there is not possible to set a breakpoint on that
code. Code is generated and executed through that parts OK...). When I
switched debug view to 'Mixed' or 'Assembler' mode and next tried insert
a breakpoint there, a message "No symbolics data for debugger" was
displayed. Looking to the .elf file I can find a symbols generated for
that functions. I tried rebuild project, delete generated files and make
rebuild and much more without success. My project is quite extensive and
this problems starts after a last enlargement of it probably .
Please, does anybody know what is a problem? Richard Kis
SAE - Automation, s.r.o.






(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

RE: CodeWarrior problem - Johnson, Jerry - Aug 26 15:20:00 2002

RE: [motoroladsp] CodeWarrior problem

The following function seems to work as advertised!!!

;in test.asm
;**********************************************
        GLOBAL FtestDivInt
; Word16 FtestDivInt(Word32 * dividend, Word16 divisor);
;Inputs:
;       R2 => dividend, y0 = divisor
;Returns:
;       y0 = quotient
;Example function call in C
;       Word16 temp16;
;       Word32 temp32;
;...
;       temp16 = 7;
;       temp32 = 21;
;       temp16 = testDivInt(&temp32, temp16);
; temp16 ==3 at this point.
;
FtestDivInt:

        move    x:(r2+1),b
        move    x:(r2),b0
        move    y0,x0
        asl     b
        move    b,y1
        abs     b
        eor     x0,y1
        bfclr   #$0001,SR
        rep     #$10
        div     x0,B
        BGE     _DONE
        neg B
_DONE:
        move    B0,y0
        rts

This was executed on the 56F807 part. and I did get 3 in y0.

JJ.

-----Original Message-----
From: Richard Kiš [mailto:r...@saeautom.sk]
Sent: Monday, August 26, 2002 9:31 AM
To: m...@yahoogroups.com
Subject: [motoroladsp] CodeWarrior problem


   I have a following problem with CodeWarrior (V.5.XX) debugger:
There is not possible to set a breakpoint to few function (at source
code begin) in some of project sources. (Please note that this is not a
case when code is deadstipped because it is not used!). The minus ('-')
characters are displayed at left of debugger view (so code is generated
for that lines) but there is not possible to set a breakpoint on that
code. Code is generated and executed through that parts OK...). When I
switched debug view to 'Mixed' or 'Assembler' mode and next tried insert
a breakpoint there, a message "No symbolics data for debugger" was
displayed. Looking to the .elf file I can find a symbols generated for
that functions. I tried rebuild project, delete generated files and make
rebuild and much more without success. My project is quite extensive and
this problems starts after a last enlargement of it probably .
   Please, does anybody know what is a problem?


Richard Kis
SAE - Automation, s.r.o.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/PNArlB/TM
---------------------------------------------------------------------~->

_____________________________________
/groups.php3
 





(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )