--- In wannabeanembeddedexpert
wannabeanembeddedexpert <> wrote:
>
>
> "7F454C46...." which is equal to ".ELF....." in ASCII.
> ELF? Must not it be AXF or something else? The header of the image
on the ftp seems totally different by the way. In summary,
> I could not find where I did wrong... Can anybody?
>
I think you built a program to be executed under a running linux
kernel... Not one to be run on a bare board....
And, in any case, your code won't work under a kernel because user
space apps cannot read memory directly.
Look at keypad.c or any of the other examples in the files section (I
think there is an led blinker of some sort)....
You have to map the memory into userspace, and then use it. It's
pretty straightforward once you get used to it, but the first step is
pretty high and slippery... :-)
Welcome aboard. May you never look back.
--Yan
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|