This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Aw: Re: Re: Debugging via JTAG - problems?
- From: "Lukas Riezler" <lukas dot riezler at gmx dot net>
- To: "Edgar Grimberg" <edgar dot grimberg at gmail dot com>
- Cc: ecos-discuss at sourceware dot org
- Date: Thu, 25 Apr 2013 16:19:50 +0200 (CEST)
- Subject: Aw: Re: Re: Debugging via JTAG - problems?
- References: <trinity-f282db46-eac2-47d3-8bb1-13e21542ba72-1366848816388 at 3capp-gmx-bs55> <5178E338 dot 3090307 at siva dot com dot mk> <trinity-ba72444c-8db1-461a-b4d5-1651ed21f6d2-1366894983433 at 3capp-gmx-bs14> <CAPrjMDBTTL3K=jw8bN=u0D3qL-K kbqraFgS4e2vL pTrN3mNw at mail dot gmail dot com>, <CAPrjMDBhM1YJEjsW9KE0AK5 U6YUmTa77zXBRDW41iQv-VV1 g at mail dot gmail dot com>
- Sensitivity: Normal
Hi Edgar!
Â
> - Be sure everything is compiled with -O0 (no optimization).
So I have to add this flag at the global build options in the configuration tool?
> - Be sure you have compiled the latest version of the source code.
I have ecos installed like it is described here: http://ecos.sourceware.org/getstart.html
Is this ecos source code the latest one? I know about the CVS but I thougt the only difference is that there are more ports listed.
> - Be sure you have loaded the elf file to the target (I assume it's a RAM application, isn't it?)
Yes, it is a RAM application. But I selected JTAG as startup type in the configuration tool.
But how can I get sure the elf file is loaded to the target? Sorry for my silly question :/
Â
> - Try using the gdb in command line until you are sure you are doing the right thing.
> - Post the exact steps you are doing in command line gdb (copy + paste commands and output), it might be clearer like that.
Â
I'll do that :)
Â
Â
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