Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

LPC2148 - Crossworks

LPC2148 - Crossworks

2006-04-14 by mgiaco82

Hello i want to use crossworks for arm with a lpc2148 board from 
embedded artists.

1) Can I use this compiler for lpc2148 because i found no 
informations on the website. And i also found no sample code for 
lpc2148 on the sample files. 

2) Is difficult to rewrite the sample programs from Phillips (Keil 
bundle or ARM bundle) to Crossworks? What must i look for.

3) Is the tasking libary from rowley the same as an operating system 
like ucos-ii.

4) Is there any port for ucos-ii for rowley crossworks?

5) Is there any sample code for the embedded artist lpc2148 board 
and rowley

thanks alot

mathias g.

Re: [lpc2000] LPC2148 - Crossworks

2006-04-14 by FreeRTOS Info

> 1) Can I use this compiler for lpc2148 because i found no
> informations on the website. And i also found no sample code for
> lpc2148 on the sample files.

Yes.  You can use the compiler for any LPC chip, for any ARM7 for that 
matter.

When creating a new solution I suggest choosing a target chip that has the 
same memory map as the LPC2148 (LPC2138 looks like a good candidate from a 
quick scan of the Philips WEB site, and is an option in CrossWorks), then 
the project should have the startup code and linker setting you need 
automatically.


> 2) Is difficult to rewrite the sample programs from Phillips (Keil
> bundle or ARM bundle) to Crossworks? What must i look for.

Slightly different syntax required for:
+ ARM/THUMB interworking,
+ declaration of interrupt service routines
+ intrinsic functions.

Generally it is straight forward.

> 3) Is the tasking libary from rowley the same as an operating system
> like ucos-ii.

Have not used it but looks similar: 
http://www.rowley.co.uk/documentation/arm/ctl.htm


> 4) Is there any port for ucos-ii for rowley crossworks?

Just use a GCC port, it will work with CrossWorks.  I think there is also an 
LPC2148 FreeRTOS.org port in the files section of this group.

Regards,
Richard.

http://www.FreeRTOS.org
*Now for ARM CORTEX M3!*

Re: LPC2148 - Crossworks

2006-04-15 by mgiaco82

--- In lpc2000@yahoogroups.com, "FreeRTOS Info" <nospam@...> wrote:
>
> > 1) Can I use this compiler for lpc2148 because i found no
> > informations on the website. And i also found no sample code for
> > lpc2148 on the sample files.
> 
> Yes.  You can use the compiler for any LPC chip, for any ARM7 for 
that 
> matter.
> 
> When creating a new solution I suggest choosing a target chip that 
has the 
> same memory map as the LPC2148 (LPC2138 looks like a good candidate 
from a 
> quick scan of the Philips WEB site, and is an option in 
CrossWorks), then 
> the project should have the startup code and linker setting you 
need 
> automatically.
> 
> 
> > 2) Is difficult to rewrite the sample programs from Phillips (Keil
> > bundle or ARM bundle) to Crossworks? What must i look for.
> 
> Slightly different syntax required for:
> + ARM/THUMB interworking,
> + declaration of interrupt service routines
> + intrinsic functions.
> 
> Generally it is straight forward.
> 
> > 3) Is the tasking libary from rowley the same as an operating 
system
> > like ucos-ii.
> 
> Have not used it but looks similar: 
> http://www.rowley.co.uk/documentation/arm/ctl.htm
> 
> 
> > 4) Is there any port for ucos-ii for rowley crossworks?
> 
> Just use a GCC port, it will work with CrossWorks.  I think there 
is also an 
> LPC2148 FreeRTOS.org port in the files section of this group.
> 
> Regards,
> Richard.
> 
> http://www.FreeRTOS.org
> *Now for ARM CORTEX M3!*
>


Thanks, Today I will start with Crossworks. What do you mean with 
ARM/THUMB interworking ?

Regards,
mathias

Re: [lpc2000] Re: LPC2148 - Crossworks

2006-04-15 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "mgiaco82" <mgiaco82@...>
To: <lpc2000@yahoogroups.com>
Sent: Saturday, April 15, 2006 8:59 AM
Subject: [lpc2000] Re: LPC2148 - Crossworks


> --- In lpc2000@yahoogroups.com, "FreeRTOS Info" <nospam@...> wrote:
>>
>> > 1) Can I use this compiler for lpc2148 because i found no
>> > informations on the website. And i also found no sample code for
>> > lpc2148 on the sample files.
>> 
>> Yes.  You can use the compiler for any LPC chip, for any ARM7 for 
> that 
>> matter.
>> 
>> When creating a new solution I suggest choosing a target chip that 
> has the 
>> same memory map as the LPC2148 (LPC2138 looks like a good candidate 
> from a 
>> quick scan of the Philips WEB site, and is an option in 
> CrossWorks), then 
>> the project should have the startup code and linker setting you 
> need 
>> automatically.
>> 
>> 
>> > 2) Is difficult to rewrite the sample programs from Phillips (Keil
>> > bundle or ARM bundle) to Crossworks? What must i look for.
>> 
>> Slightly different syntax required for:
>> + ARM/THUMB interworking,
>> + declaration of interrupt service routines
>> + intrinsic functions.
>> 
>> Generally it is straight forward.
>> 
>> > 3) Is the tasking libary from rowley the same as an operating 
> system
>> > like ucos-ii.
>> 
>> Have not used it but looks similar: 
>> http://www.rowley.co.uk/documentation/arm/ctl.htm
>> 
>> 
>> > 4) Is there any port for ucos-ii for rowley crossworks?
>> 
>> Just use a GCC port, it will work with CrossWorks.  I think there 
> is also an 
>> LPC2148 FreeRTOS.org port in the files section of this group.
>> 
>> Regards,
>> Richard.
>> 
>> http://www.FreeRTOS.org
>> *Now for ARM CORTEX M3!*
>>
> 
> 
> Thanks, Today I will start with Crossworks. What do you mean with 
> ARM/THUMB interworking ?

Mixing ARM and Thumb code.

Leon
--
Leon Heller, G1HSM
leon.heller@...
http://www.geocities.com/leon_heller
---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]

Re: [lpc2000] LPC2148 - Crossworks

2006-04-15 by Dewayne

Send an email to Rowley tech support and they will send the update for the LPC2148.  Embedded Artists have a lot of examples for their board on their website - once you register.
Dewayne
Show quoted textHide quoted text
  ----- Original Message ----- 
  From: mgiaco82 
  To: lpc2000@yahoogroups.com 
  Sent: Friday, April 14, 2006 1:42 AM
  Subject: [lpc2000] LPC2148 - Crossworks


  Hello i want to use crossworks for arm with a lpc2148 board from 
  embedded artists.

  1) Can I use this compiler for lpc2148 because i found no 
  informations on the website. And i also found no sample code for 
  lpc2148 on the sample files. 

  2) Is difficult to rewrite the sample programs from Phillips (Keil 
  bundle or ARM bundle) to Crossworks? What must i look for.

  3) Is the tasking libary from rowley the same as an operating system 
  like ucos-ii.

  4) Is there any port for ucos-ii for rowley crossworks?

  5) Is there any sample code for the embedded artist lpc2148 board 
  and rowley

  thanks alot

  mathias g.






  SPONSORED LINKS Microcontrollers  Microprocessor  Intel microprocessors  


------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..  Visit your group "lpc2000" on the web.
      
    b..  To unsubscribe from this group, send an email to:
     lpc2000-unsubscribe@yahoogroups.com
      
    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


------------------------------------------------------------------------------



[Non-text portions of this message have been removed]

Re: LPC2148 - Crossworks

2006-04-17 by Eric Engler

--- In lpc2000@yahoogroups.com, "Dewayne" <ruffellfamily@...> wrote:
>
> Embedded Artists have a lot of examples for their board on their
website - once you register.

I think the Embedded Artists USB examples require the use of their
closed source RTOS. Is this true?

EA looks like a hot company and they have a lot of cool new boards. If
they had open source USB code that would add a lot of value to their
offerings.

Eric

Re: LPC2148 - Crossworks

2006-04-17 by mgiaco82

@Eric: Sorry I have not used USB till now. So I can't give you any 
information.

Thanks for the information.

Yes, there are a lot of examples on the EA page. But they are coded 
for the GCC and I have some problems concerning that fact.

In the UART Lib as an example they use:

cpsr = disableIRQ();                  // disable global interrupts
U0IER &= ~UIER_ETBEI;                 // disable TX interrupts
restoreIRQ(cpsr);                     // restore global interrupts

but in Crossworks I can´t find the function disableIRQ with returns 
the cpsr and I also can´t find the function restoreIRQ(xxx).

When using the functions from the winarm example-pages with 
crossworks, it doesn´t work.  

How can I port the code for crossworks?

Thanks for your help!

Mathias

Re: LPC2148 - Crossworks

2006-04-18 by mgiaco82

--- In lpc2000@yahoogroups.com, "mgiaco82" <mgiaco82@...> wrote:
Show quoted textHide quoted text
>
> @Eric: Sorry I have not used USB till now. So I can't give you any 
> information.
> 
> Thanks for the information.
> 
> Yes, there are a lot of examples on the EA page. But they are coded 
> for the GCC and I have some problems concerning that fact.
> 
> In the UART Lib as an example they use:
> 
> cpsr = disableIRQ();                  // disable global interrupts
> U0IER &= ~UIER_ETBEI;                 // disable TX interrupts
> restoreIRQ(cpsr);                     // restore global interrupts
> 
> but in Crossworks I can´t find the function disableIRQ with returns 
> the cpsr and I also can´t find the function restoreIRQ(xxx).
> 
> When using the functions from the winarm example-pages with 
> crossworks, it doesn´t work.  
> 
> How can I port the code from GCC to Crossworks-ARM?
> 
> Thanks for your help!
> 
> Mathias
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.