EmbeddedRelated.com
The 2024 Embedded Online Conference

Hi-Tech c compiler

Started by Alistair George in comp.arch.embedded18 years ago 5 replies

Hi its been ages since I brushed the dust of Hi-Tech compiler. Now I go to use it have a wee problem. Can MAKE OK. Paths and correct source...

Hi its been ages since I brushed the dust of Hi-Tech compiler. Now I go to use it have a wee problem. Can MAKE OK. Paths and correct source file list are defined but when I go to COMPILE there are errors relating to: extern void lcdinit(void); lcdinit(); error 'undefined symbol' _lcdinit Anyone advise what this could be - The error perhaps is caused by main look


saving values from Keil 8051 compiler

Started by Anonymous in comp.arch.embedded19 years ago 4 replies

Hello list, Thank you for bothering to read the post here on comp.arch.embedded. I am facing a problem halfway through a...

Hello list, Thank you for bothering to read the post here on comp.arch.embedded. I am facing a problem halfway through a developmenmt process. I am using Keil 8051 compiler for writing an application with the AT89s8252 as the target device. The code is being written in "Embedded C". At this point i am using a 50x50 array in the program whose values i want to retrieve and ke...


building i386 toolchain - ld can't find crti.o

Started by Luki in comp.arch.embedded18 years ago 1 reply

hi! i tried to compile a toolchain for my i386. i followed the instructions of bill gatliff (http://venus.billgatliff.com/node/18). all...

hi! i tried to compile a toolchain for my i386. i followed the instructions of bill gatliff (http://venus.billgatliff.com/node/18). all worked quite fine. except, i had to add the option "--disable-threads" at "6.3 building the bootstrap cross compiler" and at "6.5 building a complete cross compiler" (there was no pthread.h). i'm afraid, this was a mistake. because at the last point (6....


Optimizing Instruction Cache

Started by Tim Frink in comp.arch.embedded16 years ago 7 replies

Hi, I'm interested in compiler optimisations aiming at the improvement of the instruction cache behavior. For data caches there are numerous...

Hi, I'm interested in compiler optimisations aiming at the improvement of the instruction cache behavior. For data caches there are numerous compiler optimisations, many of them operating on loops. However, for instruction caches I've just found some very few on google. Could you give my any hints/references for any (further) instruction cache optimizations? I appreciate any answers. ...


AVR python compiler

Started by Jonny Barker in comp.arch.embedded18 years ago 5 replies

Hi all, I've been working on a simple python 'compiler' targetting the AVR (inspired by Pyastra, the equivalent PIC program). The (rather...

Hi all, I've been working on a simple python 'compiler' targetting the AVR (inspired by Pyastra, the equivalent PIC program). The (rather bare) website is here: http://www.ecs.soton.ac.uk/~jb1403/projects/avrpy/ The code is fairly simple (though my tarballing skills leave much to be desired), and produces surprisingly clean assembly (optimal in many simple cases), though it only attem...


ARM Cortex M3 compilers - gcc vs arm-cc ?

Started by Mike in comp.arch.embedded12 years ago 19 replies

Hi, Can anyone tell me the pros and cons of gcc vs the arm-cc compiler for ARM Cortex M3 development? I understand that the ARM compiler...

Hi, Can anyone tell me the pros and cons of gcc vs the arm-cc compiler for ARM Cortex M3 development? I understand that the ARM compiler always used to be said to give smaller code size with the downside that it cost a bit more but can anyone tell me whether that is still true in 2012 ? How do they compare on execution speed ? My application is power sensitive and increased execution ...


Help with ncrt0 please!

Started by Luke Phoenix in comp.arch.embedded20 years ago 4 replies

Hello, I have some problems when trying to compile a file.c with the nc30 compiler. The chip I use is a mitsubishi. I don't know anything about...

Hello, I have some problems when trying to compile a file.c with the nc30 compiler. The chip I use is a mitsubishi. I don't know anything about assembly. I just modified the C source. I read the manual of the nc30 compiler (nc30ue.pdf). I was able to obtain the AA.r30 file from the AA.c. Now, what is ncrt0.a30? When I lauch ln30 I get the following error messages: ncrt0.a30 172 Error (a...


Passing Strings in CodevisionAVR

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

Id like to see how this CodevisionAVR compiler compares to the keil compiler, but I cant get it to compile a function where I pass a character...

Id like to see how this CodevisionAVR compiler compares to the keil compiler, but I cant get it to compile a function where I pass a character string... #define MSG_A " " #define MSG_B " " void Update_LCD(char* first_line, char* second_line) { //Do Something } void main (void) { Update_LCD("Hello", "World"); //Doesnt work Update_...


Embedded Unit Testing

Started by Enrique Lizarraga in comp.arch.embedded18 years ago 6 replies

Good afternoon: I need to perform some unit testing and I'm totally lost. Right now I'm working in two projects. In the first one I use a...

Good afternoon: I need to perform some unit testing and I'm totally lost. Right now I'm working in two projects. In the first one I use a Freescale MC908AS60A microcontroller with Cosmic compiler and the other one a Infineon XC161 with Tasking C166 compiler. The manager is asking me to perform Unit testing on host and on target. I have been able to perform some testings on host, but I ne...


SDCC with Cypress FX2LP - Issues? Limitations?

Started by Anonymous in comp.arch.embedded18 years ago 6 replies

I just got my brand new EZUSB dev kit from Cypress which comes with an eval version of the Keil compiler and many handy examples which I...

I just got my brand new EZUSB dev kit from Cypress which comes with an eval version of the Keil compiler and many handy examples which I got running in no time flat with the Keil tools. My question is regarding the SDCC compiler. Since SDCC likely does not directly support all of the features of the FX2LP can anyone tell me the limitations for its use on this particular platform? I'm havi...


AVR BASIC COMPILER source code released

Started by Antti in comp.arch.embedded15 years ago

Hi I should have done that ages ago, http://code.google.com/p/avrbasic/ I just checked in the source code of the compiler it is not the...

Hi I should have done that ages ago, http://code.google.com/p/avrbasic/ I just checked in the source code of the compiler it is not the latest code of the once commercial product (those sources get lost in fire) the sources DO compile with either Delphi or FPC I havent compiled them on linux but it should work (have 3rd party success reports) I will checkin the remaing stuff i hav...


HP 64000 using 6800 Pascal Cross Compiler

Started by Holly Sherman in comp.arch.embedded19 years ago 29 replies

Hi! I'm looking for the source code for the library routines (e.g. PARAM_, LEAX_B_X, Zbshift, Zequ, Zleq, etc.) needed to execute Pascal...

Hi! I'm looking for the source code for the library routines (e.g. PARAM_, LEAX_B_X, Zbshift, Zequ, Zleq, etc.) needed to execute Pascal programs compiled by the Pascal/64000 compiler for the 6800 microprocessor. I have the relocatable file for the LIB6800. If anyone knows where I can find the source code, or if anyone knows of a workaround, I would be grateful. Thanks, Holly


Progress in instruction scheduling

Started by Stephan Ceram in comp.arch.embedded16 years ago

Hi, the compiler optimization "instruction scheduling" is a quite old technique that can be found in many modern compilers. From...

Hi, the compiler optimization "instruction scheduling" is a quite old technique that can be found in many modern compilers. From some standard compiler books, I got to know that many schedulers are based on "list scheduling" which seems to be the standard approach. An advanced approach based on profiling is "trace scheduling". I would like to hear your opinion if there is/was any progres...


function call

Started by Juergen in comp.arch.embedded18 years ago 2 replies

Hi, I am a little confused by the following example: portCHAR myaddress = 0xFF; ReadRegister(myaddress); void ReadRegister(portSHORT...

Hi, I am a little confused by the following example: portCHAR myaddress = 0xFF; ReadRegister(myaddress); void ReadRegister(portSHORT address); The compiler isn't giving me a warning for using a portCHAR(8 bit) as a parameter when portSHORT(16 bit) is used. But even though I expected the compiler to do "something" and assign 0x00FF to address, this was not the case. Inside the functi...


anybody know a good C compiler for pic10/12/16 ??

Started by Andre in comp.arch.embedded12 years ago 7 replies

I am using HighTch Picc ( LITE ) I am retired and can't afford paying +/- 1000 ? for the picc PRO. The LITE version loose about 40% in no...

I am using HighTch Picc ( LITE ) I am retired and can't afford paying +/- 1000 ? for the picc PRO. The LITE version loose about 40% in no optimisation and I can't fit all my code in a pic16f648a. I have been googling a while but I didn't find any free compiler ( no such thing as pic-gcc ) I won't loose a lot by moving to another micro, ATMEL avr seems interesting, there is avr-gcc. any...


IAR compiler problems

Started by Anonymous in comp.arch.embedded19 years ago 2 replies

Hello folks, I'm trying to run the uCOS_II operating system on an AVR 128. The compiler I use is the IAR embedded workbench. I compiled all...

Hello folks, I'm trying to run the uCOS_II operating system on an AVR 128. The compiler I use is the IAR embedded workbench. I compiled all source files successfully. Linking fails because of the error "Error(e62) File name uCOS_II.r90 used for multiple files. There is a uCOS_II.c and auCOS_II.h file. Can anyone tell me in more detail what this error means and what I can do to prevent it. I...


UART SPI MCF5282

Started by Bjoern Braun in comp.arch.embedded20 years ago 2 replies

Hello all, i have some problems with the UART and the SPI modules of the MCF5282. What do i have to do to get them running. I work with the...

Hello all, i have some problems with the UART and the SPI modules of the MCF5282. What do i have to do to get them running. I work with the senTec evaluation Board COBRA5282 and a gcc GNU - Compiler. The Compiler is installed on the host and is running well. The Motorola dBug - Software on the Evaluation Board is also running well. Steps that I have done: - Creating a Header - Fi...


Memory Map Viewer

Started by Anonymous in comp.arch.embedded18 years ago 6 replies

Hi Is there some tool to view a memory map out of a Intel hex-File or even better see where which var / function goes into memory out of the...

Hi Is there some tool to view a memory map out of a Intel hex-File or even better see where which var / function goes into memory out of the obj/s51/mem file of the compiler? It is a 8051 compiler. I know such a tool as Memory Map viewer from the Renesas M16 for these types of controllers. Thanks and best regards, Franz


Problems with linker

Started by Paul Phoenix in comp.arch.embedded20 years ago 5 replies

Hi, I have a C program to compile and load on a M16C processor. The program is ready and working, but I have to modify some lines. There are...

Hi, I have a C program to compile and load on a M16C processor. The program is ready and working, but I have to modify some lines. There are some AA.c and AA.h files, the ncrt0.a30 (the startup file) and the sect30.inc (the inclusion file). The compiler I have to use is NC30, which consists of: - as30 which gives me ncrt0.r30 from ncrt0.a30 and sect30.inc - nc30 - the compiler. It gives me...


volatile attribute

Started by Gianluca Moro in comp.arch.embedded19 years ago 1 reply

Hi, the volatile attribute is an indication that the variable can change for example on account of an interrupt. With this indication the...

Hi, the volatile attribute is an indication that the variable can change for example on account of an interrupt. With this indication the compiler cannot use a register to store the variable, or do any type of optimization. For example if a volatile variable is not used, the compiler do not remove it, as it could be used by an interrupt bye giammy



The 2024 Embedded Online Conference