LPC3141 what is uboot and how to download a program.c to my target

OP (Company: PeF Ljubljana, TSC Kranj) #2007259
Hello!

I am new to embedded world and i have a hard start as i chose LPC3141 as 
my first embedded system. Currently i am only interested if anyone can 
tell me how to work with uboot. I have read averything about it, how it 
works and how it first copies first part of itself in Boot ROM and then 
copies rest of itself to the SDRAM. Soo now i know the theory...

Next step is to compile a program (program.c) and make it work on my 
target, where i don't have any OS. When looking arround i found quite a 
lot of info about doing that using application dfu-util but i get 
confused. Sooo here is my question.

Do i first download uboot image to my target and after that my 
program.elf OR do i have to make an uboot object and use linker to link 
uboot image with my program.o. And if anyone can supply me with a simple 
example would be great.

There are allso 2 programs related to uboot and are described here:
http://www.lpclinux.com/LPC313x/LPC313xGettingstartedELDK#CreateUbootInitDfu

Reply

A question of your own? This thread is over 15 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.