LPC flashing ARM compiler

Started by Yan in comp.arch.embedded12 years ago

Hi, I have a firmware flashing code which erases the entire memory and overwrites it with new code held in RAM. The processor is an LPC2292...

Hi, I have a firmware flashing code which erases the entire memory and overwrites it with new code held in RAM. The processor is an LPC2292 and the compiler is AMR Realview using the Keil toolset. In order to do this I run the code from RAM however the Realview compiler uses a jump table that is (was) located in flash. So naturaly it does not work. Using the thumb option stops it using t...


Compiler tricks to improve speed

Started by Anonymous in comp.arch.embedded13 years ago 5 replies

Hello All, I am using C51 and my code runs on Infineon controller. For company policy reason I am not revealing the exact controller and...

Hello All, I am using C51 and my code runs on Infineon controller. For company policy reason I am not revealing the exact controller and sorry about that. I would like to improve the speed. I was using the large memory model for this compiler and now I use small memory model. This has improved speed a lot. I would like to know if there are some more such settings for this compiler to imp...


Building GCC-4.1.1 C/C++ compiler for LPC3180 + VFP + Embedded Linux

Started by smaddy in comp.arch.embedded13 years ago 2 replies

Hello, I want to have a cross compiler running on my win32 cygwin, that can cross compile C/C++ code for LPC3180 with VFP to run on embedded...

Hello, I want to have a cross compiler running on my win32 cygwin, that can cross compile C/C++ code for LPC3180 with VFP to run on embedded linux. I downloaded gcc-4.1.1 source onto win32 cygwin (I dont even know if I downloaded the right compiler source for the job), and started reading the instructions on how to compile the compiler. First it says you have to configure the build, t...


ideas for a BASIC compiler

Started by Frank Buss in comp.arch.embedded11 years ago 72 replies

I've started a BASIC compiler, first for PICs, but later I plan to use this for ARM platforms, too. This is an example source...

I've started a BASIC compiler, first for PICs, but later I plan to use this for ARM platforms, too. This is an example source code: http://www.frank-buss.de/tmp/test.bas.txt this is the generated assembler code: http://www.frank-buss.de/tmp/main.asm.txt and this is the compiler: http://www.frank-buss.de/tmp/compiler.lisp.txt A lot of things are missing, like a full expression ev...


library stdio.h of CCS C Compiler

Started by Paolo in comp.arch.embedded15 years ago 8 replies

Hi everybody, I use the CCS C Compiler to program the behavior of a robot (controled by a PIC 16F877) and I want to write some data from the...

Hi everybody, I use the CCS C Compiler to program the behavior of a robot (controled by a PIC 16F877) and I want to write some data from the PIC to a file via port serial RS232. But the problem is that "stdio.h" library of the compiler contains only 'getc', 'putc' but no file handling functions like 'fopen', 'fputc', fgetc', etc... Is there some solution i can use to perform "file handli...


Development Environment for 8085

Started by rk in comp.arch.embedded15 years ago 17 replies

Hi, Anyone have good recommendations for a development environment for an embedded 8085 system? Running on Windoze is preferred (because I...

Hi, Anyone have good recommendations for a development environment for an embedded 8085 system? Running on Windoze is preferred (because I have Windoze computers). A Pascal compiler is a big plus (because I'm old and speak Pascal well for the past 25 years). A C compiler is a small plus (because the programmers want a C compiler; I don't want the programmers, they produce too much ...


AVR IAR C Compiler

Started by Vidya in comp.arch.embedded14 years ago 3 replies

How to force the compiler to use stack as parameter passing for a particular function (for recursive functions)? Infact, my function isnt a...

How to force the compiler to use stack as parameter passing for a particular function (for recursive functions)? Infact, my function isnt a recursive one, but has a big parameter list. Due to this, the register values are being tampered, which were set by other functions. SO, i want the compiler to use stack for this particular function for its parameter calling. Thanx in advance


Assembly code with Borland's C compiler

Started by Hul Tytus in comp.arch.embedded9 years ago 20 replies

comp.arch.embedded Assembly code with Borland's C compiler Anyone have suggestions regarding the form for assembley code files used with...

comp.arch.embedded Assembly code with Borland's C compiler Anyone have suggestions regarding the form for assembley code files used with Borland's version C compiler? The code below, assembled by masm6, doesn't satisfy the linker (Borland's). The segment names are a guess for the most part - taken from masm6's accrued examples on other projects. "cs:DGROUP" appears off but, if the...


line command for Keil compiler

Started by wahid_kw1 in comp.arch.embedded10 years ago

Hello, I like to use keil compiler for a project based on ARM processor. My project consists in using a...

Hello, I like to use keil compiler for a project based on ARM processor. My project consists in using a toolchain contained:compiler,linker,assembler, an XML file contained all files destination. I use a toolchain with" native properties.map". I look for command lines for keil to include it in my toolchain (cross-compilation). I work in windows environment. I look for your help. Thank you...


8051 C Compiler

Started by seba in comp.arch.embedded13 years ago 89 replies

Which is the best C compiler for 8051 (Analog Devices Aduc831/841 in particular)? Does anyone have experience with Accutron tools? Thanks in...

Which is the best C compiler for 8051 (Analog Devices Aduc831/841 in particular)? Does anyone have experience with Accutron tools? Thanks in advance.


data sizes in Keil RV ARM C compiler

Started by Anonymous in comp.arch.embedded11 years ago 5 replies

Hi, I am trying to use RV ARM C compiler from Keil and wanted to know the data sizes and storage types used in int, char, float, etc. I saw...

Hi, I am trying to use RV ARM C compiler from Keil and wanted to know the data sizes and storage types used in int, char, float, etc. I saw the following online help on keil.com but could not find the information: RealView Compiler User's Guide http://www.keil.com/support/man/docs/armcc/ RealView Compiler Reference Guide http://www.keil.com/support/man/docs/armccref/ Can anyone tell w...


Question about PIC CCS compiler

Started by Bob in comp.arch.embedded15 years ago 7 replies

I need to write a routine that Checksums the program memmory on a PIC using the CCS compiler. I want to declare a pointer to program space. I...

I need to write a routine that Checksums the program memmory on a PIC using the CCS compiler. I want to declare a pointer to program space. I thought that I could just declare a "const char * ptr" but the compiler does not seem to like this. Any one know how to get a pointer to program space? Thanks, Bob Weiman


Wrapping function calls using Diab compiler

Started by nithi89 in comp.arch.embedded6 years ago

Hi I am new to wind river compiler, I am trying to do robustness testing using binary wrapping method, I know that gcc has a --wrap option...

Hi I am new to wind river compiler, I am trying to do robustness testing using binary wrapping method, I know that gcc has a --wrap option for wrapping function calls, I would like to do a similar wrapping using Wind River Diab compiler, any ideas how to do this? --------------------------------------- Posted through http://www.EmbeddedRelated.com


Extended assembly in GreenHills compiler

Started by matrix13 in comp.arch.embedded7 years ago 13 replies

I am using PowerPC 55xx with GreenHills compiler. The following inline extended assembly code, asm("mftbl %[reg];" : [reg] "=r"(reg)); returns a...

I am using PowerPC 55xx with GreenHills compiler. The following inline extended assembly code, asm("mftbl %[reg];" : [reg] "=r"(reg)); returns a syntax error saying a ')' is missing. Now, I am wondering whether the GreenHills compiler does not support Extended Assembly. My intention is to copy the Time Base register value to a C variable and calculate the time elapsed. But, with the above metho...


AT91RM9200 compiler

Started by Shima in comp.arch.embedded13 years ago 3 replies

Hi everybody: I'm looking for AT91RM9200's compiler C & I searched so many.I have found different companies for this purpose like: HI-TECH &...

Hi everybody: I'm looking for AT91RM9200's compiler C & I searched so many.I have found different companies for this purpose like: HI-TECH & Rowley Associates & Green Hills,but as a matter of fact I am so confused,I don't know how to compare them & which one of them is the best for my project. Can anybody please guide me? Thanks.


PIC24 USB question ?

Started by Mike in comp.arch.embedded7 years ago 2 replies

As stated in another thread I am a newbie PIC programmer and I have inheirited a pile of code written for the CCS compiler. I need my PIC24 to...

As stated in another thread I am a newbie PIC programmer and I have inheirited a pile of code written for the CCS compiler. I need my PIC24 to play host to a USB mass storage device and heard that the Microchip compiler comes with library code for that. The CCS compiler has USB library functions but nothing relating to mass storage devices. Does anyone know the ins and outs of this and kno...


Bug in latest IAR MSP430 compiler optimization???

Started by larwe in comp.arch.embedded11 years ago 41 replies

Has anyone else observed that the latest kickstart MSP430 compiler from IAR has an extremely serious code generation bug when configured with...

Has anyone else observed that the latest kickstart MSP430 compiler from IAR has an extremely serious code generation bug when configured with optimizations=high,size? IAR C/C++ Compiler for MSP430 V4.10E/W32 [Kickstart] (4.10.5.3) C:\Program Files\IAR Systems\Embedded Workbench 5.0\430\bin\icc430.exe 2/15/2008 11:03:06 AM, 15015936 bytes I have a test case that demos the problem perfect...


keil compiler

Started by ishita in comp.arch.embedded13 years ago 9 replies

Hi everybody! How to implement assembly instructions using Keil compiler? Best regards, Ishita

Hi everybody! How to implement assembly instructions using Keil compiler? Best regards, Ishita


Turbo51 - 8051 Pascal compiler now with OMF-51

Started by Funa in comp.arch.embedded11 years ago

Some months ago I have posted information about availability of Turbo51 - a free Pascal compiler for the 8051 family of microcontrollers. It...

Some months ago I have posted information about availability of Turbo51 - a free Pascal compiler for the 8051 family of microcontrollers. It features a fast single pass optimizing compiler, Borland Turbo Pascal 7 syntax, full floating point support, mixed Pascal and assembler programming, full use of register banks, advanced multi-pass optimizer, smart linker, generates compact high qualit...


looking for the Archimedes C Compiler v2.7.15

Started by dougmac77 in comp.arch.embedded10 years ago 4 replies

I am working on a legency product and looking for a Archimedes C compiler V2.7.15 dated around 1997 I only have the older dos version, so do...

I am working on a legency product and looking for a Archimedes C compiler V2.7.15 dated around 1997 I only have the older dos version, so do you have the newer version thanks again