Writing to a memory location with GNU -ARM compiler.

Started by Saurabh Arora in LPC200010 years ago

Hello Group, I am using GNU compiler for my LPC2136 & want to write a byte on some memory location.Previously I used the Real View Compiler for...

Hello Group, I am using GNU compiler for my LPC2136 & want to write a byte on some memory location.Previously I used the Real View Compiler for KEIL & there was a inbuilt command _wbyte(location,char) for writng the same.There is another command _at address for writing to a memory location.But when I use this command in GNU compiler,both of these command are not recognized & the program is not g...


Virtual COM port with GNU?

Started by Dmitry Diky in LPC200012 years ago 1 reply

Fellows, Has anybody succeed with Philips' virtual com port example with GNU toolchain? Whatever I did I couldn't make it running... Is there...

Fellows, Has anybody succeed with Philips' virtual com port example with GNU toolchain? Whatever I did I couldn't make it running... Is there any USB example which is gcc compilable? Thanks, Dmitry.


Re: GNU inline assembler return value

Started by brendanmurphy37 in LPC200013 years ago

Hi, Below is a simple startup sequence that fills the stack areas and initialises overall state, before jumping to 'C'. Please...

Hi, Below is a simple startup sequence that fills the stack areas and initialises overall state, before jumping to 'C'. Please don't bother pointing out there are more efficient ways of doing this: I know there are. It gets the job done.... Note that this is designed to work with a GNU link file which reserves the space for th


USBHID GNU PROBLEM

Started by Dushyant Rana in LPC200010 years ago

Hi Friend Dushyant here, right now i am working on USB serial communication .i am using USBHID code(available from keil.com).this code is...

Hi Friend Dushyant here, right now i am working on USB serial communication .i am using USBHID code(available from keil.com).this code is compitable for real view compliler.this code was working in real view compiler and USB was also detected. now our real view is expiered. so We r using GNU (cygwin) compiler.for that i had change some syntax like __irq which was not supported in GNU comp...


how to run ucos2 with gnu

Started by gingkotree2004 in LPC200014 years ago 1 reply

I want to run uCOSII on lPC2104. I can do it with ADS develop tools. Now I want do it wiht gnu in linux. I think someone must have...

I want to run uCOSII on lPC2104. I can do it with ADS develop tools. Now I want do it wiht gnu in linux. I think someone must have done it. Where can I find the source code? Any suggestion, please. Thanks.


Help with virtual com port with gnu

Started by Erick Damasceno in LPC200012 years ago 3 replies
GNU

Hi people, I'm new in this forum and i would like to know if anyone here have succed p= orting the keil virtual com port code for the gnu....

Hi people, I'm new in this forum and i would like to know if anyone here have succed p= orting the keil virtual com port code for the gnu. I saw a post from bertri= k saying that he made this happen, but i want de codes to understand everyt= hing. If anyone can help, thanks Erick Microcontrollers = ...


GNU COMPILER TOOLS

Started by subhashinimanne in LPC200013 years ago 4 replies
GNU

I need GNU ARM Binary tools for windows .Can any body suggest the site that I can directly download Binary utilities...

I need GNU ARM Binary tools for windows .Can any body suggest the site that I can directly download Binary utilities please Regards M.Subhashini


ARM Gnu Gcc

Started by "M. Manca" in LPC20006 years ago 4 replies

Some time ago I found a GNU GCC (for ARM cores) distribution maintained by ARM Ltd. I have lost the web page address, is there anyone knowing it...

Some time ago I found a GNU GCC (for ARM cores) distribution maintained by ARM Ltd. I have lost the web page address, is there anyone knowing it and pointing me to it? Many thanks. ------------------------------------


Programming GNU hex files

Started by peterburdine in LPC200013 years ago 3 replies

I seem to be having problems trying to program my Phycore LPC2994 module when I use the GNU toolset. I have tried using both JTAG...

I seem to be having problems trying to program my Phycore LPC2994 module when I use the GNU toolset. I have tried using both JTAG and the Philips utility, and neither of them will successfully program the chip. It will instead have the the previous program. If I used the Keil


GNU tools example - any demand

Started by brendanmurphy37 in LPC200012 years ago 5 replies
GNU

There's been a few occasions (including one current one) of people looking for examples of the files you need to get a basic program up and...

There's been a few occasions (including one current one) of people looking for examples of the files you need to get a basic program up and running using the GNU tools. My question is whether there would be any interest in having such an example placed in the Files section of the group? I'd be willing to put a core together and make it publically available, to include: - startup.s fil


Makefile

Started by rtos2010 in LPC20008 years ago 1 reply

I'm looking for a good book or online resource that explains GNU GCC makefiles for the LPC2xxx series. Something that you may have used to learn...

I'm looking for a good book or online resource that explains GNU GCC makefiles for the LPC2xxx series. Something that you may have used to learn makefiles not just a Google search result (I already did that). My dilemma is that I see many example code for WinARM, YAGARTS, CodeSourcery and the make files never seem to work unilaterally between then even though they all use GNU GCC. Thanks. ...


Interrupts in C with GNU compiler

Started by ksrabit2000 in LPC200014 years ago 2 replies
GNU

Does anyone have an example with interrupts written in C with the standard GNU compiler? I am missing the keyword interrupt. ...

Does anyone have an example with interrupts written in C with the standard GNU compiler? I am missing the keyword interrupt. Thanks


IAP and GNU

Started by riccardoventrella in LPC200011 years ago 6 replies

Hi, I'm using the EE_demo_1_1 on a 2194. I've chnaged the sectors in order to write in the 5, 6 and 7 sectors with addresses 0000A000 and...

Hi, I'm using the EE_demo_1_1 on a 2194. I've chnaged the sectors in order to write in the 5, 6 and 7 sectors with addresses 0000A000 and 0000FFFF. I've also moved the BUFFER_SIZE to 512 etc. etc. All works fine. Now I'm trying to move the same example to be used with GNU compiler. The code hangs when the iap call is made, may be it's for different stack management from the Keil com...


Re: lpc2378 startup file GNU

Started by karelvergauwe in LPC200010 years ago

I found another startup file for lpc2xxx for GNU. Is it normal that the Stack configuration has other values for the different modes if you...

I found another startup file for lpc2xxx for GNU. Is it normal that the Stack configuration has other values for the different modes if you compare it with a startup file wich is generated/provided by keil??


Need help cross compiling with GNU toolchain for a newbie

Started by cpexed in LPC200014 years ago 3 replies

Hello, I am taking my first dive into embedded programming. I have a LCP2106 on an olimex dev board. I am attempting to...

Hello, I am taking my first dive into embedded programming. I have a LCP2106 on an olimex dev board. I am attempting to use the gnu arm toolchain and I have the philips isp and have verified that it works. I also have a JTAG wiggler but have not got it working


Need help with GNU configuration

Started by Eric Fattah in LPC200011 years ago

Hi all, I need someone to point me to a tutorial on configuring gnu makefiles & linker scripts for the LPC2138. I just started using ...

Hi all, I need someone to point me to a tutorial on configuring gnu makefiles & linker scripts for the LPC2138. I just started using Sourcery G++ (an ARM optimized eclipse/gcc), but I honestly haven't found any information on how to set up the environment for a specific MCU. I stopped using scripts in the days of DOS, and until now my MCU projects have all been done with tools ...


Eclipse/GNU Errors

Started by Richard in LPC200011 years ago 3 replies
GNU

I have setup my Eclipse/GNU toolchain using the Lynch tutorial. It assembles, compiles and links fine but then I get a series of windows error...

I have setup my Eclipse/GNU toolchain using the Lynch tutorial. It assembles, compiles and links fine but then I get a series of windows error messages: cc1.exe application error The instruction at 0x..... referenced memory at 0x.... The memory could not be "read" etc etc Any ideas? Rich


Problem with GNU ARM Toolchain and math functions

Started by Fausto Marzoli in LPC200010 years ago 23 replies

Hi all! I have a problem that I can't fix with GNU ARM Toolchain and math functions. Maybe someone has experimented floating point math...

Hi all! I have a problem that I can't fix with GNU ARM Toolchain and math functions. Maybe someone has experimented floating point math function with GNU ARM Toolchain and can help me... This is the problem: when using floating point arguments, some math functions cause a program crash with "data abort" or "undefined instruction". I've done some tests with the newlib math functions w...


ARM7 ABI for GNU

Started by James Dabbs in LPC200014 years ago 3 replies

I'm looking for info on the ABI GCC uses with ARM7, like how parameters are passed, how the stack is set up, which registers are...

I'm looking for info on the ABI GCC uses with ARM7, like how parameters are passed, how the stack is set up, which registers are saved, etc., for GNU C and C++. I've got to adapt context switches and interrupt service routines within some existing code, and I'm having trouble finding


Has any one faced optmization problem using gnu arm gcc

Started by vijayasarathy T in LPC200013 years ago 3 replies

Hi, Iam using GNU arm gcc compiler for LPC2104 , when i use while( !( SCB_PLLSTAT & PLL_LOCK ) );) this statement,...

Hi, Iam using GNU arm gcc compiler for LPC2104 , when i use while( !( SCB_PLLSTAT & PLL_LOCK ) );) this statement, the assembly codes are not generated for other instruction below this statement. do any one have a suggestion. thanks