EmbeddedRelated.com
The 2024 Embedded Online Conference

What is debugging information?

Started by jani in comp.arch.embedded16 years ago 1 reply

I work on PowerPC based Embedded Systems. Programming language is C. Cross compiler is Diab 4.2b. FYI, Windriver has purchased Diab. ...

I work on PowerPC based Embedded Systems. Programming language is C. Cross compiler is Diab 4.2b. FYI, Windriver has purchased Diab. Along with the compiler comes a utility called ddump. This utility has the following syntax. ddump [command] file I invoke this utility as follows: ddump -D filename.elf I believe .elf stands for executable linking format. Anyways, this command means ...


m16c IAR printf

Started by Anonymous in comp.arch.embedded19 years ago 1 reply

Hi, I use IAR compiler and M16C/62P kit. I can't use printf() function. If I use it, compiler doesn't generate error or warning but I...

Hi, I use IAR compiler and M16C/62P kit. I can't use printf() function. If I use it, compiler doesn't generate error or warning but I can't download the program to mcu. I define putchar and __low_level_put. I have a sample code from kickstart CD but I can't understand. Anybody have sample code or documents? void ConfigUart (void){ // Configure UART1 U1MR = 0x05; // 0000 0101: 8...


Question about HiTech C Compiler on Pic (16F876)

Started by Bob in comp.arch.embedded20 years ago 2 replies

I am using the HiTech C compiler version 8.02 PL1. I would like to modify my makefile so that when my code compiles, it shows the number of call...

I am using the HiTech C compiler version 8.02 PL1. I would like to modify my makefile so that when my code compiles, it shows the number of call stack levels used. This way I can be sure that I don't go over 8 anywhere in my code. The only place I have found call stack information is in graphical format in the MAP file. I don't want to manually count the stack levels each time.Is there a...


SDCC Compiler problems - HELP!

Started by Desert Rat in comp.arch.embedded16 years ago 10 replies

Can anyone help with how you successfully run SDCC on a Windows XP machine and generate proper hex files? I am starting on a project using an...

Can anyone help with how you successfully run SDCC on a Windows XP machine and generate proper hex files? I am starting on a project using an Atmel AT89C5131 (an 8051 derivative with a built-in USB port). I have written several small test programs in assembler and they run just fine. But all attempts to run any small test program written using the SDCC C compiler have resulted in failure...


compilation of dsPIC c30 compiler sources

Started by Wojciech Zabolotny in comp.arch.embedded19 years ago 4 replies

Hi All, I've tried to compile the sources of the Microchip's C compiler for...

Hi All, I've tried to compile the sources of the Microchip's C compiler for dsPIC: http://ww1.microchip.com/downloads/en/DeviceDoc/mplabc30_v1_20_02.tar.gz Unfortunately after: ./configure --target=pic30 --enable-languages="c" make I get the following error message: cppinit.c: In function `path_include': cppinit.c:191: error: assignment of read-only location make[1]: *** [cppinit....


MSP430 -> Release

Started by Baxter in comp.arch.embedded19 years ago 10 replies

Take pity - I'm a newbie at embedded programming I've got a prototype with a MSP430 on a header board. I'm using the IAR compiler and the TI...

Take pity - I'm a newbie at embedded programming I've got a prototype with a MSP430 on a header board. I'm using the IAR compiler and the TI "Flash Emulation Tool". In Debug, the C-Spy debugger downloads a binary file to the MSP430 chip. Compiler Release mode, however, builds a hex/Text file which C-Spy does not handle. How do I download the release program to the MSP430 chip? (or do...


ccs compiler with pic12ce674?

Started by starfire in comp.arch.embedded19 years ago 5 replies

Has anyone used the CCS C compiler with the PIC12CE674? I'm having difficulty getting out of the starting block with a simple program...

Has anyone used the CCS C compiler with the PIC12CE674? I'm having difficulty getting out of the starting block with a simple program (attached). The chip is supposed to be set up to run on the internal oscillator (at 4MHz) with the OSC2 pin set as an IO line, no MCLR pin input (MCLR pin used as an IO line), and with AN0 and AN1 used as analog inputs. I've verified the fuse settings...


Looking for a free compiler for GreenHills Integrity

Started by Anonymous in comp.arch.embedded16 years ago 1 reply

Hi there, I am going to write an external API for an embedded product. The embedded product runs GreenHills Integrity RTOS, and...

Hi there, I am going to write an external API for an embedded product. The embedded product runs GreenHills Integrity RTOS, and provides interface for external APIs. My first thought is to purchase a compiler license from GreenHills for my API, however, it is prohibitively expensive and I couldn't afford. The API itself is very simple for about 200 lines of codes. I would like to know if t...


Printf statement used on IAR compiler / MSP430 processor

Started by JS in comp.arch.embedded17 years ago 11 replies

This is a multi-part message in MIME format. ------=_NextPart_000_01D7_01C80657.F2583E90 Content-Type:...

This is a multi-part message in MIME format. ------=_NextPart_000_01D7_01C80657.F2583E90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have been looking for a code sample written by IAR compiler for TI MSP430 processor especially when utilizing PRINTF statement for the purpose of transmitting/receiving characters serially to/from = PC ...


IAR C-compiler for AVR: Array of pointers to strings in flash

Started by Erik Cato in comp.arch.embedded20 years ago 20 replies

Hi group! Looking for help from someone with experience with IAR?s C-compiler for AVR (ATmega16/32) I want to declare an array with...

Hi group! Looking for help from someone with experience with IAR?s C-compiler for AVR (ATmega16/32) I want to declare an array with pointers to constant text. And both of the should be in flash-memory, like this. __flash char * __flash textTab[] = { "Text1", "Text2", "Text3", "Text4", "Text5", "Text6", "Text7", "Text8", "Text9", }; The array is easy to make in flash but th...


Why is macro not replaced in the path to a file?

Started by janii in comp.arch.embedded13 years ago 4 replies

My operating system is Windows XP Professional. I invoke "clearmake lib" from command prompt. Windriver 5.8.0.0 compiler does run. This...

My operating system is Windows XP Professional. I invoke "clearmake lib" from command prompt. Windriver 5.8.0.0 compiler does run. This compiler tries to open some gcc parser configuration file but it cannot find the file because path to this file is incorrect as follows: GNU options parser fatal error: config file wasn't found: $(CC_ROOT)\conf\gcc_parser.conf In the makefile, CC_ROOT...


Setup HI-TECH PICC8.02 compiler and MPLab 6.4

Started by G_swidwin in comp.arch.embedded20 years ago 16 replies

Hi all, I have a problem finding any information on how to set HI-TECH PICC8.02 compiler and MPLab 6.4 (under WinXP). Especially I need...

Hi all, I have a problem finding any information on how to set HI-TECH PICC8.02 compiler and MPLab 6.4 (under WinXP). Especially I need directions how to set project under MPLAB using a Project\Build Options. When I try to compile project which has only one file xxx.c I don't have any problem. But when my project includes more source files (xxxx.c, yyyy.c ) and yyy.h I get an error: Er...


MPLAB 5.70.40 is integrated with HI-TECH PICC compiler v8.02 PL1

Started by Bruce Sam in comp.arch.embedded20 years ago 2 replies

I have integrated MPLAB 5.70.40 with HI-TECH PICC compiler v8.02 PL1 but failed.When I only compiled just a simple .c file,it appear this...

I have integrated MPLAB 5.70.40 with HI-TECH PICC compiler v8.02 PL1 but failed.When I only compiled just a simple .c file,it appear this message:MPLAB is unable to find output file "DELAY.HEX". This may be due to a compile, assemble, or link process failure.Here is all I have done: 1.Click on the Option menu in the mehu bar, and select Environment setup,in this new dialog box,I have setted...


4k limit of IAR's MSP430 C compiler

Started by Michael in comp.arch.embedded20 years ago 5 replies

IAR's C compiler has a code generation limit of 4k, for individual modules this would not be a problem for me. However if I link modules which...

IAR's C compiler has a code generation limit of 4k, for individual modules this would not be a problem for me. However if I link modules which together total > 4k I get the error: Fatal Error[e89]: Too much object code produced (more than 0x1000 bytes) for this package Yet with the same IAR linker I can link modules generated with assembler up to the device limit (32k for msp430F147).


Error in building Complete Cross Compiler for ARM

Started by Madhu.A.G. in comp.arch.embedded20 years ago 2 replies

Iam facing Error in building Complete cross compiler for ARM the error is ERROR: No support for this host and target combination. This is...

Iam facing Error in building Complete cross compiler for ARM the error is ERROR: No support for this host and target combination. This is the only one error iam getting. Iam using GCC version -3.4.1 Bin Utilities-2.15 Run time C library -1.12. Please solve my problem. Thanks in advance ---Madhu.A.G.


MCF5223x gcc cross compiler under Linux/x86_64

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

I'm looking for instructions on how to build a gcc based cross compiler for MCF5223x under Linux/x86_64 (gentoo in my...

I'm looking for instructions on how to build a gcc based cross compiler for MCF5223x under Linux/x86_64 (gentoo in my case)? Thanks Petter -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?


Make script

Started by Nickolai Leschov in comp.arch.embedded16 years ago 12 replies

Hello! I have a project that used to be compiled via IDE. As I didn't like the IDE much, I made a 'make' script to compile it. I had to use...

Hello! I have a project that used to be compiled via IDE. As I didn't like the IDE much, I made a 'make' script to compile it. I had to use extended syntax so it will run on NT-XP, not Win98 and the like. Host OS: Windows XP Target: PIC18F452 CPU Language: C Compiler: HI-TECH C Compiler IDE: MPLAB IDE Target is an embedded CPU, so I compile code on host machine then write it to ...


New Altium/Tasking C166/ST10 Compiler Offers Full Peripheral Simulation

Started by Bill Giovino in comp.arch.embedded20 years ago 1 reply

Tasking has introduced v8.5 of their C166/ST10 C compiler. The CrossView Pro debugger instruction set simulator now supports full peripheral...

Tasking has introduced v8.5 of their C166/ST10 C compiler. The CrossView Pro debugger instruction set simulator now supports full peripheral simulation http://microcontroller.com/news/tasking_C166_85.asp - Bill Giovino Executive Editor http://Microcontroller.com


setting the environment for the m68k-elf-gcc toolchain

Started by tech...@gmail.com in comp.arch.embedded17 years ago 2 replies

Hi I'm trying to write an ADC driver for my ColdFire Board that runs on uClinux. For this, i have installed the toolchain : m68k-elf-gcc...

Hi I'm trying to write an ADC driver for my ColdFire Board that runs on uClinux. For this, i have installed the toolchain : m68k-elf-gcc from the uClinux site. My question, though pretty elementary is, how can I be sure that when i run my make file, it is invoking the m6k-elf-gcc compiler than the regular standard gcc compiler ?? I have added the uClinux toolchain to the PATH variable...


ELF compiler for ARM7 based Real-time embedded OS VxWorks 5.5

Started by Rohan in comp.arch.embedded17 years ago 9 replies

Hi All, I have a hand held Meter Reading Instrument which has the following specifications CPU: Powerful embedded 32-Bit ARM7 microcomputer...

Hi All, I have a hand held Meter Reading Instrument which has the following specifications CPU: Powerful embedded 32-Bit ARM7 microcomputer @ 24 MHz Operating System: Real-time embedded OS VxWorks 5.5 I have a set of library files and include files etc which came with the device. It needs an elf file instead of the regular exe as executable. which compiler should I used to genera...



The 2024 Embedded Online Conference