Makefile :Generate assembly file for LPC2103,GNUARM

Started by prab...@yahoo.co.in in LPC20008 years ago 1 reply

I am using LPC2103 and written isr code in C.I want to view that assmbley of isr code which is written in C. I am using GNUARM and make file is...

I am using LPC2103 and written isr code in C.I want to view that assmbley of isr code which is written in C. I am using GNUARM and make file is as follows ARM_OBJ = $(ARM_SRC:.c=.o) THUMB_OBJ = $(THUMB_SRC:.c=.o) $(TARGET).hex : $(TARGET).elf $(OBJCOPY) $(TARGET).elf -O ihex $(TARGET).hex $(TARGET).elf : $(ARM_OBJ) $(THUMB_OBJ) $(CRT0) Makefile $(CC) $(CFLAGS) $(ARM_OBJ) $(THUMB_O...


Migrating From 2106 to 2294

Started by rtstofer in LPC200012 years ago 1 reply

Are there any surprises in store when I try to use my Eclipse->GNUArm tool chain on the LPC2294? Anyone have any experience with the...

Are there any surprises in store when I try to use my Eclipse->GNUArm tool chain on the LPC2294? Anyone have any experience with the Sparkfun LPC2295 Header Board? Is the external flash programmed via JTAG? Thanks Richard


Any experience w/ CodeSourcery?

Started by ggindele in LPC200013 years ago 3 replies

I wonder if anyone tried their ARM toolchain - it was posted in the GnuArm yahoo group. ...

I wonder if anyone tried their ARM toolchain - it was posted in the GnuArm yahoo group.


Problems with gnuarm-gcc 3.4.3

Started by albin_martinsson in LPC200013 years ago 1 reply

Hi Just downloaded the new version of the gnu toolchain for arm, but when i compiled a project there were errors with...

Hi Just downloaded the new version of the gnu toolchain for arm, but when i compiled a project there were errors with something called FP. Can someone explain?? /Fredrik


makefile

Started by paloalgodon in LPC200013 years ago 2 replies

I am looking for an example makefile. I just got a 2106 demo board and got gnuarm installed, and I'm wondering if anyone can walk a ...

I am looking for an example makefile. I just got a 2106 demo board and got gnuarm installed, and I'm wondering if anyone can walk a newbie through the correct switches, etc. I'm ok with make in general, just never played with an lpc machine. I'd like that to change, obviously. I didn't see any examples on the distribution, but maybe I'm just being naive?


Simulator/ debugger

Started by Mauricio Scaff in LPC200012 years ago 2 replies

Hi, everybody I was reading the guide to integrate eclips+gnuarm+gdb and it is really very good. Very simple to understand and yet very...

Hi, everybody I was reading the guide to integrate eclips+gnuarm+gdb and it is really very good. Very simple to understand and yet very complete. But I have a question. Is it possible with the tools shown in that tutorial or maybe with some other not mentioned to do a simulated debugger ? I want to test my routines but i don't have the hardware. so


GCC reading ram in lpc 2292 - is it possible??

Started by boje_d in LPC200012 years ago 4 replies

Hi im using gnuarm GCC toolset. I want to make a c routine to read on a specefic ram location. I want this to be a c file. I am using a...

Hi im using gnuarm GCC toolset. I want to make a c routine to read on a specefic ram location. I want this to be a c file. I am using a lpc2292processor Is this possible? Can you suply a bit of code. Thank you Best regards Boje Demant


(No subject)

Started by nieuw bericht in LPC200012 years ago 1 reply

Hi all, I'm learning to work with the LPC2148 processor, and have a pcb board for this, from embeddedartists.com. I would like to...

Hi all, I'm learning to work with the LPC2148 processor, and have a pcb board for this, from embeddedartists.com. I would like to use the gnuarm toolchain with gdb to program and debug the lpc2148 via JTAG. I've read some documents about this, one of the more concrete being ARM Cross Development with Eclipse Version 2, by James P. Lynch. H


gnu arm 3.4.1 and uVision

Started by Rodrigo Cesar da Silva Martins in LPC200013 years ago

How can I configure the uVision to use the newest version of GNUARM (3.4.1)? Rodrigo Martins Intermetric Instrumentos Ltda ...

How can I configure the uVision to use the newest version of GNUARM (3.4.1)? Rodrigo Martins Intermetric Instrumentos Ltda (11) 4761-8009


assert and GNUARM

Started by soren_t_hansen in LPC200013 years ago 2 replies

I've started up a C++ standard make project in Eclipse, where I would like to make an applikation for the lpc2138. So far everything...

I've started up a C++ standard make project in Eclipse, where I would like to make an applikation for the lpc2138. So far everything has been going alright until I wanted to try to use the assert() function. I included the and also tried with the but both times I got the message: undefined reference to `__assert'


Differences between Keil Compiler and GNUARM

Started by remsilicon in LPC200011 years ago 2 replies

Hi, I have some problems with GCC, sometimes when I add only one lines in my source code (in C langage), the microcontroler doesn't start. The...

Hi, I have some problems with GCC, sometimes when I add only one lines in my source code (in C langage), the microcontroler doesn't start. The silicon is a LPC2378 with GCC4.1 I suppose that it is a problem of alignements but I don't know where I can fix it. So do you have experiences with this problem, and maybe the official compiler is better. Thanks


LPC2106 - Newbie

Started by Alex in LPC200013 years ago 2 replies

My problem is propably very stupid. I am student and work with the ATMega32. Now I bought the Olimex LPC2106 Board and a JTAG,...

My problem is propably very stupid. I am student and work with the ATMega32. Now I bought the Olimex LPC2106 Board and a JTAG, and thougt it could be used as the ATmega. I downloaded the the compiler from GNUARM and the Philips flash utillity. But I cant use the


Using library calls in GNUARM

Started by davelandnni in LPC200011 years ago 4 replies

Hi I have been trying to use several functions in the "c" library but without much luck. I am starting off with Lynch's makefile and crt0.s...

Hi I have been trying to use several functions in the "c" library but without much luck. I am starting off with Lynch's makefile and crt0.s from the demo2148_blink_flash code. If I try and use say strtoul I get an error at linking. /cygdrive/e/kudu1_files/serial_interface/test_simple/main.c:65: undefined reference to `strtoul' I am coming from the AVR world where the linking seems...


simulator

Started by G B in LPC200012 years ago 8 replies

I, too, as a guy new to the ARM7, would find it helpful to 'simulate' code well before putting it on hardware. I have the gnuarm and eclipse...

I, too, as a guy new to the ARM7, would find it helpful to 'simulate' code well before putting it on hardware. I have the gnuarm and eclipse with the Olimex board and wiggler. But, I have found that after many many years writing assembly code (AVR now), that the simulator is invaluable in new, tricky, routines. On another subject... What jtag and IDE for less than $3000 gives me the abili


Re: Help on GNUARM, newlib C programming

Started by rtstofer in LPC200010 years ago

--- In l...@yahoogroups.com, "dennis_francis_in" wrote: > > Hello all, > > I'm a novice in ARM programming. > Once I write the...

--- In l...@yahoogroups.com, "dennis_francis_in" wrote: > > Hello all, > > I'm a novice in ARM programming. > Once I write the code for ARM in C (I have the entire GNU tool chain), > what is the procedure to get hex file ? I've seen the makefiles but, > would like to get it clear. Some time ago I posted a Makefile to the Files section. It builds a project fr


makefile

Started by Abdul R Rafiq in LPC200013 years ago 1 reply

Hi, I am trying to setup my dev. environment using gnuarm and newlib3. the makefiles in newlib3 makes the entire lib. Is there...

Hi, I am trying to setup my dev. environment using gnuarm and newlib3. the makefiles in newlib3 makes the entire lib. Is there a sample makefile that compiles one or two c files? I tried to create makefile based on the one that came with newlib, but the test2 program created u


tiny libc?

Started by Shannon Holland in LPC200013 years ago 4 replies

Hello all, I'm starting to bump up against the 128KB flash limit in my LPC2106 and am looking for ways to make things smaller....

Hello all, I'm starting to bump up against the 128KB flash limit in my LPC2106 and am looking for ways to make things smaller. Switching to the gnuarm.org gcc 3.4.1 and thumb mode (along with adding -Os to my CFLAGS) made things more then small enough but the code didn't wo


Need startup file for LPC176x with GNUARM,FreeRTOS

Started by prab...@yahoo.co.in in LPC20008 years ago 21 replies

Hi all, Please provide a startup file(ld script)for lpc176x for reference.I am started to uselpc176x series.This startup file will...

Hi all, Please provide a startup file(ld script)for lpc176x for reference.I am started to uselpc176x series.This startup file will initialize exception vector table.First entry will be the top of the stack. Thanks, ------------------------------------


Insight

Started by fredvermejo in LPC200012 years ago 2 replies

Hi! Everybody! I?m using GNUARM 4.0.1 and when I run my code step by step (using Insight, OCDRemote and a parallel wiggler), the steps...

Hi! Everybody! I?m using GNUARM 4.0.1 and when I run my code step by step (using Insight, OCDRemote and a parallel wiggler), the steps showed at Insight window don?t follow a logical sequence, the mark jumps to lines (down and up) although the program works fine. There is something wrong with my parameters to generate the code??? I already have used


Starting with LPC2138

Started by Mihir M Patel in LPC200010 years ago 3 replies

Dear All, I am thinking of using LPC2138 for a new project and tried to get it going using GNUARM tool chain with a simple prototype...

Dear All, I am thinking of using LPC2138 for a new project and tried to get it going using GNUARM tool chain with a simple prototype design. I am facing problems in JTAG debugging using Amontec-tiny. can you please recommend which tool should i go for. any if any one has simple application return with schematic for LPC2138 which can be shared that will be great. Thanks, Mihir