First Impressions: LPCXpresso Linux

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

First Impressions: LPCXpresso Linux

2,580 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Mon Sep 20 08:47:41 MST 2010
Hello all,

My impressions are very good for LPCXpresso in Linux. I use Mandriva (which is a species in danger of extinction :) ).

Everything is installed fine, and compiles the programs without problem, but with the same problems in Windows when it comes to debugging: the driver is not loaded.

Then, as if by magic works, but may change his mind, everything depends on the mood of LPCXpresso.

I registered my copy with no problems, but "Program Flash" does not work, I have exactly the same error as discussed here.

We look forward recommendations to resolve the intermittent problem of drivers.

Thank you.
0 Kudos
Reply
31 Replies

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Tue Oct 19 13:42:03 MST 2010
The Beta 3 has solved the problem, thanks.

CodeRed, the link to download the latest Beta using FTP is incorrect, missing "_Beta".
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Sun Oct 17 09:06:31 MST 2010

Quote: let
Hi,
it is not only openSuSE. I can reproduce the error on Kubuntu Lucid + Maverick as well. So it could indeed be a KDE specific issue.

But I do not understand how a _window manager_ could be responsible
for such a behaviour.
Unfortunalety there appears to be no decent error message - except
the one telling me that  something did not work.

- Michael

PS: With Lucid + Maverick I mean Lucid 32bit and Maverick 64bit. Two different machines.



That's right, if you use Ubuntu, but with the KDE window manager, then LPCXpresso fail. Similarly, if Mandriva use another window manager like IceWM, then runs smoothly.

The  downside of all this is that CodeRed just says "Your distribution is  not supported" or "distribution is out of date" when the reality is that  Mandriva uses the latest version of GTK.

Guys, change your attitude.

Note: If you (CodeRed), contact the eclipse community within minutes have the problem solved.

Note 2: When  I started writing programs in Linux I found similar problems between  GTK and KDE, and it was simple things like: What is the working  directory? KDE default assumed it was "/home/user" and GTK was assumed that the directory where the program was running.

In other words, problems of dynamic paths, environment variables, and so on.
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by let on Sat Oct 16 13:05:34 MST 2010
Hi,
it is not only openSuSE. I can reproduce the error on Kubuntu Lucid + Maverick as well. So it could indeed be a KDE specific issue.

But I do not understand how a _window manager_ could be responsible
for such a behaviour.
Unfortunalety there appears to be no decent error message - except
the one telling me that  something did not work.

- Michael

PS: With Lucid + Maverick I mean Lucid 32bit and Maverick 64bit. Two different machines.
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Oct 14 14:47:02 MST 2010
This is most likely due to the version of gtk or kde on your distro. We are making some additional use that eclipse doesn't, and it all works on our supported platforms, so I suspect your particular distro is out of date.
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Thu Oct 14 13:49:31 MST 2010

Quote: CodeRedSupport
Your last example is a perfect case in point. There is absolutely no platform specific code in the wizard at all. It is identical code for all platforms. Go figure



Exactly, then something is wrong in the way of its implementation, which is specific to a distribution.
In my experience, it can be something as simple as an environment variable is defined differently.

The question is: Why can create eclipse from eclipse.org projects without problems on any Linux distribution?

And I'm not complaining, not even going to open more threads on the topic.
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Thu Oct 14 13:40:12 MST 2010
I  have said several times that I'm using Mandriva, if you say it works  perfectly in openSuSE then no problem. [COLOR=#000000]I have plans to make a change in a few months.[/COLOR]


Quote:
We test on a variety of platforms, but it is not possible to test every possible combination. THIS IS THE REASON FOR THE BETA.



OK, but  the problem is that you (NXP?) have taken the wrong way, do not even care that  the examples to work properly (examples are platform independent).

Maybe  I'm wrong, maybe I'm confusing LPCXpresso with other projects such as  Lazarus, of which I am part, and the user is a programmer and the  programmer is the user.

But this is not free software, so my comparison is not valid.

I will not complain, I promise.:)
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Oct 14 13:08:27 MST 2010
Your last example is a perfect case in point. There is absolutely no platform specific code in the wizard at all. It is identical code for all platforms. Go figure
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Oct 14 12:58:29 MST 2010
I don't want to burden the forum with this, but I think your comments deserve a reply.

Your comments on cross-platform development are great in theory, but don't work in practice. If you are doing plain command-line style utilities, it can be done (and we have), but for the GUIs it is just not possible.

We support Windows (XP, Vista, Win7, 32-bit and 64-bit) and Linux (Fedora, Ubuntu, Gnome and KDE) as well as trying to make sure we can run on other Linux distros. We *have no choice* but to have specific code for specific platforms, as they are not the same. We test on a variety of platforms, but it is not possible to test every possible combination. THIS IS THE REASON FOR THE BETA.

Now perhaps you will kind enough to let us know which particular version of OpenSUSE and desktop you are using, and also confirm that you are using Beta 2. We might then be able try it ourselves on your particular combination and try to understand why it might not be working. As I said, we have tried it here on OpenSUSE 11 with KDE and it works perfectly (with Beta 2).

Thank you,
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Thu Oct 14 12:56:32 MST 2010
I decided to create the project using another option, but I can not create the project because the button "Finish" is not available:

[IMG]http://img233.imageshack.us/img233/1210/newproject2.jpg[/IMG]
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Thu Oct 14 12:05:48 MST 2010
KDE forever, and Mandriva, but would be happy if it works on openSUSE.

I  usually create programs for Linux and Windows (and Mac if I had one),  and there is a basic rule: do not do things for a distribution even for  an operating system.

That is the key to many systems, including eclipse, but mysteriously LPCXpresso fails the basic rule.

****
When you ask questions, please include the question mark, I think it's a basic rule too.;)
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Thu Oct 14 10:42:08 MST 2010

Quote: CodeRedSupport
Can you tell me which version of OpenSUSE you are using, and which window manager (gnome/kde).



By the window decoration, I might say he is using KDE.

Renan
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Oct 14 09:49:48 MST 2010
Can you tell me which version of OpenSUSE you are using, and which window manager (gnome/kde).
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Thu Oct 14 09:14:19 MST 2010
Ask all you want and we will respond. Here is a screenshot:
[IMG]http://img844.imageshack.us/img844/1937/newproject1.jpg[/IMG]

Supposedly you were working to fix error in openSUSE.

[B]Top Ten Distributions[/B]


[LIST=1]
[*][B] Ubuntu[/B]
[*][B] Fedora[/B]
[*][B] openSUSE[/B]
[*] Debian
[*] Mandriva
[*]Linux Mint
[*]PCLinuxOS
[*]Slackware Linux
[*]Gentoo Linux
[*]CentOS
[/LIST]
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Oct 13 14:55:54 MST 2010
Opensuse is not officially supported.

However we beta2 works correctly here on latest version of that distro. Perhaps you can provide some details about what is not working and we might stand a chance of understanding if there is an issue. Provide full details rather than letting us guess what might be wrong.
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Wed Oct 13 14:36:57 MST 2010

Quote: dbrunell
I have it working pretty well on OpenSUSE, including the debugger.  The only problem I've discovered is that the New Project wizard does not work.  After asking for name, directory, target, etc. it gives the error "Unable to create project 'xxx'".  I created a project manually, so I have a workaround for now.



I have the same problem here. CodeRed apparently has not solved the problem in Beta 2.

And not a fault of Mandriva or openSUSE, is LPCXpresso failure because eclipse from eclipse.org works well.

Thanks.
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Thu Sep 23 06:56:21 MST 2010
There are many distributions because everyone is free to create one. I like the easy to me as well, so I prefer Mandriva or openSUSE (formerly SuSE Linux). My past experiences with Ubuntu are not good, especially supporting some hardware. Ubuntu  has very little packaged software on your CD / DVD, and that is another  problem because we do not have fast connections to be downloaded each  time a package.

LPCXpresso  is working very well in Mandriva, the only problem is that the first  time the process of debugging does not work, I can not use the function  "Program Flash" because when it ends I can not debug either.

Had similar problems in Windows, so I think LPCXpresso has some flaws.
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Sep 23 01:02:19 MST 2010
I have to ask - why are there so many Linus distros? www.distrowatch.com lists the top 100!!!

<rant>
I just cannot understand why there are so many. Surely if all those people wasting their time producing slightly different variations of the same thing, actually spent it on improving ONE version, then Linux might finally live up to its promise and replace Windows.

I am an experienced developer and first used  UNIX (actually, it was Xenix) in 1985, and have used various flavors ever since. Of recent distros, I have used Ubuntu, Fedora, SUSE, and Centos. I think Ubuntu is the best of the current crop, with OpenSUSE close behind.

I don't understand this macho attitude of thinking that developers like to do it the 'hard way'. The OS is a tool that I use to do my job. I want the tool to be as easy to use (and quick to setup) as possible and not get in the way. Ubuntu does that for me, even if some die-hards think it is for 'consumers'.
</rant>
0 Kudos
Reply

2,252 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gdisirio on Wed Sep 22 12:42:34 MST 2010

Quote: Luis Digital
The ease of use of Ubuntu is a myth, for example:

Early versions did not have a graphical installer, when all other distributions did have one.



So, it is a myth because early versions did not have a graphical installer (how many years ago? six?).
Right now it can go from a naked laptop to a functioning Eclipse based ARM IDE in less than 30 minutes, that makes it perfectly suited for my embedded development needs. Being "popular" almost ensures that everything available for Linux has been tested on Ubuntu too, not a small advantage.

Sorry for the off topic :-)
0 Kudos
Reply

2,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Wed Sep 22 12:23:39 MST 2010
The ease of use of Ubuntu is a myth, for example:

Early versions did not have a graphical installer, when all other distributions did have one.

These  are sterile discussions, pointless, but I worry that CodeRed / NXP give  support to a given distribution, not Linux, as it should be.

If tomorrow the fashion is "Linux for Christians" what with all the work dedicated to a single distribution?

All we have to use "Linux for Christians"? And what about the atheists?:p
0 Kudos
Reply

2,251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gdisirio on Wed Sep 22 10:56:20 MST 2010

Quote: Luis Digital
Ubuntu is "sold" as a product for people who have little experience with computers / Linux.

It is the most used, but usually by new people.



I am an experienced user that prefers Ubuntu mainly because it is "easy".

It is perfectly suited for embedded development, the repository contains almost everything, including things like Eclipse, CodeBlocks and OpenOCD, not exactly tools for unexperienced people.
0 Kudos
Reply