USBMem for LPC288x, Crossworks

Started by Jan Vanek in LPC200010 years ago 7 replies

Hi Forum, I tried to get the USB mass storage functionality for LPC288x running, the goal was to see the device as a USB disc under...

Hi Forum, I tried to get the USB mass storage functionality for LPC288x running, the goal was to see the device as a USB disc under Windows and OSX. I am using Crossworks, and I used Keil's USBMem example V1.30 as a starting point. Following is not an answer to a question, but maybe somebody will find this helpful. Ignore otherwise, please. 1. Board init. I didn't use the TargetR...


LPC2144/Crossworks 1.6/Timer0 Int

Started by "Jan S." in LPC200012 years ago 2 replies

Hi! I have big problems running a LPC2144 with Crossworks for ARM 1.6 and Interupts. If I install a handler, everthings seems to work,...

Hi! I have big problems running a LPC2144 with Crossworks for ARM 1.6 and Interupts. If I install a handler, everthings seems to work, except that every interrupts occurs two times, the first time with correct status values, the second time with only zeros in T0IR. Ok, I could handle this problem, but the controller hangs after a few (> 100) ints, because he got an exception. I have the sam


crossworks sprintf does(not) use malloc

Started by Jan Vanek in LPC20009 years ago 2 replies

Hi Paul and Rowley team, in another forum (STM32) I got involved into a question whether sprintf uses malloc and I sort of prematurelly...

Hi Paul and Rowley team, in another forum (STM32) I got involved into a question whether sprintf uses malloc and I sort of prematurelly claimed it doesn't. Later on it turned out it is about sprintf(.., "%f", ..), which I am not using. I found some GCC source code on the web which does use malloc when there is %f. I tried to do sprintf(.., "%.500f", ..) with Crossworks and single-step ...


problem with lpc2129 + crossworks

Started by thre0 in LPC200010 years ago

Hello, i'm new in processor programing and i cant find solution in internet to my problem so far, here is my problem: As i wrote in the...

Hello, i'm new in processor programing and i cant find solution in internet to my problem so far, here is my problem: As i wrote in the topic i use lpc2129(or I can get 2103 alternatively) i have usbscarab2 jtag device due to the major problems using openocd i decided to use crossworks(evaluation) for debugging. i configured my target as said in document: http://www.kristech.eu/down...


Re: IAR workbench or Rowley CrossWorks

Started by Michael Scott in LPC200012 years ago

Thanks to all for your opinions, I'm almost sorry that I asked the question. BTW we selected CrossWorks. I ran across a comparison between GCC...

Thanks to all for your opinions, I'm almost sorry that I asked the question. BTW we selected CrossWorks. I ran across a comparison between GCC and a few other compilers including IAR which compared code size and execution speed. It showed almost no difference between GCC and WorkBench, Those were the two best overall too. Frankly I'm also not impressed with the presentation of Workbench. An...


Crossworks and Ram debug

Started by hodgejackiehank in LPC200014 years ago 5 replies

I want to debug with both serial ports active on an Olimex P1 target, so I am tying to use the RAM loader in Crossworks. I have...

I want to debug with both serial ports active on an Olimex P1 target, so I am tying to use the RAM loader in Crossworks. I have recompiled Loader.EXE but when I try and use it Verify fails, probably because I have not configired the build of the Loader correctly. Does a


inline function problems

Started by drproton2003 in LPC20009 years ago 7 replies

I am trying to port some code for the LPC2366 (crossworks V1.7) to the LPC1768 (Crossworks 2.03) and am having some problems. The first problem I...

I am trying to port some code for the LPC2366 (crossworks V1.7) to the LPC1768 (Crossworks 2.03) and am having some problems. The first problem I encountered has to do with some functions I was inlining. With these functions declared as inline in the relevent .h and .c files I get "undefined reference" errors when the linker runs. If I remove the inline attributes it all builds as normal. What mig...


Re: LPC2131 SPI problem

Started by Michael Johnson in LPC200013 years ago

Hi Dave, It seems that S0SPCR has sprouted extra bits on the LPC213x and LPC214x. The CrossWorks LPC21xx header file was generated from...

Hi Dave, It seems that S0SPCR has sprouted extra bits on the LPC213x and LPC214x. The CrossWorks LPC21xx header file was generated from the register description of an LPC2124 which doesn't have these extra bits. The next release of CrossWorks has header files for each LPC device to avoid these problems. For the time being can you modify your copy of LP


Interrupt only runs once. CrossWorks on LPC2103

Started by artsaagluap in LPC20009 years ago 5 replies

Hi, I am trying to get interrupts working using the CrossWorks...

Hi, I am trying to get interrupts working using the CrossWorks way: ctl_set_isr(EINT2_CHAN,3,CTL_ISR_TRIGGER_FIXED,Initiate_Timing_ISR,0); ctl_unmask_isr(EINT2_CHAN); ctl_global_interrupts_enable(); I had a simple program working reliably but when I put it into a more complicated program the thing interrupted once and carried on never to interrupt again. My main loop is just a coun...


Crossworks sample project for sdcard support

Started by Jean-Sebastien Stoezel in LPC20008 years ago 2 replies

Hello, I've been battling with this for a while now, I cant seem to get any communication going between an lpc1756 and an sdcard. I've used...

Hello, I've been battling with this for a while now, I cant seem to get any communication going between an lpc1756 and an sdcard. I've used code from cmsis, demo code from NXP and my own code (that works on an lpc2148). I've used different sdcards, I just can't get it to work. Does anybody have ready to run project for crossworks, that exercises an sdcard on ssp/spi0 with a cortex m3? Th...


Crossworks tasking library questions

Started by drproton2003 in LPC200012 years ago 2 replies

Hello everyone, I've used the crossworks tasking library (CTL) in the past and it works great. I want to modify a project to use the CTL. ...

Hello everyone, I've used the crossworks tasking library (CTL) in the past and it works great. I want to modify a project to use the CTL. The problem is that this application already ties up both timers of the LPC2138 for other purposes. My idea is to use ADC interrupt, set up the prescaling and divide appropriatly in the ISR to effectively have a portion of code called every 1ms. Can ...


CrossWorks 1.7 GoTo Search Engine

Started by tmasyl in LPC20009 years ago

Greetings: The "Go To Definition" and "Go To Declaration" search features within the CrossWorks 1.7 right click popup menu don't work for...

Greetings: The "Go To Definition" and "Go To Declaration" search features within the CrossWorks 1.7 right click popup menu don't work for me on selected variables in the editor. In contrast the "Search Files" feature seems to work well. I found that I needed to specify the project directory path for it. I have the impression that the "Go To" engines were working when I started the project a...


Crossworks, LPC2378 & Timer 0

Started by Markus Zingg in LPC200011 years ago 1 reply

Crossworks links in the LPC230x.c file under "System Files" when one creates a project using the wizzard. That source aparently deals with...

Crossworks links in the LPC230x.c file under "System Files" when one creates a project using the wizzard. That source aparently deals with timer 0. Why is this? Is timer 0 requiered in some configurations (i.e. non JTAG) or is there a dependancy I'm not aware of? I work with JTAG for debugging etc. Could I simply delete this file and use my own code to have timer 0 do what my applicatio...


Anyone have a Plain English description of CrossWorks ctl_set_isr()?

Started by artsaagluap in LPC20009 years ago 7 replies

Hi, I am struggling with interrupts using CrossWorks. I can't work out ctl_set_isr(). Any "for dummies" explanation of what it does and how...

Hi, I am struggling with interrupts using CrossWorks. I can't work out ctl_set_isr(). Any "for dummies" explanation of what it does and how it makes plain functions work as interrupts? ------------------------------------


Problem with Crossworks

Started by Xtian Xultz in LPC200013 years ago 8 replies

Hello guys I am trying to work with Crossworks under Linux and Windows. It runs fine, but when I try to access my Wiggler attached at...

Hello guys I am trying to work with Crossworks under Linux and Windows. It runs fine, but when I try to access my Wiggler attached at the parallel port, it says (under Linux and Windows give me the same message) "The port is already in use by another program", but nobody is using it (under Linux I can check this with the fuser command, under


lpc2148 Crossworks interrupt problem

Started by "ernst.cozijnsen" in LPC200010 years ago 13 replies

Brothers in ARM(s), I'm still having issues getting interrupts ctl api to work conrrectly in crossworks. The bottom code only works when i...

Brothers in ARM(s), I'm still having issues getting interrupts ctl api to work conrrectly in crossworks. The bottom code only works when i use: void isr (void) __attribute__ ((interrupt("IRQ"))); As i understood this line should be avoided because the ctl library takes care of this. I read the manuals trough but i cannot get to a sollution for this. Does anyone have ran into the sa...


v1.2 CrossWorks for ARM released

Started by Michael Johnson in LPC200014 years ago

We've released v1.2 of CrossWorks for ARM - this is available for both windows and linux. From an LPC21xx perspective the...

We've released v1.2 of CrossWorks for ARM - this is available for both windows and linux. From an LPC21xx perspective the following applies - memory map files are shipped that describe the registers/memory of all the LPC21xx devices. - a processor property to sel


Re: LPCusb with crossworks

Started by pete...@esysr.com in LPC200010 years ago 10 replies

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

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 > Re


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

Started by Barış in LPC20008 years ago 25 replies

Hi all, 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...

Hi all, 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 don't see any action on board.Is there a specific issue that I didn't know? Could anybody help me? ------------------------------------


When returning from an interrupt, PC is set to pre-interrupt PC + 0x04 (what's going on?)

Started by darc...@satlan.co.nz in LPC200012 years ago 3 replies

Hi, We're just starting out on the LPC2000 (LPC2134) series processors and are currently in the process of getting a basic underlying...

Hi, We're just starting out on the LPC2000 (LPC2134) series processors and are currently in the process of getting a basic underlying architecture set up. Rowely CrossWorks 1.6b3 gcc version 4.1.0 (CodeSourcery ARM) The problem we're experiencing is along these lines 1. uC configured using supplied CrossWorks startup/crt.s 2. enter main() 3. initialise UART1 (Using VectCntl0/VectA...