Profiling with IAR EW

Started by zjeriet in MSP43010 years ago 2 replies

Hi guys, I need to do some optimisation on a piece of code and wanted to try out the profiling functionality of EW. Now I activated it like in...

Hi guys, I need to do some optimisation on a piece of code and wanted to try out the profiling functionality of EW. Now I activated it like in the manual. This means: - C/C++ Compiler: Output> Generate debug information - Linker: Format> Debug information for C-SPY - Debugger: Plugins> Profiling I can now start and stop the profiler by its on/off button. But when I start my application it e


MSP430 Segment size

Started by lewis in MSP43015 years ago 7 replies

Hi, i am currently developing a module that replaces a function in flash by a new one recieved thru UART.The problem i am facing is dat...

Hi, i am currently developing a module that replaces a function in flash by a new one recieved thru UART.The problem i am facing is dat before doing a block write i have to erase the segment which contains many more functions,even though i have modified the linker file to place my replaacble function in a seperate segment the erase command erases the entire segment which is 512 byte.M


IAR ICC430 - overlaying variables?

Started by joeblogss84 in MSP43016 years ago 3 replies

Will the IAR ICC430 compiler/linker etc overlay variables? I have some significant RAM buffers that are not used simulataneously and their...

Will the IAR ICC430 compiler/linker etc overlay variables? I have some significant RAM buffers that are not used simulataneously and their contents do not need to be preserved across function calls. Some decent compilers I have used would overlay such variables (unless I told it otherwise). I can't seem to get the IAR system to does such a thing. Is it just me or is this toolset prett


I want a simple compiler!

Started by Anonymous in MSP43015 years ago 16 replies

Is'nt there a way to write a compiler that deals with data types at an abstract level, leaving the resolution of the physical memory...

Is'nt there a way to write a compiler that deals with data types at an abstract level, leaving the resolution of the physical memory requirements to the linker ? why do I need a char and an int and a long sn so on? Can not, for the Compiler, all data types be one and the same? I wnat something simple that alows me to focus on my task and not on the tool! I alwais end up spending an unord


Super weird IAR

Started by bumerang boom in MSP43014 years ago 4 replies
IAR

Something is gone really wrong with IAR! I have declared a global array like char Buffer[32]; in a file In an other file I...

Something is gone really wrong with IAR! I have declared a global array like char Buffer[32]; in a file In an other file I declare it as an external : extern char Buffer[32]; The compilation goes well but the linker complains that "Buffer"of the second file is redefined in the .r43 file of the first file. No mater what I do, I can't shake this stupidity :...


Re: BIG problems with math.h

Started by Paul Curtis in MSP43015 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 MSP43012 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 MSP43016 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 MSP43011 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...


Trouble linking code with extended memory

Started by linked82 in MSP43012 years ago 1 reply
LCD

Hi All. I'm building an application using MSP430F2618 and CCE v3 Pro. The application has grown so much that I need to use the extended...

Hi All. I'm building an application using MSP430F2618 and CCE v3 Pro. The application has grown so much that I need to use the extended memory of the device, using the large code and data model, and the rts430xl.lib runtime library. I've set the MSP430x core and the large_data_memory option, but the linker won't link anymore. The output window shows a messages that says that i've specfied...


F5438 memory issue

Started by richdinoso in MSP43010 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 MSP4304 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


CCE 2.0 - Breakpoints in assembler not recognised

Started by kitpicker in MSP43013 years ago 1 reply

Hi I'm using Code Composer with an assembler only project. There is no "C" file and I've set the linker initialisation model to "none". I can...

Hi I'm using Code Composer with an assembler only project. There is no "C" file and I've set the linker initialisation model to "none". I can download code, I can single step code from the first assembler instruction. The code "works" as far as I can tell. However, if I set a breakpoint in the assembler source, I get an error such as "No line 164 in file test.asm" I get the same if I ...


Linking C and Assembler Interrupt Vectors within the IAR environment

Started by Simon Price in MSP43017 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 MSP43010 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 MSP43016 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 MSP43017 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


Re: BIG problems with math.h

Started by sati...@yahoo.com in MSP43012 years ago

> Perhaps libm isn't available for MSPGCC? > > -- Paul. > > > -----Original Message----- > > From: HEX.loader...

> 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 `pow' ". >


IAR checksum for assembler

Started by Dave M in MSP43013 years ago 1 reply
IAR

I have a program written totally in assembler. I want to use checksums to track revisions. The IAR .lst checksum seems to include dates, etc....

I have a program written totally in assembler. I want to use checksums to track revisions. The IAR .lst checksum seems to include dates, etc. in the checksum calculation. I'd like to have the IAR tools generate a checksum only on the actual code - preferably using the IAR Linker's "Generate checksum" capability. Where do I find or how do I access the output of this generation?


IAR linker problem

Started by Hauenstein Stefan in MSP43015 years ago 2 replies
IAR

Hello guys and (girls?), I'm using IAR EW430. If have migrated my project to the new version of ewb430. The project uses a own cl430f.r43...

Hello guys and (girls?), I'm using IAR EW430. If have migrated my project to the new version of ewb430. The project uses a own cl430f.r43 file with changed segment from CODE to CSTART. One of the project setting is 'char' as 'signed char'. When I compiling the project then I get a warning: Modules have been compiled with possibly incompatible settings, Module xy uses signed plained char