Forum: ARM programming with GCC/GNU tools Float/Double control in Yagarto(Eclipse+J-link debug)

Author: vladi (Guest)
Posted on:

Rate this post
0 useful
not useful
There are some declarations in my main.c:
#define  Fhclk   24e6    // mcu clock in Hz
#define  ms      (Fhclk/1e3)  // cycles for ms

void Delay(unsigned int Cycles){
  unsigned int DelayReg;
  DelayReg = (unsigned int)(Cycles/ms);// point of error (see below)!!!

When debuging with J-Link, at the moment of calculation (Cycles/ms) 
debug session 'suspended' with the erorr message:
Can't find a source file at 
Locate the file or edit the source lookup path to include its location.
I cannot find this path and file in Yagarto toolchain install folder.
Please, help me with configuration of compiler settings and maybe match 


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.