crossworks Tasking library

Started by virtualashok in LPC200010 years ago 6 replies

Hi Guys, I have a strange problem. with the CTL(crossworks tasking lib). Have created two tasks , and hooked the timer0 for...

Hi Guys, I have a strange problem. with the CTL(crossworks tasking lib). Have created two tasks , and hooked the timer0 for the task switching. every thing works fine if I program it using JTAG. but when I start the application by switching the power off and on then the application hangs when the ctl_taskrun is called. boot loader is running and it starts the application. ...


OT: Crossworks - aligning variables to 16 bit boundaries

Started by Markus Zingg in LPC200010 years ago 2 replies

Hi Group, Is it possible to teach Crossworks so as it alignes memory acesses to 16 bit? I mean, I may declare a structure with some char...

Hi Group, Is it possible to teach Crossworks so as it alignes memory acesses to 16 bit? I mean, I may declare a structure with some char variables, and would end up that crosswork then automatically would allign the individual chars to 16 bit etc.? Could that feature eventually be limitted to certain memory reagions (external versus internal memory)? I'm considering using an ST ARM9 ...


Cross Studio Target

Started by Robert Wood in LPC200014 years ago 8 replies

Hi folks, I'm trying to connect my (very first) LPC2294 target to my board using Cross Studio and an Olimex 20 pin parallel...

Hi folks, I'm trying to connect my (very first) LPC2294 target to my board using Cross Studio and an Olimex 20 pin parallel port JTAG interface. Crossworks only lists Macraigor 14 and 20 pin targets and this gives an error message saying it [Crossworks] can't identify the t


lpc2103 & rowley crossworks 1.6

Started by bkaan_ugur in LPC200011 years ago 7 replies

Hello, I am trying to debug some pice of code using Rowley crossworks and 2103.Olimex Wiggler is used.flash Debug built configuration is...

Hello, I am trying to debug some pice of code using Rowley crossworks and 2103.Olimex Wiggler is used.flash Debug built configuration is used.But always getting messages below.Flash cannot be programmed.I have Keil Demo board with LPC2138.It is working proper with same configuration. Does someone have comments about it? Regards Bilge Executing reset script FLASHReset() Loading targe...


Setting up interrupts in crossworks problem?

Started by "ernst.cozijnsen" in LPC20009 years ago 6 replies

Hello People, I'm having a little setting up interrupts in crossworks. Reading the manual I found that i need to use: ...

Hello People, I'm having a little setting up interrupts in crossworks. Reading the manual I found that i need to use: ctl_global_interrupts_enable(); ctl_set_isr(1, 0, CTL_ISR_TRIGGER_FIXED, isr, 0); ctl_unmask_isr(1); To setup the interrupt instead of using: void isr (void) __attribute__ ((interrupt("IRQ"))); & // VICVectCntl0 = 0x00000024; //use it...


Downloading to external SRAM

Started by nagarkarajay in LPC200012 years ago 1 reply

Hello, I got a new Phytec LPC2294 board for a project and started playing with it. This is what I am using: IDE - Crossworks Olimex ARm JTAG...

Hello, I got a new Phytec LPC2294 board for a project and started playing with it. This is what I am using: IDE - Crossworks Olimex ARm JTAG (Macraigor wiggler compatible ) eCos - No Redboot If I create a project in Crossworks it compiles ok and downloads to the on-chip SRAM. However if I create an externally generated executable and then try to Debug it, Verify fails. It starts downl


Re: IAR workbench or Rowley CrossWorks

Started by Leon in LPC200011 years ago

----- Original Message ----- From: "Michael Scott" To: Sent: Thursday, January 18, 2007 3:36 PM Subject: RE: [lpc2000] IAR workbench or...

----- Original Message ----- From: "Michael Scott" To: Sent: Thursday, January 18, 2007 3:36 PM Subject: RE: [lpc2000] IAR workbench or Rowley CrossWorks > Looking for opinions on which is best for embedded ARM development. Why not try them both and see which one you prefer? I prefer the Rowley debugger, and support is excellent. It also works ver


WinARM problem

Started by leon_heller in LPC200012 years ago 1 reply

I've just been trying WinARM out of curiosity, and can't get either OCD Commander or Rowley CrossWorks to load the ELF or hex files via...

I've just been trying WinARM out of curiosity, and can't get either OCD Commander or Rowley CrossWorks to load the ELF or hex files via a Wiggler (the genuine article), without throwing up errors. A hex file created by CrossWorks loads OK with OCD Commander. Has anyone got any ideas? Leon


Anyone use Imagecraft ICC or Rowley CrossWorks?

Started by grantpbt in LPC200010 years ago 41 replies

I'm evaluating cheap compilers and it appears Keil is 16k limited for eval and IAR is 32 limited for eval. Both reasonably generous for learning...

I'm evaluating cheap compilers and it appears Keil is 16k limited for eval and IAR is 32 limited for eval. Both reasonably generous for learning I suppose, though I'm sure there are some gotcha's in there somewhere. So I'm also looking at Imagecraft's compiler (I've used them before with HC11 and PSoC) or maybe Rowley CrossWorks. I'm not worried about GCC's code density but I am worried t...


External Interrrupts, Rowley Crossworks

Started by lpc2131makingcl in LPC200013 years ago 1 reply

I'm running sample code from Rowley, using their "Crossworks for ARM" development suite. I'm working with IAR's demo board for the LPC2148 ...

I'm running sample code from Rowley, using their "Crossworks for ARM" development suite. I'm working with IAR's demo board for the LPC2148 and I'm having trouble with external interrupts. I have been able to run Rowley's timer_interrupt example, and have been able to stop at a set breakpoint in the startup.s file "irq_handler" section. But, I


LPCusb with crossworks

Started by drproton2003 in LPC200011 years ago 8 replies

Hello everyone, I am attempting to use the lpcusb library available on sourceforge with an Olimex LPC-P2148 board and crossworks. I have been...

Hello everyone, I am attempting to use the lpcusb library available on sourceforge with an Olimex LPC-P2148 board and crossworks. I have been able to set up a project that builds the virtual com example just fine and shows the appropriate startup text on the console upon startup: Initialising USB stack Registered handler for device status Registered handler for EP 0x0 Registered handl...


crossworks - Porting from 1.7 to 2.1 - asm directive

Started by Markus Zingg in LPC20007 years ago 3 replies

Dear Group, I'm trying to port a little projcet from a previous crossworks version to version 2.1 In there I have a routine to Enable and...

Dear Group, I'm trying to port a little projcet from a previous crossworks version to version 2.1 In there I have a routine to Enable and Disable Interrups which compiles fine in the old version, but not so in the new one. The code uses among other stuff the following two lines of code * asm volatile (" mrs %0, cpsr" : "=r" (retval) : /* no inputs */ ); asm volatile (" m...


Crossworks with J-Link loader error using sections

Started by Michael Freeman in LPC20009 years ago 6 replies

While I am digging on my problem I figure I would throw it out to you guys too. I am using Crossworks 2.0 and the Segger J-Link tools on a...

While I am digging on my problem I figure I would throw it out to you guys too. I am using Crossworks 2.0 and the Segger J-Link tools on a LPC2388. My project has come along quite nicely until today. I added a SD Card driver that uses the GPDMA. The DMA uses the USB ram area. I added the following line of code to my project: static DWORD DmaBuff[N_BUF][128] __attribute__ ((section(".usbram"...


Conversion of Project: GCC Eclipse to Crossworks

Started by Chris Graham in LPC200012 years ago 1 reply

Is there a straightforward series of steps documented somewhere that one could follow in converting a GCC Eclipse project to Crossworks? They...

Is there a straightforward series of steps documented somewhere that one could follow in converting a GCC Eclipse project to Crossworks? They are both based on GCC so I assume the code is compatible but things like make scripts and memory map files would need to be converted. I'm hoping this is a fairly deterministic process that others may have documented and can refer to me to. - Chris...


problem connecting to LPC2378 using Wiggler and Crossworks 1.7

Started by jkasinathan in LPC20008 years ago 5 replies

Have been working with LPC2129 with Wiggler and Crossworks 1.7 - no problem programming / debugging . Recently fabricated an LPC2378 board .The...

Have been working with LPC2129 with Wiggler and Crossworks 1.7 - no problem programming / debugging . Recently fabricated an LPC2378 board .The board connected for the first time and a simple port line toggling program worked - however could not get the interrupts to work .When I powered the board again , I could not connect . After a struggle I thought that the IC might have been damaged - chang...


LPC2101 8k FLASH limit

Started by radim100 in LPC20009 years ago 1 reply

Hi, I have been using LPC2101 in my design for more then 2 years . I am using Rowley Crossworks 1.5 build 2. At the time I have started this...

Hi, I have been using LPC2101 in my design for more then 2 years . I am using Rowley Crossworks 1.5 build 2. At the time I have started this design with LPC2101 Crossworks 1.5 did not have LPC2101 target listed so I used LPC2134 as a target MCU and it seem to work . Only recently I have realized that my code is 21kB long and even that LPC2101 is only 8kB of flash it runs and load OK ( under ta...


crossworks and MCB4300

Started by Markus Zingg in LPC20005 years ago 3 replies

Hi Group, I'm trying to use a Keil MCB4300 developper board along with crossworks. I downloaded the LPC4300 support package from Rowley and...

Hi Group, I'm trying to use a Keil MCB4300 developper board along with crossworks. I downloaded the LPC4300 support package from Rowley and can create a little test project just fine. It compiles, but when trying to download this to the board the message pops up telling me that there is a "Target processor mismatch" which reads: The target processor defined in the project (LPC4357) o...


Crossworks & irq handlers in C

Started by Markus Zingg in LPC200010 years ago 7 replies

Hi all, I'm new to the Crossworks IDE/Envireonment and also to ARM7. I need to declare an IRQ handler function and I'm having troubles to do...

Hi all, I'm new to the Crossworks IDE/Envireonment and also to ARM7. I need to declare an IRQ handler function and I'm having troubles to do so. I looked up the GCC docs (I'm also also new to GCC...) and found the __attribute__ instruction to do so. However, the following code does not seem to be accepted by the compiler. void Handler( void ) __attribute__ ((interrupt ("IRQ") )); { ...


Re: CrossWorks for ARM - Simple led blink code doesn't run on lpc2368

Started by rtstofer in LPC20008 years ago

--- In l...@yahoogroups.com, Bar=C4=B1=C5=9F wrote: > > Hi all, > =20 > I have a sample led blink code running on lpc2368.When I...

--- In l...@yahoogroups.com, Bar=C4=B1=C5=9F wrote: > > Hi all, > =20 > I have a sample led blink code running on lpc2368.When I build this code = on keil uVision, it runs successfully.But when I tried with CrossWorks, I d= on't see any action on board.Is there a specific issue that I didn't know? > =20 > Could anybody help me? > Rowley has a pretty good forum for this


LPCUSB VCOM IRQ + LPC2148 + Crossworks

Started by darkcobrax in LPC200011 years ago 15 replies

I'm trying to get the LPCUSB VCOM example working using interrupts, but am having a strange problem. I have the Olimex LPC-H2148, Crossworks...

I'm trying to get the LPCUSB VCOM example working using interrupts, but am having a strange problem. I have the Olimex LPC-H2148, Crossworks v1.6 Build 2, and a Wiggler clone for JTAG. Here's what I did to set up and modify the project: 1) Create a new project: Type: Philps LPC2000/Generic LPC21xx Board/Executable Target Processor: LPC2148 All other options default 2) in Syste...