Pages: 1 2 [3]   Go Down
Author Topic: LPC810 mini ARM Prozessor in 8 pin dip package  (Read 929 times)
0 Members and 2 Guests are viewing this topic.
nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8602
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I use the LPC Xpresso IDE, I gather that's based on Eclipse so maybe EGit will work with it.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Lindau / Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

>I use the LPC Xpresso IDE

Hmm... I think that could work.
Using the LPC-Project is very simple. First you have to install EGit.

RightClick on the projects-explorer-window
-> import -> Git -> Projects from Git -> "Clone Button" on the right site
Than you can place

https://github.com/bobc/OpenLasp

in the URI-Field. Than Eclipse should be able to download the repo.

Better is if you fork the project first in Git to your on GitHub account.

There is a simple Tutorial for EGit:
http://eclipsesource.com/blogs/tutorials/egit-tutorial/
Logged

Lindau / Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Bob,

I tried to install OpenLasp like you described it:

Installation procedure:

    Copy the Arduino/hardware folder to your sketches folder
    Copy the OpenLaspExamples folder to your sketches folder
    Restart Arduino IDE

But it didn't work as expected.
Instead I had to do the following:

copy
/OpenLasp/Arduino/hardware/OpenLasp/LPC8
to
/arduino-1.5.7/hardware/arduino/LPC8


Logged

Lindau / Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Now the programmer file is missing:
java.io.IOException: Cannot run program "/home/christoph/arduino-1.5.7/hardware/arduino/tools/lpc_upload.sh": java.io.IOException: error=2, Datei oder Verzeichnis nicht gefunden
Logged

Offline Offline
Full Member
***
Karma: 9
Posts: 211
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

LPC1114 version: I don't have LPC8xx yet but I do have several LPC11xx boards so I though I would have a go at it. I wanted try the "variant" support. It proved a little more tricky, the IDE does not automatically build the required library, it has to be pre-built with makefile and put into source tree. Possibly there is a better way to do it, I might make some inquiries on dev list.

There is a git gui (command "git gui" or "gitk") which runs on Linux and Windows. There are a few things I do on the command line still but generally I use the GUI for most regular operations, commit, push. The GUI is not totally slick as it could be, but generally OK. I would love to have a simpler/better version. Github have a windows client, but I don't use it.

I tried to install OpenLasp like you described it:

Installation procedure:

    Copy the Arduino/hardware folder to your sketches folder
    Copy the OpenLaspExamples folder to your sketches folder
    Restart Arduino IDE

But it didn't work as expected.

In what way did it not work? I just tried it on Linux, and it worked the way I expected. There are some changes needed to the lpc_upload.sh script, I hadn't quite finished that.

To be clear, there is an Arduino "install" folder, and a "user" sketch folder. OpenLasp was designed to be installed into the user folder.

The paths will be different if you install elsewhere, and  it may/may not work. It seems from your later message that it compiles but doesn't find the right tools folder.

I made a couple of assumptions, 1) it is better to install into user folder rather than patching the Arduino install,
2) an installer is not required, as it is a simple folder copy

I could be wrong about both of those things!
Logged

Please don't PM me asking for help. Ask questions in the forum.

Lindau / Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

> 2) an installer is not required, as it is a simple folder copy
I like simplicity, so I think it is ok to install the whole thing in the user folder.
But on my system it didn't work so I copied the things into the correct "install" folders. Probably it is a issue of the Arduino IDE version: I have 1.5.7 32bit on Ubuntu.

There is another issue. The bash script for the programmer didn't work:
https://github.com/ChrisMicro/OpenLasp/commit/466c9fbf15e707077878719058f8e0677d2b5a55
and it is necessary to set the "execution bits" of the files.
Logged

Lindau / Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Now I tried a second time the installation you described: It worked. So thats OK.
I also saw that you pulled the batch file modification.
Logged

Pages: 1 2 [3]   Go Up
Jump to: