EmbeddedRelated.com
Memfault Beyond the Launch

Free ARM IDE

Started by pdqlogic in LPC200017 years ago 35 replies

Hi, We've written a Windows 2000/XP based IDE (called ArmEd) which interfaces with the GNUARM toolchain & Insight debugger. It also uses...

Hi, We've written a Windows 2000/XP based IDE (called ArmEd) which interfaces with the GNUARM toolchain & Insight debugger. It also uses OpenOCD to interface to the target JTAG port. You can create and configure projects very easily, then build, download & debug them. The IDE was developed for use with a LPC2214/FPGA development board but can be used with other LPC2xxx targets. An ...


timer interrupts

Started by Ankur Khetrapal in LPC200017 years ago 5 replies

Hi I am using gnuarm compiler with keil. I need to run a timer interrupt after a specific time interval again and again. I initiate the...

Hi I am using gnuarm compiler with keil. I need to run a timer interrupt after a specific time interval again and again. I initiate the timer to generate the interrupt. void timer_init(void) { T0MR0 = 1577; T0MCR = 1; // Interrupt and Reset on MR0 -- check -- should be MR1 T0TCR = 1; // Timer0 Enable VICVectAd...


-fno-dwarf2-cfi-asm

Started by thesalsabear in LPC200013 years ago 3 replies

hi all, I am trying to compile the demo program ARM7_LPC2106_GCC given in FreeRtos. But I get this error : cc1: error: unrecognized command line...

hi all, I am trying to compile the demo program ARM7_LPC2106_GCC given in FreeRtos. But I get this error : cc1: error: unrecognized command line option "-fno-dwarf2-cfi-asm" could you please help me. I am using gnuarm for compiling regards, vamsi ------------------------------------


Doing simple in math MAKEFILE

Started by fl429 in LPC200017 years ago 4 replies

I am customizing my makefile for use with the latest GNUARM C package. Is it possible to evaluate a simple mathamatic expression like...

I am customizing my makefile for use with the latest GNUARM C package. Is it possible to evaluate a simple mathamatic expression like this: .... UND_STACK_SIZE = 4 FIQ_STACK_SIZE = 0x100 # this does not work because it does substitutions. STACK_SIZE = $(UND_STACK_SIZE) + $(FIQ_STACK_SIZE) How do I ask make to evaluate mathamatically instead of symbolically ? Any advice ? Than...


FreeRTOS supports for 17xx

Started by prab...@yahoo.co.in in LPC200014 years ago 5 replies

Hi all, I am using FreeRTOS5.2.0 with LPC2364,GNUARM(4.1.1),Eclipse etc.Now we are in End of project.But Now we are migrating to LPC1764...

Hi all, I am using FreeRTOS5.2.0 with LPC2364,GNUARM(4.1.1),Eclipse etc.Now we are in End of project.But Now we are migrating to LPC1764 for power saving.Both are pin compatible.So HW side no changes required.But in SW side lot of things going to change.(Stack size setting,startup code,interrupt code,some assembly code etc).Because i am using FreeRTOS,this also needs to support LPC17xx.Is ...


Uart IRQ doesn't hapen

Started by ricardo_silva_marinheiro in LPC200017 years ago 3 replies

Hello I'm working with gnuarm tools and a LPC2148, and i've a little program just to send you a feedback from a uart received char,...

Hello I'm working with gnuarm tools and a LPC2148, and i've a little program just to send you a feedback from a uart received char, based on the uart IRQ. The problem is that i can't get the ISRoutine working even when the program gets compiled without any warning or error. Could any one give a little help please?.. The declaration: unsigned long uartInterrupt (void) __att...


GCC help with EA sample files

Started by "Dyer, Frank" in LPC200016 years ago 1 reply

First - I am a complete 'newbie' with LPC24xx and GCC tools, so please be kind ;) I purchased the Embedded Artists LPC2478 QVGA Board...

First - I am a complete 'newbie' with LPC24xx and GCC tools, so please be kind ;) I purchased the Embedded Artists LPC2478 QVGA Board Bundle (http://www.embeddedartists.com/products/uclinux/oem_lpc2478.php) and am trying to get their own sample apps compiled using GNUARM GCC 4.2.2 and LPC2xxx-gcc-newlib: I installed the distributions: bu-2.18_gcc-4.2.2-c-c++_nl-1.15.0_gi-6.7.1.exe LPC2...


new member - philips VCOM driver question

Started by "hsu...@sbcglobal.net" in LPC200015 years ago 12 replies

Hello to the group. I'll introduce myself as a hobbyist at this point (although we _are_ using one Armite on a quasi-regular basis at...

Hello to the group. I'll introduce myself as a hobbyist at this point (although we _are_ using one Armite on a quasi-regular basis at work). Leon Heller mentioned this group in a post in the sparkfun forum, and I see some posts here by rtstofer (thanks again for your help in the gnuarm forum Richard). Has anyone here used the philips VCOM driver for the lpc2148 on XP lately? It is included...


Please Help: LPC 2103 In Application Programming ( IAP)

Started by Tushar Phadtare in LPC200014 years ago 1 reply

Dear Sir, I m using LPC2103 and free compiler from GNUARM for my project I wish to 1) Program Flash memory from my program code...

Dear Sir, I m using LPC2103 and free compiler from GNUARM for my project I wish to 1) Program Flash memory from my program code (incorporating IAP) besides other execution routines. 2) Operate UART in interrupt mode. 3) Configure & Use RTC in my application. Can you please elaborate with sample code. I m enclosing source and initialisation files herewith (Compiling through c....


Standard delay routines

Started by Csaba Zvekan in LPC200015 years ago 4 replies

Hi, Newbi here. I have a GNUARM install with newlib and was wondering where could I find some delay routines. That are more or less precise to ...

Hi, Newbi here. I have a GNUARM install with newlib and was wondering where could I find some delay routines. That are more or less precise to my LPC2103 system clock. Meaning it knows the actual clock speed and calculates the delay routines accordingly. Like delay_us(int) or delay_us(int) etc would be nice. Or if I already have it what library should I include. I have been looking here sin...


LPC2148.ld and ctr0.s files Problems

Started by ricardo_silva_marinheiro in LPC200017 years ago 5 replies

Hi everybody I have a header board from Embedded artists, with an LPC2148, and i've tried to compile a little experimental program to...

Hi everybody I have a header board from Embedded artists, with an LPC2148, and i've tried to compile a little experimental program to blink a LED, with GNUARM tools and with i've faild to compile it because my lpc2148.ld and crt0.s files give errors on compiling. both are in the same folder as the program files. In a windows shell i put this: c:\LPC> arm-elf-gcc -T lpc2148


LPC2138 and GCC

Started by Alexander Shabarshin in LPC200019 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


interrupts

Started by Ankur Khetrapal in LPC200017 years ago 1 reply

Hello I am using gnuarm compiler with keil. I need to run a timer interrupt after a specific time interval. I initiate the timer to...

Hello I am using gnuarm compiler with keil. I need to run a timer interrupt after a specific time interval. I initiate the timer to generate the interrupt. void timer_init(void) { T0PR = 0x00000C35; //set prescaler = 3125 = 0xC35 T0TCR = 0x00000002; //reset timer counter and prescaler reg T0CCR = 0x00000005; //rising edge VICVectAddr0 = (unsigned long)TMR0ISR; //t...


Linking Problem -Eclipse,cygwin,gnuarm,gcc Help Please!

Started by "T.M. (Tom) Alldread" in LPC200018 years ago 6 replies

Greetings: I successfully completed James Lynch's excellent tutorial using an Olimex LPC2148 header board. I was able to flash a LED by...

Greetings: I successfully completed James Lynch's excellent tutorial using an Olimex LPC2148 header board. I was able to flash a LED by executing the gcc compiled examples loaded into either RAM or FLASH memory. However when I try to expand the tutor example by adding calls to library functions I find I get loader errors. It would appear the loader is able to find the object code ...


Import GCC project in Keil

Started by mahbub1833 in LPC200017 years ago 1 reply

Hi, Is there any way I can import GCC [GNUARM] projects into Keil RVCT3.0 ? Or vice versa??? If not then manually what I need to do to...

Hi, Is there any way I can import GCC [GNUARM] projects into Keil RVCT3.0 ? Or vice versa??? If not then manually what I need to do to import gcc projects and codes in keil? Thanks in advance.


GCC library linker problems

Started by Eric Fattah in LPC200017 years ago 6 replies

I am developing firmware for a custom LPC2138 board, using GNUARM/Eclipse. The project is at an advanced stage, nearing completion. I am...

I am developing firmware for a custom LPC2138 board, using GNUARM/Eclipse. The project is at an advanced stage, nearing completion. I am using custom start up code, and a custom linker script. However, the entire project must run as a 'managed make' under the Eclipse GUI. I am not allowed to create stand alone makefiles. As I mentioned, I have a very effective code running on the ...


Questions about linker script with gnuarm and lpc2000

Started by Baldur Gislason in LPC200017 years ago 3 replies

I've noticed some sample lpc2000 linker scripts for the gnu tools I see on the internet have the memory defined something like this: MEMORY...

I've noticed some sample lpc2000 linker scripts for the gnu tools I see on the internet have the memory defined something like this: MEMORY { flash : ORIGIN = 0, LENGTH = 262143 /* FLASH ROM */ ram_isp_low(A) : ORIGIN = 0x40000120, LENGTH = 223 /* variables used by Philips ISP bootloader */ ram : ORIGIN = 0x40000200, LENGTH = 1...


TiniARM Development with Eclipse

Started by lynchzilla in LPC200020 years ago 12 replies

Forum readers interested in using Eclipse for ARM cross-development may find the 70 page tutorial "TiniARM Development with Eclipse"...

Forum readers interested in using Eclipse for ARM cross-development may find the 70 page tutorial "TiniARM Development with Eclipse" very helpful. The tutorial explains in great detail how to configure Eclipse, the CDT plugins, Cygwin and GNUARM compiler suites to cr


LPC 2294 LINKER SCRIPT

Started by arm_techie arm_user in LPC200017 years ago 1 reply

hi, i am using gnuarm developing the firmware for lpc2294.i have the linker script file for the 2106.............i tried to make it...

hi, i am using gnuarm developing the firmware for lpc2294.i have the linker script file for the 2106.............i tried to make it for 2294........ but with this file its showing error............ The Error message I am getting is "ld: address 0x700 of ADC_1.elf section .stack is not within region RAM" please help me to write the linker script file for lpc2294/how to remove this ...


Using Eclipe and GNUARM compiler with LPC2294 and LPC2148

Started by jdauchot in LPC200017 years ago 1 reply

I am new to the LPC22XX and LPC214X range of processors. I have purchased a LPC-P2148 and LPC-E2294RevB boards from OLIMEX. I have, using...

I am new to the LPC22XX and LPC214X range of processors. I have purchased a LPC-P2148 and LPC-E2294RevB boards from OLIMEX. I have, using examples from the LPC2000 group, compiled and loaded sucessfully test code into the LPC-P2148. I am now trying to program a test program for the LPC-E2294RevB board without success. Can anyone send me test program that will compile using the Eclipse/ G...



Memfault Beyond the Launch