Linker files (IAR)

Started by analogkid_1976 in MSP43015 years ago 2 replies

I am in the process of building a couple of protos, and I am now at the stage ready to flash. The Demo board I was using had the F427 chip on...

I am in the process of building a couple of protos, and I am now at the stage ready to flash. The Demo board I was using had the F427 chip on it, and all of the IAR setting were for that chip. When I switch over to the F423 (the chip I am using in the project), IAR comes back with an error of "can't find lnk430F423.xcl" I went and checked the folder containing the xcl type files


IAR error message "Driver does not support code coverage"

Started by dsfb sent by Nabble.com in MSP43014 years ago 1 reply

I 'm programming in C and when I debug the app the function calls jump to extange places like if the SP was crazy. The only message the...

I 'm programming in C and when I debug the app the function calls jump to extange places like if the SP was crazy. The only message the compiler/linker throws me is "Driver does not support code coverage" (No errors or Warnings) Can somebody help me plz


Re: write to file help!

Started by isaac_mui in MSP43013 years ago

Can I use putchar to write to a file? --- In m...@yahoogroups.com, Grant Edwards wrote: > > On 2007-04-04, old_cow_yellow wrote: > ...

Can I use putchar to write to a file? --- In m...@yahoogroups.com, Grant Edwards wrote: > > On 2007-04-04, old_cow_yellow wrote: > > Instead of more memory, can one use smoke and mirrow? > > > > With IAR Kickstart, there are "I/O emulation modules in the linker > > options. I tried the following code: > > > > int putchar(int); > > void main( void ) >


Error[e27]

Started by merapcb in MSP4308 years ago 7 replies

I am getting the following error: Error[e27]: Entry "uThisData" in module ABC ( ABC.r43 ) redefined in module XYZ ( XYZ.r43 ) But, I don't...

I am getting the following error: Error[e27]: Entry "uThisData" in module ABC ( ABC.r43 ) redefined in module XYZ ( XYZ.r43 ) But, I don't see it defined in ABC.c (full search turns up nothing) so how can the linker be saying so? (and yes I have forced a complete Rebuild All) Thanks ------------------------------------


Re: A question about IAR

Started by John C. Westmoreland, P.E. in MSP43014 years ago
IAR

Solidsnave, IAR will let you generate just an MSP-430.txt file in which to use for debugging. Please look at...

Solidsnave, IAR will let you generate just an MSP-430.txt file in which to use for debugging. Please look at Project->Options->Linker->Format->Other. I'm pretty sure you won't have any of the C-SPY specific debug stuff available like you would if you generated a 'normal' debug file for IAR. If you're trying to load the MSP-430.txt file into the debugger from 'scratch' so t


MSP430 linker problem

Started by ramesh babu nalagarla in MSP43016 years ago 4 replies
IAR

Hi I'am working with MSP430f41x series controller.I'am using the latest version of IAR kick start 'fet_r306' for my development. In my project...

Hi I'am working with MSP430f41x series controller.I'am using the latest version of IAR kick start 'fet_r306' for my development. In my project I'am using total 4 files.Initially I selected "msp430f412C.lst "file and "msp430f412.ddf" files as my settings.When I compiled ,all files compiled with no errors.Then I try to link the all files with link command.Then I got the fol


Re: Crossworks Section Boundary Labels

Started by Paul Curtis in MSP43012 years ago

The linker does it. For all sections. -- Paul. > -----Original Message----- > From: m...@yahoogroups.com [mailto:m...@yahoogroups.com]...

The linker does it. For all sections. -- Paul. > -----Original Message----- > From: m...@yahoogroups.com [mailto:m...@yahoogroups.com] On Behalf > Of nfjensen123 > Sent: 08 April 2008 20:26 > To: m...@yahoogroups.com > Subject: [msp430] Crossworks Section Boundary Labels > I created a specific code section (.FLASHLDR) to hold my code that > performs a flash update and want my program


Re: write to file help!

Started by old_cow_yellow in MSP43013 years ago

Instead of more memory, can one use smoke and mirrow? With IAR Kickstart, there are "I/O emulation modules in the linker options. I tried the...

Instead of more memory, can one use smoke and mirrow? With IAR Kickstart, there are "I/O emulation modules in the linker options. I tried the following code: int putchar(int); void main( void ) { char *msg="Hello World!\n"; while (*msg!=0) putchar(*msg++); // Abracadebra! } It uses 52 bytes of code, 6 bytes of stack, and 16 bytes of constant (including the 2-byte reset vecto...


Excluding a segment from checksum (IAR)

Started by Stephen Bashford in MSP43016 years ago 4 replies
IAR

I have a segment of code memory that I wish to exclude from the IAR Linker checksum calculation. We wish to have a code checksum for the whole...

I have a segment of code memory that I wish to exclude from the IAR Linker checksum calculation. We wish to have a code checksum for the whole of the memory except a single segment that contains field programmable data. Does anybody know if this possible? TIA Stephen


IAR Assembler vs GCC Assembler

Started by scientist_emiel in MSP43017 years ago 1 reply

Hi I am currently using the IAR Workbench (Kickstart package) to develop code for the MSP430F147. The project consists of a main C routine...

Hi I am currently using the IAR Workbench (Kickstart package) to develop code for the MSP430F147. The project consists of a main C routine and a number of Assembler functions called by this main routine. As you all know, the Kickstart linker can only handle about 2k of C code which is quite limiting. The other option is to use GCC. I would like to know if it is possible to mix C and


newbie question.

Started by Micah in MSP43016 years ago 6 replies
IAR

I'm probably missing something very simple, but.. I'm running IAR workbench and I keep getting a checksum error during linking with XLink....

I'm probably missing something very simple, but.. I'm running IAR workbench and I keep getting a checksum error during linking with XLink. Here's the error: Error[e3]: Corrupt file. ?Checksum failed in module ?getchar ( E:\Program Files\IAR Systems\ew23\430\LIB\cl430ks.r43 ). Linker checksum is 0x90b1, module checksum is 0x47e1 I'm just running a build-all, and I haven't the foggiest


linker question

Started by William J. Sell in MSP43014 years ago 1 reply
IAR

I am using IAR tools and I have a simple question regarding RAM usage. Could someone explain the absolute value given in parenthesis ie. does...

I am using IAR tools and I have a simple question regarding RAM usage. Could someone explain the absolute value given in parenthesis ie. does this 55 + 174 mean that 229 bytes of system RAM are being used? 2 822 bytes of CODE memory 174 bytes of DATA memory (+ 55 absolute ) 32 bytes of CONST memory I also was curious about the segment default called DATA16_AN. When I looked at t


TAGGING label to end of code

Started by aunisajjad in MSP43013 years ago 4 replies

Hellow every1 i was wondering if there is a way i can tell the compiler/linker to tag some kind of label that i could pick up with my flash...

Hellow every1 i was wondering if there is a way i can tell the compiler/linker to tag some kind of label that i could pick up with my flash memory check function to recognise the end of code has been reached. All i am doing is running a crc algorithm to check each byte of of the flash starting from 0xf800. i know the iar compiler has the option of attaching a crc at the end of the c...


BIG problems with math.h

Started by HEX.loader in MSP43015 years ago 15 replies

hello I need to make such a move: 2 ^ 5, so, I write pow (2,5) and I get this error: "[Linker error] undefined reference to `pow' ". why? I...

hello I need to make such a move: 2 ^ 5, so, I write pow (2,5) and I get this error: "[Linker error] undefined reference to `pow' ". why? I tried other compilers and all was ok, but on mspgcc I dont work. All paths are ok, ie when i write pow (2), then compiler says: "too few arguments to function `pow' ", so I can say then, that compiler had found math.h, coz he know w


Re: Do ROM stored constants count for code space?

Started by old_cow_yellow in MSP43012 years ago

Here is a way to avoid that problem. You could store that table at a fixed and known segment of Flash. Tell IAR linker and debugger not to...

Here is a way to avoid that problem. You could store that table at a fixed and known segment of Flash. Tell IAR linker and debugger not to use or erase that segment of Flash. This way, IAR will not count that as part of the limit. Your code can access the table at that known address. --- In m...@yahoogroups.com, Ray Hurst wrote: > > tim.taylor@... wrote: > > Do Flash


C project with asm files (ISR trouble)

Started by bruno3955 in MSP43014 years ago

My project is written in C language, but for specific reasons I need to integrate an ISR written in asm language. The problem appears when I...

My project is written in C language, but for specific reasons I need to integrate an ISR written in asm language. The problem appears when I instruct the linker to update the INTVEC section with the new Interrupt vector; the interrupt table is not updated correctly when I download my project: "verifier errors". Please if somebody to know the reason of my error, I would appreciate a


How to put functions at specific address using GNU tool???

Started by Frederic Beaulieu in MSP43015 years ago

Hi all, I try to find a way to put (the start of ) many functions at specific address within the same section (.text for exemple). I want to...

Hi all, I try to find a way to put (the start of ) many functions at specific address within the same section (.text for exemple). I want to put the ?_reset_vector? and main function at fixed address to be able to find them later. Is there a way to do it using GNU tool GCC(compiler) and/or LD(linker)??? Any help will be appreciated!!! Fred ------------------------------- Frederic Beaulieu,


Re: Crossworks Section Boundary Labels

Started by Paul Curtis in MSP43012 years ago

No, the linker does it for all sections. If you don't use the labels, they don't get included. -- Paul. > -----Original Message----- > ...

No, the linker does it for all sections. If you don't use the labels, they don't get included. -- Paul. > -----Original Message----- > From: m...@yahoogroups.com [mailto:m...@yahoogroups.com] On Behalf > Of nfjensen123 > Sent: 08 April 2008 21:17 > To: m...@yahoogroups.com > Subject: [msp430] Re: Crossworks Section Boundary Labels > > But only the boundary labels I mentioned show u


Crossworks: external command executed before every build

Started by Matthias Weingart in MSP43012 years ago 2 replies

Hi, I am using MSP430-Crossworks and I want to have a external command executed before every build. I have a special file that have to be...

Hi, I am using MSP430-Crossworks and I want to have a external command executed before every build. I have a special file that have to be "compiled" externally. It is generating a c-source file with constants. How can I do that? All I have found is the post build command in the linker properties - but this command is executed to late. Thx, Matthias -------------------------------...


Re: IAR and AQ430 floating point library size

Started by Preston Gurd in MSP43017 years ago 13 replies
IAR

Hello Ken, > And floating point support is one of my major concern, > so I modify the MSP430F413 FET C example a bit to try > it out. I just...

Hello Ken, > And floating point support is one of my major concern, > so I modify the MSP430F413 FET C example a bit to try > it out. I just want to test a floating +, - , *, / > library size. And I wondering the result. And except > the C source code, I change nothing regarding the > complier or linker setting? > > Generated code size: > IAR: 808 byte > AQ430