EmbeddedRelated.com
Forums

printing source code in Crossworks 2

Started by Bruce March 5, 2010
On 06/03/2010 12:39, mjbcswitzerland wrote:
>

> The relationship between semiconductor manufacturers and tools has changed dramatically in the last 15 years (ATMEL with AVR was possibly one of the first to set the trend). The present trend is very much Eclipse based - personally, apart from the fact that it is useful for loading code to AVR32s, I find it overcomplicated and rather slow; on top of that I never managed to get the debugger working on any of my laptops - only on (retired) desktops.
>
> It is one of those hard-core open source projects (based on a code donation from IBM) where it is difficult getting help if you are not already hard-core yourself. Asking simple bone-head questions like "how do I configure something" tends to get a response like "go away and study Pearl, Python and Linux Kernel programming..." (may not be suitable in this case but this is an example of a response that was really received from such a community...).
>
> For a (semi-con.)company wishing to jump on the bandwagon it is however a logical step since it can be customised to give a corporate identity but benefit from a lot of available features and development. At the end of the day there are probably a lot who love it and other who hate it, as true for everything in life...

I tried Eclipse a few years ago (I think it was the software TI supplied
for the MSP430) and it was unusable, it was so slow.

I quite like the XMOS IDE (Eclipse), and it is adequately fast on modern
hardware. I don't like the Core Red version for the LPCXpresso, for some
reason.

Leon
--
Leon Heller
G1HSM

An Engineer's Guide to the LPC2100 Series










I have the cups-pdf on my Ubuntu 8.04 and it doesn't show up. That's
why I'm curious about the 9.1 Ubuntu since it seems to work. Paul says
that the problem with the Ubuntu 8 will never be fixed so the solution
probably is to upgrade the Linux.



Xiaofan Chen wrote:
cite="mid:a...@mail.gmail.com"
type="cite"> 


On Sat, Mar 6, 2010 at 9:37 AM, rtstofer < moz-do-not-send="true" href="mailto:rstofer%40pacbell.net">rstofer@pacbell.net>
wrote:

>

> As I said earlier, it DOES work on Ubuntu 9.10 (dual core x86
laptop).  Nothing wrong at all!

> But Linux has all kinds of warts.  Sometimes even the easiest
things don't work out.

> In any event, I have V2 working on Ubuntu 9.10 and Win7/x64.  It
works very well.



So just as a test I download the evaluation installer under

Ubuntu 9.10 (32bit) and open a c file. The printer is listed

(Samsung SCX-4200). So it does work. Take note I have

not even activate the 30-day license. Maybe I will since the

product looks nice. The IDE seems to be quite nice and it is quite fast

as well under my low-end two year old Acer desktop.



To the OP: maybe you want to install a generic printer first to

see if that is listed. For example, a good candidate is

cups-pdf (sudo apt-get install cups-pdf). I just tested it

and it is working fine. By default the output is in ~/PDF

directory.



--

Xiaofan http://mcuee.blogspot.com














__._,_.___






stime67883011













__,_._,___
On Sat, Mar 6, 2010 at 9:43 PM, Bruce Lindsay wrote:
> I have the cups-pdf on my Ubuntu 8.04 and it doesn't show up.
> That's why I'm curious about the 9.1 Ubuntu since it seems to work.
> Paul says that the problem with the Ubuntu 8 will never be fixed so
> the solution probably is to upgrade the Linux.

I see. Ubuntu 8.04 is so-called long-term supported version.
But in reality they do not really update the components based
on the Debian tradition. I always run the latest version
of Ubuntu since 5.04 and it has been fine for me. At home
I am using Ubuntu 9.10 32bit and 64bit along with Windows
Vista 32bit (as well as Arch Linux and FreeBSD 8.0).
They are all fine for my use at home (FreeBSD needs some
tweaks).

But I do not do any serious stuff under Linux (mainly helping
the test of some open source projects, often USB related).
At work, it is all Windows XP 32bit and XP works fine as well
for me.

--
Xiaofan http://mcuee.blogspot.com
I'm mainly use Eclipse because I can choose my favorite fonts (unlike most IDE like IAR or Keil with few fonts available) and the code completion tool, which is very useful. Choosing your favorite font is quite important to have a clear view of your code in front of you. Regarding the code completion, you may waste a lot of time to find the right field of your struct somewhere in a file in your project, that's why I can not use an IDE without this wonderful feature.

Regarding Crossworks, I think the IDE has a lot of fonts available (my favorite included) but it doesn't offer a code completion yet... so I prefer staying with Eclipse + GDB.

David

--- En date de : Sam 6.3.10, Xiaofan Chen a écrit :

De: Xiaofan Chen
Objet: Re: [lpc2000] Re: printing source code in Crossworks 2
À: l...
Date: Samedi 6 mars 2010, 14h53

 

On Sat, Mar 6, 2010 at 9:43 PM, Bruce Lindsay wrote:

> I have the cups-pdf on my Ubuntu 8.04 and it doesn't show up.

> That's why I'm curious about the 9.1 Ubuntu since it seems to work.

> Paul says that the problem with the Ubuntu 8 will never be fixed so

> the solution probably is to upgrade the Linux.

I see. Ubuntu 8.04 is so-called long-term supported version.

But in reality they do not really update the components based

on the Debian tradition. I always run the latest version

of Ubuntu since 5.04 and it has been fine for me. At home

I am using Ubuntu 9.10 32bit and 64bit along with Windows

Vista 32bit (as well as Arch Linux and FreeBSD 8.0).

They are all fine for my use at home (FreeBSD needs some

tweaks).

But I do not do any serious stuff under Linux (mainly helping

the test of some open source projects, often USB related).

At work, it is all Windows XP 32bit and XP works fine as well

for me.

--

Xiaofan http://mcuee. blogspot. com
> I don't envy Paul. I really like how far linux has come, but there are
> still issues. In fact my install of Ubuntu 9.10 is a step back from
> 9.04, sadly. I have example linux code for my USB hardware interface
> product, but it is supplied 'as is'.
>
> -Rob
>

I think wireless connectivity is far better in 9.10 than 9.04. Wireless networking has always been a nightmare in Linux, particularly when using WPA to a hidden SSID. Of course, it has everything to do with the hardware manufacturers keeping their little trade secrets private. Pretty tough to write a driver when you don't know how it is supposed to work.

I'll be looking at 10.04 next month for the single reason that the .04 releases are supported for a much longer period than the .10 releases. A policy decision. I'll make the change and stay there for several years.

I had a real tough time with USB JTAG dongles with Red Hat Enterprise WS 4. I was never able to get them to work. Things are much better with Ubuntu 9.10.

And Win7 is fantastic! I have it on one of these Touchsmart computers:
http://www.shopping.hp.com/go/touchsmarthome?jumpid=ex_r602_go/touchsmart

Richard

--- In l..., Bruce Lindsay wrote:
>
> Do you use Crossworks 2?
>

I started with a personal license. That allowed me to get truly familiar with the tool in my spare time. We have since purchased at least 5 licenses where I work. To be honest, I do not use the built in Crossworks editor except for debugging and minor code changes. I like to use UltraEdit Studio for my primary editor so I can maintain a consistent environment across all the various compilers I use. As such, I don't think I have used the print function frequently.

I have to say, Crossworks is probably the best embedded toolset I have ever used. I sure hope they don't kill the personal license over your complaints.

--- In l..., Xiaofan Chen wrote:
>
> Maybe if one of the big Arm MCU vendors buy Rowley and provide
> the IDE for free (just for their own chips), it may be a good business
> case for them. ;-)
>
> Just a thought. Maybe this will not happen any time soon. It seems
> that ARM MCU vendors (or 8051 MCU vendors) never do this.

God, I hope not! That would be the worst possible thing that could ever happen.










I think he is probably a better man than that. I am gonna try the
UltraEdit Linux trial version to see how that works.



kdpainter wrote:
style="display: none;"> 






--- In href="mailto:lpc2000%40yahoogroups.com">lpc2000@yahoogroups.com,
Bruce Lindsay <lindsayb37@...> wrote:

>

> Do you use Crossworks 2?

>



I started with a personal license. That allowed me to get truly
familiar with the tool in my spare time. We have since purchased at
least 5 licenses where I work. To be honest, I do not use the built in
Crossworks editor except for debugging and minor code changes. I like
to use UltraEdit Studio for my primary editor so I can maintain a
consistent environment across all the various compilers I use. As such,
I don't think I have used the print function frequently.



I have to say, Crossworks is probably the best embedded toolset I have
ever used. I sure hope they don't kill the personal license over your
complaints.
















__._,_.___






stime67902703













__,_._,___
Hello Bruce,

> Rob,
> What is it about the 9.1 Ubuntu you don't like?

On several of the machines that I upgraded the working dual monitor
support utterly failed. One of those machines then went on to never
load xwindows. I had little time to do anything but wipe and go back
to 9.04.

I am in sync with what kdpainter has said. And I use UltraEdit
(actually UltraStudio) for all of my editing. CrossWorks for the
compiling and minor edits, UE for everything else. And UE runs on my
Win box, but since my Linux box is so tightly coupled to my desktop, I
edit mainly with UE on Win and gedit on Lin. I use a combination of
VNC and Synergy (mouse keyboard sharing) between PCs and Win/Lin/OSX.
> I think he is probably a better man than that. I am gonna try
> the UltraEdit Linux trial version to see how that
> works.
>
> kdpainter wrote:
>
>

>
> --- In l..., Bruce Lindsay wrote:
>>
>> Do you use Crossworks 2?
>>
>
> I started with a personal license. That allowed me to get truly
> familiar with the tool in my spare time. We have
> since purchased at least 5 licenses where I work. To be honest, I
> do not use the built in Crossworks editor except
> for debugging and minor code changes. I like to use UltraEdit
> Studio for my primary editor so I can maintain a
> consistent environment across all the various compilers I use. As
> such, I don't think I have used the print function
> frequently.
>
> I have to say, Crossworks is probably the best embedded toolset I
> have ever used. I sure hope they don't kill the
> personal license over your complaints.