Faisal Mirza wrote:
> I am new to WinARM. I need to experiment with LPC-MT-2106 EV Board from
> Olimex and i have WinARM installed on XP. To be honest, i am completly
> clueless now where to start? All i want to do, is to turn ON / OFF an
> LED when i press / release one of the buttons on the evaluation board
> from Olimex.
WinARM comes with a few examples the LPC-P2106 board. It's simlar but no
the same. You may have to adapt the pin-number/bit-masks used for LED.
Sorry, I just own the LPC-P2106 so I can not provide tested examples for
Make sure the PATH environment variable has been extened correctly (see
readme), open the windows shell ("DOS-prompt"), change into the example
directory and type make all.
> Is there any startup guide for beginners like myself for the WinARM?
Search for Jim Lnych's LPC ARM tutorial.
> Both C or Assembly will be OK with me. But i need to know which files go
> where? How to Link / Compile and then make a hex file in WinARM
> environment so that i can download it serially to the LPC-2106 inside
> the Olimex board?
Take a look into the makefiles or the output from make all and you
should get an idea. WinARM comes with the tool lpc21isp to upload though
the LPC bootloader you can also use the old Philips isp-tool or
> I know i sound like a real beginner to some of you out here. But i will
> really appreciate if someone could give me a straight path from the very
> beginning to the end to run the code on the Olimex board the way i
> explained above. You could even start with telling me about opening the
> Editor to write the C / Assembly code etc.
WinARM comes with a simple editor named programmers notpad (pn.exe).
Start it, load an example, open the makefile and select tools/make all.
See what is done in the output-window. You will see the steps and
options used to assemble, compile, link and to generate a load-file