lpc1788, lpcopen, openocd and lpcopen-make

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lpc1788, lpcopen, openocd and lpcopen-make

391 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by amlwwalker on Thu Jul 25 10:39:47 MST 2013
Hi,
Im new to ARM programming, AVR 8 bit programming has been a hobby of mine for about 5 years, I have bought a development board from olimex however the example they have written is for IAR IDE and has lots of proprietry code in, and the IDE is like $2000 - I cant afford that, so I want to go open source.
This is the dev board I bought; https://www.olimex.com/Products/Modules/LCD/MOD-LCD4.3%27%27/
I have setup a ubuntu box with the above mentioned toolchain. By lpcopen-make I mean: https://bitbucket.org/smartavionics/lpcopen-make

It all seems to work with my olimex jtag debugger, I "think" I can program the device with the example, however nothing happens, I cant get any response from the serial line.
Im new to make files aswell, 
I was wondeirng whether anyone would be able to help me get something that works. I know its quite a tall order, but Im at a bit of a loss. I dont know whether its the board, the jtag, whether its flashing correctly, whether Ive set openocd up correctly whether the program is correct for the device, Im just not sure. Is there any chance someone could ssh in  and have a look - easiest way to see the setup. If so, pm me and I'll give you the details

That would be extremely kind and perhaps i could give you some beer tokens or buy you a new jtag or whatever....
.For people who think its a hacking oppourtunity btw, Im a pentester by trade, the box is a vm there is nothing on it except the toolchain, and I have clones, so it wont last much longer than the time it takes me to work this out...
Labels (1)
0 Kudos
1 Reply

362 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Wouter on Fri Jul 26 05:41:00 MST 2013
Hi,

Sorry, I don't have any experience with the Olimex debugger or openocd, so I can't really help with that.

I just wanted to point you to our free LPCXPresso toolchain:
http://lpcxpresso.code-red-tech.com/LPCXpresso/

For a debugger, you can buy any LPCXpresso board (e.g. http://uk.farnell.com/nxp/om13035/lpc1115-lpcxpresso-eval-board/dp/2103787).
These low-cost boards can be used as simple evaluation boards, but can also be used as a standalone programmer/debugger for your LPC1788 dev board.

The LPCXpresso toolchain and debugger are officially supported by NXP and widely used on this forum, which will help you when running into any problems.

Regards,
Wouter
0 Kudos