Re: Float to int

Started by bmueller38 in LPC200012 years ago

Hi, I have the same problems: Error: undefined reference to '__floatsisf' Error: undefined reference to '__divsf3' What is the name of...

Hi, I have the same problems: Error: undefined reference to '__floatsisf' Error: undefined reference to '__divsf3' What is the name of this library? Where do I find it and how do I implement it in eclipse? I am using GNUARM 4.1.0. Thanks, Bjoern --- In l...@yahoogroups.com, "Joe Hlebasko" wrote: > > My guess is the '__floatsisf' is a library routine converts floa


Uart IRQ doesn't hapen

Started by ricardo_silva_marinheiro in LPC200012 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...


Cannot find the bug - Help!

Started by lutz1000 in LPC200011 years ago 1 reply

Whatever i do, the function above generates an error message (various types). It is about the last command line. I seem to be blind. Probably...

Whatever i do, the function above generates an error message (various types). It is about the last command line. I seem to be blind. Probably it is simple and obvious. Eclipse plus GNUarm; LPC2148 void InitI2C () { if ((IOPIN0 & 0x0C) == 0x0C) { unsigned short int NoI2CDevice = 0; PINSEL0 |= 0x00;// PIN RESET PINSEL0 |= 0x50; // switch GPIO to I2C pins: P0.2 = SCL0 und P0.3 = SDA0...


OCDremote problem

Started by Jim Parziale in LPC200013 years ago 4 replies

I've recently started having problems with OCD Remote I can start it up with the command : ocdremote.exe -cARM7TDMI-S -p8888 -dWIGGLER...

I've recently started having problems with OCD Remote I can start it up with the command : ocdremote.exe -cARM7TDMI-S -p8888 -dWIGGLER -a1 -s6 (note - no other speed besides 6 works) I then start up arm-elf-insight.exe (part of GNUARM) I can connect to target, and download to RAM (which is super slow - takes a few minutes to download 1


LPC2294 GNUARM load script

Started by deunhido in LPC200013 years ago 2 replies

I've got an Olimex LPC-H2294 and I can't get anything to run. I've tried a number of "blinking led" projects and nothing works. I've ...

I've got an Olimex LPC-H2294 and I can't get anything to run. I've tried a number of "blinking led" projects and nothing works. I've tried to modify LPC21xx load scripts for the 256K flash and 16K ram and changed assembly and C files toflip the 0x40000000 GPIO port and it still won't blink! Is there something wrong with the link script bel


GNUARM compiler optimization and code performance issue

Started by little_guthur in LPC20008 years ago 24 replies

Hi Folks, I have finally got a GNU ARM tool chain working, the only problem is code performance is significantly worse when compared to Keil....

Hi Folks, I have finally got a GNU ARM tool chain working, the only problem is code performance is significantly worse when compared to Keil. Also for some reason I can not specify anything other than -O0 for compile, but I have been able to specify the optimization flags individually (this has had not positive affect on the code performance. My code is a simple LED switching sequence, I...


GCC help with EA sample files

Started by "Dyer, Frank" in LPC200010 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 LPC20009 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...


Error:internal_relocation (type: OFFSET_IMM) not fixed up

Started by Sajgo Tibor in LPC200010 years ago

Hi, I' m new to ARM and I'm trying to set up a new project with LPC2368 target = processor. I use the GNUARM toolchain and Keil uVision IDE....

Hi, I' m new to ARM and I'm trying to set up a new project with LPC2368 target = processor. I use the GNUARM toolchain and Keil uVision IDE. When I'm trying= to compile LPC2300.s I get the following error message, for all the "str" = instructions like:=A0 str r1, [r0, #SCB_PLLFEED_OFFS], "Error:internal_relo= cation (type: OFFSET_IMM) not fixed up" =20=20=20=20=20=20 --------------...


Problems with constructor of static member class

Started by soren_t_hansen in LPC200013 years ago 8 replies

Hi all. I suspect the GNUARM compiler to have a flaw, since the following code doesn't work as intended: (Header) class A { ...

Hi all. I suspect the GNUARM compiler to have a flaw, since the following code doesn't work as intended: (Header) class A { public: A(int x); int m_x; static A* get_a_Instance(); private: static A m_a; static A m_b; }; (Source) A A::m_a(1); A A::m_b(2); A::A


problem with interrupts

Started by Anonymous in LPC200014 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


Re: uCOS-II

Started by Paul Curtis in LPC200010 years ago 2 replies

Hi, > Dear ALL, > I've downloaded uCOS-II port for LPC2148 > after unzip I found two different port option > one is IAR other is...

Hi, > Dear ALL, > I've downloaded uCOS-II port for LPC2148 > after unzip I found two different port option > one is IAR other is RealView. > I'm using GCC(GNUARM,YAGARTO). > Which one should I use ? From: "I own IAR == No" And: "I own RealView = No" Infer: "Can I used this uCOS-II Port right now = No" -- Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk Cross


Please Help: LPC 2103 In Application Programming ( IAP)

Started by Tushar Phadtare in LPC20009 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....


Patch for compile newlib-lpc

Started by Ben Lau in LPC200014 years ago 2 replies

hi all, I downloaded newlib-lpc(rel 2) from Aeolous Development(thx!) but fail to compile in Windows & Linux(with gnuarm's...

hi all, I downloaded newlib-lpc(rel 2) from Aeolous Development(thx!) but fail to compile in Windows & Linux(with gnuarm's toolchain). I changed the example.mak to make it happy to compile in my environment. Here is the patch. Changes: - Library path aut


Re: - soft serial port ???

Started by Arie Finkelstein in LPC200012 years ago

Hi Leon, I have here both the olimex LPC2148 and the Embedded Artists LPC2148 USB quick start board. The later costs 49 Euros and it's a...

Hi Leon, I have here both the olimex LPC2148 and the Embedded Artists LPC2148 USB quick start board. The later costs 49 Euros and it's a very good quality 4 layers PCB. It comes with a CD including Rowley, IAR ,GNUARM, Eclipse and a lot of resources and example programs. They also give schematics. I bought it together with the Prototype board for 69 Euros. The prototype board's develo...


Standard delay routines

Started by Csaba Zvekan in LPC20009 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...


samplecode from vinehand

Started by mgiaco82 in LPC200012 years ago

@ vinehand Hello I have a question concerning your sample code from the file list. gnuarm_lpc2148_io_uart_timer_irq.zip GNUARM, on...

@ vinehand Hello I have a question concerning your sample code from the file list. gnuarm_lpc2148_io_uart_timer_irq.zip GNUARM, on LPC2148, blinking led, uart polling write, uart IRQ read, timer IRQ Have you ever established any problems with spurious interrupts? ==> Phillips AN10414 Because there is no isr-handler in the sample uart code. Thanks, mathias


LPC2148.ld and ctr0.s files Problems

Started by ricardo_silva_marinheiro in LPC200012 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 LPC200013 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


OLIMEX LPC L2294 (GNUARM, ECOS, RTOS) ??

Started by santosfilipe in LPC200011 years ago

Hello, I'm working on OLIMEX LPC-L2294, and have a few questions, and i ask for help! First question is, what do you think about of RTOS vs...

Hello, I'm working on OLIMEX LPC-L2294, and have a few questions, and i ask for help! First question is, what do you think about of RTOS vs ECOS? (I have instaled the pre-builted RedBOOT and it work, it reset's after some time) 2? There is somebody that have used the file olpcl2294-1.0.epk on ecos? (because I try to add att ecos and it remove on the end) tclsh $ECOS_REPOSITORY/ecosadm...