EmbeddedRelated.com

Newbie problem : Connecting LPC2214 to Segger J-Link

Started by Simon Ansley in LPC200018 years ago 6 replies

Hello, I'm trying to get a new PCB up and running using an LPC2214, but cannot get the chip to talk to the JTAG port. I'm fairly new to...

Hello, I'm trying to get a new PCB up and running using an LPC2214, but cannot get the chip to talk to the JTAG port. I'm fairly new to both the processor, and ARM in general, so sorry if this is a really dumb problem. I'm using a Segger J-Link (IAR rebadged) and Rowley compiler. I have connected to and run test code on the Olimex LP


crossworks sprintf does(not) use malloc

Started by Jan Vanek in LPC200015 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 ...


LPC2368 and uIP TCP/IP stack

Started by cris...@diteltv.es in LPC200016 years ago 2 replies

Hello, I have found a TCP/IP basic stack to use with LPC2368. Does anybody know how to make it run? I'm using Rowley Crosstudio program,...

Hello, I have found a TCP/IP basic stack to use with LPC2368. Does anybody know how to make it run? I'm using Rowley Crosstudio program, and it makes a lot of errors. Does anybody know how to make it run? Thanks, Cristina


Re: IAR workbench or Rowley CrossWorks

Started by sig5...@hotmail.com in LPC200017 years ago 1 reply

Two years ago when I was testing compilers, I had the IAR kit. I looked at the comparisons too that said this compiler was faster or smaller etc....

Two years ago when I was testing compilers, I had the IAR kit. I looked at the comparisons too that said this compiler was faster or smaller etc. But ya know, all that really doesn't matter very much when you get down to writing actual code and you run into bugs in the compiler. At that point you just want it to work and all the speed or size comparisons matter very little. I ran into severa...


debugging power-down in Crossworks, LPC288x

Started by Jan Vanek in LPC200016 years ago 3 replies

Hallo Rowley team, in my app I put the board to sleep (PMODE = 3) and let it wake up when button is pressed or when WDT timer elapses....

Hallo Rowley team, in my app I put the board to sleep (PMODE = 3) and let it wake up when button is pressed or when WDT timer elapses. Sometimes this works fine, but more often I receive messages like: Server Terminate Operation Failed Read from ARM debug comm port timed out Sometimes the app goes into address 0xffffffe8 (or near) where it is in "break" state. Sometimes it loops i...


method in .fast section

Started by Jan Vanek in LPC200015 years ago 3 replies

Hi Rowley team, I have couple of methods marked with #define ATTR_RUN_FROM_RAM __attribute__((noinline, section (".fast"))) Everything...

Hi Rowley team, I have couple of methods marked with #define ATTR_RUN_FROM_RAM __attribute__((noinline, section (".fast"))) Everything worked fine, and suddenly one of those methods is not placed into the .fast section anymore, instead it is placed at address 0. This is fatal. Is this a known bug (I have 1.7 Build 8), and is there a workaround? Can I upgrade to 1.7 Build ? With


LPC23XX uTasker project release

Started by Mark Butcher in LPC200016 years ago

Hi All Here's a quick note to inform you of the availability of a new uTasker package for the LPC23XX (including LPC2101..LPC2106 sub-set...

Hi All Here's a quick note to inform you of the availability of a new uTasker package for the LPC23XX (including LPC2101..LPC2106 sub-set support). It is available for immediate use by anyone interested in these NXP devices. It includes the unique uTasker simulator for the LPC23XX and projects for IAR, Rowley Crossworks GNU and also a standalone GNU build which is suitable for the Yagart...


LPC2138 ADC problem

Started by hus_kalydonios in LPC200016 years ago 4 replies

Hi all, I'm trying to test the ADC on the LPC2138 (using Rowley and Olimex evaluation board), but I can't get it to work and I can't figure...

Hi all, I'm trying to test the ADC on the LPC2138 (using Rowley and Olimex evaluation board), but I can't get it to work and I can't figure it out. The ADC conversion never completes and my code just blocks while waiting for the done bit to be set... Here's my code: //init //#define AD0CR (*((volatile unsigned long *) 0xE0034000)) //#define AD0DR (*((volatile u...


Newlibc + Crossworks?

Started by kevin_townsend2 in LPC200015 years ago 3 replies

I often come across interesting open source projects that use newlibc (Contiki OS, for example), but since I use Crossworks I'm not really sure...

I often come across interesting open source projects that use newlibc (Contiki OS, for example), but since I use Crossworks I'm not really sure how to go about using newlibc instead of the gcc libraries provided by Crossworks (though I believe the libraries provided with Rowley are actually a replacement for the GCC code to avoid license restrictions). Has anyone here had any success configurin...


lpc2378 startup file GNU

Started by karelvergauwe in LPC200016 years ago 2 replies

Hello, I'm searching a working startup file for lpc2378. I thought I could get it out of the Rowley example for FreeRTOS for 2368. In...

Hello, I'm searching a working startup file for lpc2378. I thought I could get it out of the Rowley example for FreeRTOS for 2368. In this project there is linked to lpc23xx.s, but I don't have this file. It's not included in the project. I'm using Keil with the GNU compiler. Are there a lot of advantages if I upgrade to a latest GNU version. If so, how can I do this on the easest w...


Running code from Ethernet and USB RAM

Started by "h.belig" in LPC200015 years ago 11 replies

Did anybody ever run program code from the ethernet or usb RAM of LPC2468? I am using EA's LPC2486-16 OEM Board and Rowley`s "CrossStudio for...

Did anybody ever run program code from the ethernet or usb RAM of LPC2468? I am using EA's LPC2486-16 OEM Board and Rowley`s "CrossStudio for ARM". I modified the flash_placement file and created sections for these 2 16KB RAM areas. When I start debugging, I reach the subroutine that is placed in that ram section. I also can do some steps in the routine (assembler instructions), but then I...


printing source code in Crossworks 2

Started by Bruce in LPC200014 years ago 51 replies

I wanted to see if anyone had experienced a problem printing their source code in Crossworks. This is Crossworks 2 on Ubuntu Linux. When I select...

I wanted to see if anyone had experienced a problem printing their source code in Crossworks. This is Crossworks 2 on Ubuntu Linux. When I select print there are no printers listed even though they show up in other applications. I tried to get Rowley to work the issue but Paul says it is probably a problem with the software he uses to make Crossworks with. To give him a fair shake I'll download a ...


uip arm port for lpc2129

Started by Jonathan Dumaresq in LPC200018 years ago 4 replies

Hi all, I just finish to make uip and a lpc2129 (olimex LPC-E2129). This sample is build from 2 or 3 different port that as be done by someone...

Hi all, I just finish to make uip and a lpc2129 (olimex LPC-E2129). This sample is build from 2 or 3 different port that as be done by someone else than me. I use part of the Paul rowley port, and part of the Martin Maurer arm port. I post here the zip file to test it. I only have 1 problem, is the optimization need to be off to get it work. I have not find why, And i don't know how to ...


JTAG scan chain newbie - five LPC2000s, two Lattice CPLDs

Started by Darcy in LPC200016 years ago 1 reply

Hi all... heck, the two of us have been struggling with this all day. I hope someone with a bit more knowledge can please lend us a...

Hi all... heck, the two of us have been struggling with this all day. I hope someone with a bit more knowledge can please lend us a hand... We're using an Olimex ARM-USB-OCD Arrangement TDI => LPC2136 => LPC2103 => LPC2103 => LPC2103 => LPC2136 => ISP4032 (Lattice CPLD) => ISP4064 (ditto) => => TDO We've been using Rowley Crossworks to try and address one of the ARM devices but


crossworks and MCB4300

Started by Markus Zingg in LPC200011 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...


FreeRTOS on LPC2138 with ADS 1.2 (CodeWarrior IDE + AXD)

Started by raymond in LPC200018 years ago 2 replies

Hi, I am a hardware engineer and just started to pickup the firmware development on RTOS. I find that the FreeRTOS could be useful for my...

Hi, I am a hardware engineer and just started to pickup the firmware development on RTOS. I find that the FreeRTOS could be useful for my remote network project. I am a beginer in using FreeRTOS and LPC2138 processor. It seems that for LPC series, there are only IAR, GCC, ROWLEY and KEIL available on the web. Does anyone here tried FreeRTOS in ADS 1.2 ? I am using the Codewarrior IDE w...


LPC1768 JTAG programming problem

Started by Thomas Weber in LPC200012 years ago 5 replies

Hello, when programming the LPC1768 on a custom board I always get verifier errors. The flash content doesn't change, also with erase...

Hello, when programming the LPC1768 on a custom board I always get verifier errors. The flash content doesn't change, also with erase all. All errors are in the first sector. The program runs into SVC handler after start, when ignoring the Verifier error. Any pointers on that? Thanks in advance. Thomas Weber IDE: Rowley Crossworks for ARM 2.1 JTAG: Amontec JTAGkey -------------...


LPC2368 webserver FreeRtos

Started by cris...@diteltv.es in LPC200016 years ago 5 replies

Hello, I have downloaded FreeRtos software with some demos. I'm using it's webserver example under ARM7 LPC2368 Rowley. I'm trying to run the...

Hello, I have downloaded FreeRtos software with some demos. I'm using it's webserver example under ARM7 LPC2368 Rowley. I'm trying to run the webserver example with internet explorer and the next message appears: "Loading index.shtml. Click here if not automatically redirected. " Here is a link that i click for redirect to the index.shtml but it never works. What is the problem? ...


LPC2136 big code crash problem

Started by Aleksandar Zivkovic in LPC200016 years ago 10 replies

Hello, I have a problem that gives me a headache for some time. I am working on an LPC2136 based platform on a project that was developed...

Hello, I have a problem that gives me a headache for some time. I am working on an LPC2136 based platform on a project that was developed on Rowley Crossworks before me. The platform includes different kind of devices such as: serial flash, bluetooth module, LCD graphic display , etc... Last months I moved that code to KEIL development environment.I was translating C code step by step and a...


strange casting in Keil compiler

Started by Tim Mitchell in LPC200013 years ago 12 replies

I'm trying to port some NXP demo code to Rowley Crossworks, it's written for Keil and has a cast on the left hand side of an addition. The Keil...

I'm trying to port some NXP demo code to Rowley Crossworks, it's written for Keil and has a cast on the left hand side of an addition. The Keil code has paramstruct *p; (uint8_t *)p++; p is a pointer to a struct 4 bytes long. I presume this is meant to advance the pointer 1 byte. Crossworks won't compile this - "lvalue required as left operand of assignment" The best I can come up ...