LPC-P2148 Development board + Eclipse - need proper Makefile and democode

OP (Company: Ondrik-soft) #2105754
Rate this post
• ▲ useful
▼ not useful
Hi guys, Iam a brand new in microcontroller world and Iam looking for 
someone who can help me to find demo code, which will preserve a 
communication with LPC-P2148 development board via UART. I have a RS232 
USB converter and I want to upload hex files via UART but I cant find 
useful Eclipse Makefile (which shoud include settings like: com, port, 
baud rate, ram, rom). Does anybody have the starting project with this 
makefile to me? Thx, Jan.
Guest #2105866
Rate this post
• ▲ useful
▼ not useful
Loading hex-Files via uart requires the presence of a bootloader in the 
Controller. If there is no bootloader pre-flashed from the board 
manufacturer, you will need a JTAG programmer to program the controller. 
If there exists a bootloader, the best source to find further 
information on this will be the documentation of your specific board.

Oliver
OP (Company: Ondrik-soft) #2114942
Rate this post
• ▲ useful
▼ not useful
Hi Oliver, thank you for you answer. I split together two makefiles and 
now I am able to upload data to my board via software called LPC21isp, 
so Iam glad i made run my demo code. Next step is to make run a timer. I 
know it is hard. I need timer to run, I mean to count in real second. 
Does anybody know how to make it? Respectively, how to set timer 
registers to count in seconds. Thanks, Jan.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

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.