EmbDev.net

Forum: ARM programming with GCC/GNU tools LPC-P2148 Development board + Eclipse - need proper Makefile and democode


von Jan z. (Company: Ondrik-soft) (janzondrikovic)


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.

von Oliver (Guest)


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

von Jan z. (Company: Ondrik-soft) (janzondrikovic)


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.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.