Programming ARM in C from scratch -


i have lpc3141 developers kit embeded artists , have sucessfully created free ide based on eclipse can sucesfully compile arm. tested ide using included blinker example. have startup code , linker script work , use them on.

now learn how start own blinker program nothing. have program first? gpio registers, timer registers, uart registers,... ??? first thing? thing need write in fact hal? allready ordered book, think?

thank you.

regards ziga

these pages might useful, same family, different chips.

http://lpcstuff.blogspot.com/2008/09/lpc-2148-blinker-1.html

http://lpcstuff.blogspot.com/2010/08/nxp-mbed-aint-so-bad-after-all.html

you wont need timers or interrupts or started. have c loop count (long) while change state of gpio. need configure gpio output. , careful not have c compiler optimize out delay loop. later can polling timer, after interrupts if feel need to.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -