Debugging via JTAG - problems?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello ecos-guys!

For my FM3-Port I've customized the clocking.
I thougt this would be enough to debug a first "Hello World" application (blinking LED) with JTAG.

What I did is following:

1) I customized clocking (that contains of course customizing the dependent header files and cdl files
2) I built a ecos library. I took care that I disable virtual vector table. Richard Rauch advised me of this because I want ecos to run without RedBoot.
3) I created a makefile project in eclipse
4) with this makefile project I'm now able to compile my "Hello World" application and then linking it with the ecos library
5) an elf file is generated
6) then I did the configurations for debugging in eclipse
7) I use arm-none-eabi-gdb from YAGARTO toolchain (arm-eabi-gdb which comes with ecos doesn't work?), Segger GDB Server and onboard JTAG
8) I am able to start debugging --> the debugger starts at vectors.S and after some steps I get into the main() of Hello World. What makes me a little
   perplex is that I don't leave vectors.S until I reach the main() of Hello World.
   I expected that I should run through the different files of the HAL to see among other things the steps of my clock initialisation.
9) like I said I arrive at main() of Hello World...but exactly the line of code which should cause the LED to switch on is ignored by the debugger!
   A few steps later I get with the debugger to serial.c
Do you know what I'm doing wrong? If there are some passages you don't really understand because of my english --> please tell ;)

---

By the way - can you tell me what I have to do for answering in the mailing-list? I think I still don't understand how that works ;)
With kind regards, Lukas

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss






[Index of Archives]     [Linux Embedded]     [U-Boot V2]     [Linux Kernel]     [Linux MIPS]     [Linux ARM]     [Linux for the Blind]     [Yosemite]     [ISDN Cause Codes]     [eCos Home]

  Powered by Linux