public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: hello world in AEB
@ 2000-01-27  9:51 k e
  2000-01-28  2:38 ` Carles Perello
  0 siblings, 1 reply; 2+ messages in thread
From: k e @ 2000-01-27  9:51 UTC (permalink / raw)
  To: Carles Perello; +Cc: ecos-discuss

--- Carles Perello <carles.perello@wanadoo.es> wrote:
> 
> Hi there,
> 
> I think I am just one step behind you, trying to run
> the hello world
> example in the ARM AEB board.
> 
> As I try it, gdb doesnt connect to the board when I
> type target remote
> <dev>. I think I miss loading the gdb_stubs to the
> board, which is the
> file under the loaders directory, right?.
> 
> which is the procedure then? 
> 
> - Load loaders/arm-aeb file to the board (using
> minicom?)
> - running at pc 0x8000 or first loading into ROM?
> 
> if the later is true I protected my EEPROM against
> writing following the
> board instructions..do you know how to enable
> writing?
> 
> sorry for this hassle, just thought you may have
> this still fresh in mind
> :)
> 
> cheers
> 
> carles
>  
> 
> 

Carles,
sorry for the delay in reply.
As you can see by my other submissions to this
list, I'm still taking baby steps.
Hopefully, my limited learnings can help you.
1) The first step is to build the eCos tools
   I had to use i586 as the host machine option
   rather than i686 (I have a Pentium III)
   I'm not sure if this is relevant to you.
2) Then configure the kernel (using the tclsh script)
   for your host machine and the arm board.  Follow
the
   example.
3) Then download the stubs, as described in the eCos
   documentation.  The target rdi step worked for me
   only after I completely rebuilt my tools and kernel
   telling it that I had an i586 instead of an i686.
   (again, maybe that's not relevant to you)
   Then flashwrite the stubs as described in the doc.
4) If you get to this point you're ready to try the
   hello program.  I've only been able to, so far,
   run the hello program from the arm-elf-gdb debugger
   as described in the documentation.  The debugger
   takes care of loading the executable to the ARM
   board.  The use 'c' (continue) to run the program.

I'm still trying to learn how to build, load and
execute a program on the ARM in RAM (not ROM, yet)
WITHOUT the help of the debugger.
Let me know if I can be more specific for you.

good luck,
keith


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] Re: hello world in AEB
  2000-01-27  9:51 [ECOS] Re: hello world in AEB k e
@ 2000-01-28  2:38 ` Carles Perello
  0 siblings, 0 replies; 2+ messages in thread
From: Carles Perello @ 2000-01-28  2:38 UTC (permalink / raw)
  To: k e; +Cc: ecos-discuss

Hi Keith,

Thanks for your help, things here look much better since I downloaded the
last CVS revision, even the docs tell a lot more things now about the AEB.

My host computer is an Alpha (64 bits CPU) that introduces some quirks,
for instance the flash_cksum.tcl script need the following patch:

adding the line:

scan $cksum "%d" dcksum

before

puts "[format 0x%8.8X $dcksum]"

otherwise tcl crashes telling that it cant store big values in an integer.
(however I think this is not related to 64 bits CPU's..but)

I've just compiled the gdb_stubs..now I need to discover how to unprotect
the flash to allow writing again....

thanks!!!

carles


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-01-28  2:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-27  9:51 [ECOS] Re: hello world in AEB k e
2000-01-28  2:38 ` Carles Perello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).