settings in Keil for GCC

Started by itsashish_iitk in LPC200012 years ago 1 reply

Hi, I am working in keil environment with LPC2138 board. I am succesfully able to run the all the interrupt routine using keil compiler. Now...

Hi, I am working in keil environment with LPC2138 board. I am succesfully able to run the all the interrupt routine using keil compiler. Now I want to switch to GCC in Keil. I have done the setting for the same as per given below (taken from MCB2130 manual). I am able to run the code in the same for all features without using interrupt. I am unable to work with the interrupt i the sa...


arm-elf-gcc error

Started by Unal Topuz in LPC200010 years ago 1 reply

HI EVERYONE, I USE WINAVR WITH GNU 4.1.1 ..IT WORK FINE ON MY OFFICE PC BUT IT DOES NOT AT MY HOME PC..I HAVE DONE THE SAME INSATALLATION ON...

HI EVERYONE, I USE WINAVR WITH GNU 4.1.1 ..IT WORK FINE ON MY OFFICE PC BUT IT DOES NOT AT MY HOME PC..I HAVE DONE THE SAME INSATALLATION ON BOTH MACHINES BUT IT ALWAYS GIVE THE FOLLOWING ERROR ATMY HOME PC: arm-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory WHAT IS THE PROBLEM WITH IT..IS THERE ANYONE TO HELP ME. THANKS


lpc2378 rev. C+FreeRTOS-5.1.2+GCC-4.2.1; Anomalous Chip Reset

Started by hibchibbler in LPC20007 years ago 1 reply

Hi, inside vTaskStartScheduler(), specifically, portRESTORE_CONTEXT causes the chip to reset. I suspect it has something to do with...

Hi, inside vTaskStartScheduler(), specifically, portRESTORE_CONTEXT causes the chip to reset. I suspect it has something to do with arm+thumb+interworking But i'm not sure... I started with the LPC2106 GCC demo, and have heavily modified it... i'm basically using the eclipse makefile...kinda... A really weird anomaly exists when debugging, and when i load the image; if the load fa...


Differences Between RealView and GCC

Started by Chris in LPC200012 years ago 3 replies
GCC

Can anyone refer me to a summary of the differences that need to be taken into account to port code for GCC to...

Can anyone refer me to a summary of the differences that need to be taken into account to port code for GCC to RealView? ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/dN_tlB/TM --------------------------------------------------------------------~-


winarm ARM-ELF-GCC ERROR

Started by unal...@gmail.com in LPC200010 years ago

HI EVERYONE, I USE WINAVR WITH GNU 4.1.1 ..IT WORK FINE ON MY OFFICE PC BUT IT DOES NOT AT MY HOME PC..I HAVE DONE THE SAME INSATALLATION ON...

HI EVERYONE, I USE WINAVR WITH GNU 4.1.1 ..IT WORK FINE ON MY OFFICE PC BUT IT DOES NOT AT MY HOME PC..I HAVE DONE THE SAME INSATALLATION ON BOTH MACHINES BUT IT ALWAYS GIVE THE FOLLOWING ERROR ATMY HOME PC: arm-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory WHAT IS THE PROBLEM WITH IT..IS THERE ANYONE TO HELP ME. THANKS


Register saving by arm-elf-gcc in FIQ interrupts

Started by Bertrik Sikken in LPC200010 years ago 6 replies

Hi all, For a project using a LPC2148 I need my FIQ to be as fast as possible. When I look at the FIQ interrupt handler generated by...

Hi all, For a project using a LPC2148 I need my FIQ to be as fast as possible. When I look at the FIQ interrupt handler generated by arm-elf-gcc I see that it saves r0-r3 on the stack (and restores them later): 400006ac: e92d000f stmdb sp!, {r0, r1, r2, r3} ... 40000710: e8bd000f ldmia sp!, {r0, r1, r2, r3} As far as I understand from the arm7tdmi manual, registers r8-r14 are banked ...


LPC-E2294 external Memory access with gcc

Started by Jonas Diemer in LPC200012 years ago 1 reply

Hi! We are using an LPC-E2294 board from olimex, that has a 1MB external SRAM onboard. We've got the gcc working, but only with the...

Hi! We are using an LPC-E2294 board from olimex, that has a 1MB external SRAM onboard. We've got the gcc working, but only with the internal mem so far. How can I use the external RAM? If my understanding is correct, I have to do the following steps: 1. Set up the LPC2294s EMC so it knows how to talk to the SRAM. Do I do that in t


fiq handler (iar:ERR vs gcc:OK)

Started by Pawel Sikora in LPC200013 years ago 1 reply

Hi all, I'm currently testing the new embedded workbench eval 4.20a. I have a software that perfectly works with gcc-3.4.x...

Hi all, I'm currently testing the new embedded workbench eval 4.20a. I have a software that perfectly works with gcc-3.4.x but doesn't work with IAR. I think the problem is in the IAR specific FIQ handling. I'm using mulitple IRQs and the only _one_ FIQ in my embed


Cortex M3 + GCC 4.1.1 + Rowley Crossworks = Strange optimization results

Started by Darcy in LPC20009 years ago 8 replies

Hi all, Okay, I know this is the LPC2000 forums but there still aren't any good Cortex forums... plus the Rowley guy regularly trawl this...

Hi all, Okay, I know this is the LPC2000 forums but there still aren't any good Cortex forums... plus the Rowley guy regularly trawl this forum :) This issue may affect anyone using GCC and ARM7s as well so I don't feel too guilty for posting here. The scenario is that during power-on the Cortex M3 waits for its oscillator to stabilise. Once done, off we go. If it fails then it star...


ucos2 and gcc

Started by pbea...@sebia.com in LPC200011 years ago 3 replies

Hello everybody, I'm a new user of lpc2294 and I have two questions for help me in my=20 starting project: 1) Is somebody have a example of...

Hello everybody, I'm a new user of lpc2294 and I have two questions for help me in my=20 starting project: 1) Is somebody have a example of project with =B5c/OS2 with GCC compiler. 2)Do you know a good forum or documentation about GNUARM development tools= =20 for lpc2000 ? Configuration: AsIDE with Slickedit and GNUARM , =B5c/OS2 and ASHLING EVBA= 7=20 with LPC2294. Thanks. ...


problem with interrupts

Started by Anonymous in LPC200013 years ago 4 replies

Hello, anyone knows if the interruptions work when compiling a program in the gnuarm (gcc 3.4.1)with the files following (boot.s...

Hello, anyone knows if the interruptions work when compiling a program in the gnuarm (gcc 3.4.1)with the files following (boot.s and lpc2106-rom.ld). The steps of compiling are: arm-elf-gcc -Tlpc2106-rom.ld -nostartfiles Wl,-Map=led.map,--cref,-nostdlib -s -o led


GCC compiler

Started by Aditya Bankar in LPC200010 years ago 1 reply

Hi all, I saw that the gcc compiler supports compilation for ARM microprocessor. I tried generating .o file for ARM. But how does it know about...

Hi all, I saw that the gcc compiler supports compilation for ARM microprocessor. I tried generating .o file for ARM. But how does it know about the microcontroller being used? How to tell the compiler that we are using LPC2000 microcontroller so that it places appropriate code to redirect printf data to UART? Moreover, the microcontroller also requires startup code. How to specify that? Has ...


Newlibc + Crossworks?

Started by kevin_townsend2 in LPC20008 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...


installing GNUARM in Ubuntu

Started by "Ezequiel L. Aceto" in LPC200012 years ago

Hello, I have programmed arm7 in Windows, and now I'm moving to Linux Ubuntu. I have installed eclipse and other tools, but not the...

Hello, I have programmed arm7 in Windows, and now I'm moving to Linux Ubuntu. I have installed eclipse and other tools, but not the GNUARM toolchain, which I use to compile Philips LPC2000 MCU software. I have download the binary of GCC-3.4 toolchain, and extract it to /usr/share/gnuarm (binutils-2.15, gcc-3.4.3-c-c++-java, newlib-1.12.0, insight-6.1, TAR BZ2 [56.0MB]). I also put there th...


Definition header file for LPC2124 for GCC

Started by morten_kahr in LPC200013 years ago

Hi, does anyone have a definition header file for LPC2124. I use GCC and EmbestIDE Thanks in advance ...

Hi, does anyone have a definition header file for LPC2124. I use GCC and EmbestIDE Thanks in advance


gcc, boot.s, lpc2148-ram.ld and lpc2148 demo

Started by Harald Kubota in LPC20009 years ago 9 replies

Hi, I am fighting with gcc (version 2008q1 from Codesourcery), the startup code from boot.s, the linker file for LPC2148, FreeRTOS v5.03 and...

Hi, I am fighting with gcc (version 2008q1 from Codesourcery), the startup code from boot.s, the linker file for LPC2148, FreeRTOS v5.03 and the probably excellent lpc2148 demo (v1.20) from jcwren. 'Probably' because I cannot compile/link it. And that's what I try to fix. The good news: the ARM7_LPC2106_GCC demo compiles just fine. I don't know if it runs (likely after modification o...


Cygwin / Gnude / gcc compile problems

Started by nealbrains in LPC200012 years ago 4 replies

software: cygwin (on XP) Gnude Microcontroller: LPC2131 (new micros devboard) I am starting out with microcontrollers and am...

software: cygwin (on XP) Gnude Microcontroller: LPC2131 (new micros devboard) I am starting out with microcontrollers and am trying to get a simple helloworld like program to compile with gcc but am having trouble. I installed cygwin (the default install) and gnude so that gnude is a sub directory ( C:\cygwin\gnude ) but everytim


LPC2478_STK ,TIMER0 Interrupt and GCC

Started by emericlan in LPC20008 years ago 9 replies
GCC

Hello everyone, Anyone can help me to understand the interrupt mechanism under GCC ? I try to blink a simply led all one seconds , but it...

Hello everyone, Anyone can help me to understand the interrupt mechanism under GCC ? I try to blink a simply led all one seconds , but it doesn't work at all. this is what i configure : For init VIC : volatile unsigned long i; // Initialisation du controller d'interruption vectorise (VIC) volatile unsigned long * pVecAdd, *pVecCntl; VICIntSelect = 0;...


Makefile for the LPC2106 ARM

Started by karstenbrandt1 in LPC200014 years ago 4 replies

Hello, I'm new. I'm looking for a makefile for an Philips LPC2106 microcontroller with a arm-elf-gcc compiler. Is there an...

Hello, I'm new. I'm looking for a makefile for an Philips LPC2106 microcontroller with a arm-elf-gcc compiler. Is there an simple program example (e.g. turn LED on and off) with a makefile for a arm-elf-gcc enviroment? What is needed for a complete project.


LPC2138 and GCC

Started by Alexander Shabarshin in LPC200012 years ago 6 replies

Hello I try to run simple circuit with LPC2138 chip. I plan to use lpc21isp utility to flash it under Linux. Yesterday I installed...

Hello I try to run simple circuit with LPC2138 chip. I plan to use lpc21isp utility to flash it under Linux. Yesterday I installed GCC-4.0.1 from gnuarm.com, BUT I did not find lpc2138.h, startup.S and .ld files to build code for FLASH and RAM of LPC2138 chip. Please, give me some advice where better to download these things? Sample code for LPC21xx wi