EmbeddedRelated.com
The 2024 Embedded Online Conference

Re: BIG problems with math.h

Started by Paul Curtis in MSP43019 years ago

Perhaps libm isn't available for MSPGCC? -- Paul. > -----Original Message----- > From: HEX.loader [mailto:hexloader@hexl...] > Sent: 11 May...

Perhaps libm isn't available for MSPGCC? -- Paul. > -----Original Message----- > From: HEX.loader [mailto:hexloader@hexl...] > Sent: 11 May 2005 12:23 > To: msp430@msp4... > Subject: [msp430] BIG problems with math.h > > 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 `


MSP430 GANG with Borland C++ builder

Started by pruttlanda in MSP43016 years ago 2 replies

Hi, Im trying to get MSP-GANG430 to work in BC++ version 6. After converting the lib with following: coff2omf.exe GANG430.lib...

Hi, Im trying to get MSP-GANG430 to work in BC++ version 6. After converting the lib with following: coff2omf.exe GANG430.lib GANG430converted.lib -v -lib:ms Borland then accept the lib. But during make of the project I now end=20 up in=20 [Linker Error] Unresolved external '__stdcall InitCom(char *, long)'=20 referenced from D:\VSS\GDBPROD\MAIN.OBJ What can be the problem? Tr...


IAR "Tool Internal Error"

Started by joeblogss84 in MSP43020 years ago 4 replies

Sometimes when I add a bit of code and build I get an error message during...

Sometimes when I add a bit of code and build I get an error message during linking: *********************************************************** IAR Universal Linker V4.56E/386 Copyright 1987-2003 IAR Systems. All rights reserved. Internal Error: In function: unknown Diagnostic: unexpected exception P0: 1 P1: 0 *********************************************************** Compil


430FG4616 IAR Debugger - Verify error

Started by stefandk63 in MSP43015 years ago 6 replies
IAR

Hi all, I make first attempts to work with FG4616, moving assembler code from F449. Linker gives me 1 warning: Warning[w29]: Parts of segment...

Hi all, I make first attempts to work with FG4616, moving assembler code from F449. Linker gives me 1 warning: Warning[w29]: Parts of segment DATA16_N are initialized (as in module Mymain), even though it is of type DATA (and thus not promable) I think this is due 'holes' between byte and word aligned zones. When i invoke debugger - debugger finds target (TI-FET ,LPT) , downloads but s...


F5438 memory issue

Started by richdinoso in MSP43014 years ago 4 replies
IAR

I'm using the msp430f5438 and IAR EW. The 5438 has 16k of RAM, but when I use more than 6k, I get stuck on a function called __data20_memzero. The...

I'm using the msp430f5438 and IAR EW. The 5438 has 16k of RAM, but when I use more than 6k, I get stuck on a function called __data20_memzero. The program never gets to main. If I reduce memory consumption to below 6k approx, everything works fine. My linker file correctly maps the 16k of RAM: -Z(DATA)DATA16_I,DATA16_Z,DATA16_N,DATA16_HEAP+_DATA16_HEAP_SIZE=1C00-5BFF -Z(DATA)DATA20_I,DATA20_Z,DA...


linker issue with CCS 6

Started by "wil...@gmail.com [msp430]" in MSP4308 years ago 12 replies

I have installed the latest dev env from TI to debug some older code. When I build, the link stage fails with this message: ...

I have installed the latest dev env from TI to debug some older code. When I build, the link stage fails with this message: "../lnk_msp430f235.cmd", line 96: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".text" size 0x5654 . Available memory ranges: > > Compilation failure FLASH size: 0x3fde unused: 0x3f14


Linking C and Assembler Interrupt Vectors within the IAR environment

Started by Simon Price in MSP43021 years ago 2 replies
IAR

Hi All, I am a new newsgroup member and I have a question that I hope has not been posted many times and the answer is in the archives. So...

Hi All, I am a new newsgroup member and I have a question that I hope has not been posted many times and the answer is in the archives. So here goes. Using the MSP430_149 I want to have an assembler interrupt vector for timer A1 linked to a 'C' vector hander for timer interrupt A0. The IAR linker complains about lack of space and I can't find a way to define a segment etc for the As


Force the reset vector to a specific address

Started by Robert in MSP43014 years ago 15 replies

Hello. I saw this question asked a little while back but I didn't see anyone answer this specific question. Here's the situation. We have a custom...

Hello. I saw this question asked a little while back but I didn't see anyone answer this specific question. Here's the situation. We have a custom bootloader and an application. In IAR, both builds set the reset vector to the start of that build. The location in memory is changed specified in the linker file. The interrupt vectors are used by the application only, except for that pesky reset ve...


Math Library Does Not Work

Started by suprajr in MSP43021 years ago 6 replies

Hey all- I'm using the IAR Embedded Workbench C compiler and my code includes the #include "math.h" line of code, and i try to use the...

Hey all- I'm using the IAR Embedded Workbench C compiler and my code includes the #include "math.h" line of code, and i try to use the float() function. But the compiler gives me an error saying that float() is an unrecognized external function that cannot be found, etc. etc. Anyone have a solution to this? I know in GCC i always typed the -lm to get the linker to includ


MSP430 CRC generation with IAR tools

Started by mjruley in MSP43022 years ago 4 replies
IAR

I am using the IAR toolset to automatically generate a CRC for my image. This is done by adding the -J2,CRC16 switch in my linker file. I...

I am using the IAR toolset to automatically generate a CRC for my image. This is done by adding the -J2,CRC16 switch in my linker file. I assumed this was using either the 0x11021 or the 0x18005 polynomial. When I test it attempting to generate a CRC for a 1 byte image, I get the following results: Byte value resulting CRC value 0x1 0x8D


IAR error message "Driver does not support code coverage"

Started by dsfb sent by Nabble.com in MSP43018 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


Error[e27]

Started by merapcb in MSP43012 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 ------------------------------------


MSP430 linker problem

Started by ramesh babu nalagarla in MSP43021 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


Excluding a segment from checksum (IAR)

Started by Stephen Bashford in MSP43020 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 MSP43021 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 MSP43020 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


BIG problems with math.h

Started by HEX.loader in MSP43019 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: IAR and AQ430 floating point library size

Started by Preston Gurd in MSP43021 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


Extended memory in the f2618

Started by Thomas Montroy in MSP43016 years ago 2 replies

hi All, I am trying to place some const data in the extended memory (__data20 after address 0x10000) of the msp430f2618. I'm using modified...

hi All, I am trying to place some const data in the extended memory (__data20 after address 0x10000) of the msp430f2618. I'm using modified linker file with the command -Z(CONST)DATA20_ID=3100-FFBD -Z(CONST)DATA20_C=10000-1FFFF Here is my test code: #include #include int __data20 t1 = 7; const __data20 t2 = 0xff; void main(void) { WDTCTL = WDTPW + WD


Running from MSP430 RAM

Started by flatman3000 in MSP43018 years ago 4 replies

Hi All, Has anyone got any experience running a program out of the MSP's RAM? I am keen to get hold of a small sample program if possible....

Hi All, Has anyone got any experience running a program out of the MSP's RAM? I am keen to get hold of a small sample program if possible. Issues i am also keen to know about are: - setting up compiler to do program copy to RAM - setting up linker to reserve of RAM space for the RAM program - handling of interrupts during execution from RAM Any other issues to look out for or tips wou



The 2024 Embedded Online Conference