I need an Example project for debugging with Timer IRQ

Hello, pleas can anyone give me a ecample project for Yagarto. I cannot Debug in Flash, i cannot fix the problem. I have allready posted my problems but there was no solution.

Pleas has anybody an example with a Timer IRQ for debugging in RAM and Flash where i can see how it works. Target: LPC2148

Thanks very much

mgiaco

Try the WinArm examples. Almost all of them are targeted for the LPCxxx family. You may download it, extract the examples and then deleted from you computer. Even you may give it a chance (I like WinArm). It’s not heavy (the release that doens’t include eclipse) so it may fast downloading

Good luck =)

Again me =)

For debugging from flash (using Insight, I don’t know if works under eclipse) you can check these threads

viewtopic.php?t=6074

viewtopic.php?t=7027&sid=f60d09cf7be3fd … 572d9286b6

I’m able to debug from flash, but insight crashes, so if you can try it you may help me

Hello fjrg76,

I have allready read this things you have posted but it doesn´t work. So maybe I will try Crossworks. I cannot debug when i use IRQ´s.

Maby my laptop is to slow i don´t know.

mgiac

Oh yes that was the problem i had with this posts, where can i change that line?

// Like the author of that post, I commented out the line

if (low == 0 && (bfd_get_file_flags (obfd) & HAS_RELOC) == 0) > return 0;

thanks

Although I haven’t it done yet, you must rebuild GNU-GDB sources in order to apply the patch. At this point this is kind of complicated for me, so I’m trying other solutions. If they don’t work I’ll need to apply the patch.

I’ll quote:

"I found this post that explained the problem was gdb throwing out a section that it thought might be bogus.

http://sourceware.org/ml/gdb/2006-06/msg00123.html

Like the author of that post, I commented out the line

if (low == 0 && (bfd_get_file_flags (obfd) & HAS_RELOC) == 0) > return 0;

in file ./gdb/dwarf2read.c (from the Insight directory that I used to build arm-elf-gdb from."

Have you ever tried this forum??

http://en.mikrocontroller.net/forum/17

Hope this works