Code Composer Essentials V2.0 linker problem

Started by etcrob in MSP43010 years ago

I am having a problem with CCE V2.0. It generates linker command strings which prevent me from modifying any of the rts430.lib library...

I am having a problem with CCE V2.0. It generates linker command strings which prevent me from modifying any of the rts430.lib library functions. This may be esoteric, but I wonder if anyone has had a similar problem? Rob Problem: Using CCE 2.0, the MSP430 linker will not allow me to link the rts430.lib AFTER linking my project's C modules. As a result, I can not use or modify ...


Re: Doubt about instructions

Started by old_cow_yellow in MSP43010 years ago

These things are instructions to the assembler/linker, not the CPU. Read the document of the assembler/linker you use. --- In...

These things are instructions to the assembler/linker, not the CPU. Read the document of the assembler/linker you use. --- In m...@yahoogroups.com, msp430 nascimento wrote: > > I need help with instructions: DW, ORG, RSEG, DS.... > =20 > Follow down an example of my program. > =20 > COMMON INTVEC > =20=20=20=20=20=20=20=20=20=20=20=20=20 > ORG


Okay, now crossworks question

Started by Micah in MSP43012 years ago 13 replies
SPI

Thanks everyone for the feedback on the terminal programs. New problem with crossworks. I'm trying to redefine __putchar() to send out the...

Thanks everyone for the feedback on the terminal programs. New problem with crossworks. I'm trying to redefine __putchar() to send out the SPI port, instead of to the virtual terminal. So according to the instructions, I should just be able to redirect the linker to use my function instead of the __putchar() function, right? I did this: -D___putchar=_my_putchar in the additional linker


Crossworks problem

Started by bruno3955 in MSP43012 years ago

I use the Crossworks for MSP430 evolution version and it seems to me that it have a problem, when I declare two or more interrupts in...

I use the Crossworks for MSP430 evolution version and it seems to me that it have a problem, when I declare two or more interrupts in one assembler file, the linker only see the first interrupt vector. In the example below, the linker only charge in the interrupt vector table, the address for the Port 1 interrupt. .vectors .keep ORG PORT1_VECTOR


linker error

Started by amr090 in MSP43013 years ago 1 reply
IAR

i am trying to compile my code which controls a stepper motor and I get the following linker error, and I have no idea what it means or how i...

i am trying to compile my code which controls a stepper motor and I get the following linker error, and I have no idea what it means or how i would fix it. it compiles f ine but just has problems linking. Building configuration: StepperProject - Debug Linking Error[e46]: Undefined external "main" referred in ?cstartup ( C:\Program Files\IAR Systems\ Embedded Workbench 3.2\430\


linker overlapping segments

Started by ethernet777 in MSP4305 years ago 2 replies
IAR

I am seeing the linker place code for one module in a location that another module has reserved with the DS directive. Details: - IAR...

I am seeing the linker place code for one module in a location that another module has reserved with the DS directive. Details: - IAR KickStart for MSP430 5.51.3 - project is assembler-only - target is MSP430G2412 Example code: Module A: aseg 0xE1E6 a1: dc16 0x1234 a2: ds16 16 a3: dc16 0x5678 end Module B: rseg CDATA :CODE(1) b1: dc16 0x7654 ...


CCS linker and boot loader

Started by bhaltulpule in MSP4308 years ago 5 replies

I am new to CCS and TI MSP430. Have used Keil compiler before. I am trying to use a bootloader in C which can get data from a serial port and...

I am new to CCS and TI MSP430. Have used Keil compiler before. I am trying to use a bootloader in C which can get data from a serial port and update the Flash with application code. I did this in Keil toolset by using simple linker commands to locate the App. code at always the same address. The bootloader copied the new code to this address and then could be signaled to jump to it.. I h...


Reserving space for a large table

Started by tim....@l-3com.com in MSP43010 years ago 5 replies

I am trying to reserve space in one project to allow for a large table to be programmed in another to remain in the Flash. I have successfully...

I am trying to reserve space in one project to allow for a large table to be programmed in another to remain in the Flash. I have successfully put the table where I need it to be using segments and the Linker Script. But I have not been able to make the primary project not overwrite the space. Below are the relevant areas of the linker script. I also have told the debugger to "Retain Unchang...


question regarding linkers options for project

Started by harshit suri in MSP43014 years ago 1 reply
IAR

hi the IAR assembler tutorial says to set the following Linker options in the menus Project -> Options -> Xlink -> include it says to toggle...

hi the IAR assembler tutorial says to set the following Linker options in the menus Project -> Options -> Xlink -> include it says to toggle overide default and specify first.xcl as teh linker command file. 1)What does this do? 2) And do i have to stick to this option for all my projects? (the assembler says that this file was designed for assembler only projects) 3)Is everybo


IAR .sfr files

Started by cmdamour in MSP43011 years ago 1 reply
IAR

Does anyone know the purpose of the .sfr files in the 430/config directory (same directory as the linker command files?) The only mention of...

Does anyone know the purpose of the .sfr files in the 430/config directory (same directory as the linker command files?) The only mention of them that I found in the IAR documentation is that they are there. I noticed that the .xcl files do not define segments for non-initialized absolute data, does the linker use these files to define the DATA16_AN segment? Thanks in advance. Chris ...


Re: Problems when uploading via BSL: different start addresses?

Started by old_cow_yellow in MSP43010 years ago

(1) Is your source code in assembly, c, or c++? Any segment directive used? (2) Which Linker Command File are you using? Examine all lines...

(1) Is your source code in assembly, c, or c++? Any segment directive used? (2) Which Linker Command File are you using? Examine all lines started with -Z in that file. (3) Let the Linker generate a MAP File and examine what it says. --- In m...@yahoogroups.com, "diosper2" wrote: > > --- In m...@yahoogroups.com, "old_cow_yellow" > wrote: > > > I ta


porting USB drivers to Crossworks

Started by William Sell in MSP4307 years ago 3 replies

OK, so I posted about __no_init and __data16 last week, but now I need to know how to locate variables into an absolute address. The TI CCS has...

OK, so I posted about __no_init and __data16 last week, but now I need to know how to locate variables into an absolute address. The TI CCS has an additional linker file which is used to locate variables for the USB data structures at an absolute address: /************************************************************ * USB linker cmd file ***************************************************...


Help overcome IAR linker error restoring DCO calibration values in INFOA Flash

Started by colin_garlick in MSP43011 years ago 2 replies

Having accidentally erased the calibration values from INFOA Flash. It sounds simple enough, that for simple convenience I'd ideally like to be...

Having accidentally erased the calibration values from INFOA Flash. It sounds simple enough, that for simple convenience I'd ideally like to be able to restore the values I was careful enough to write down (for the ONLY board I'll be using), as a conditional build option. However, there appears to be a linker segment clash, I can't figure out how to avoid. It works links with predicta...


Re: Accessing Memory

Started by old_cow_yellow in MSP43010 years ago

I had no problem accessing memory above 0x10000 in F241x and F261x. I use KickStart and write code in assembly. With only a few exceptions,...

I had no problem accessing memory above 0x10000 in F241x and F261x. I use KickStart and write code in assembly. With only a few exceptions, the assembler works fine. For those few exceptions, I had to write the code in hex instead of mnemonics. The linker works for me too but I had to write a linker command file myself. I use the debugger to download to FLASH. That works too. I also...


IAR compiler problem

Started by kinghogar in MSP43013 years ago 1 reply

Hello, I am using IAR 3.20A evaluation version and when I run linker I get an error: IAR Universal Linker V4.59A/386 Copyright...

Hello, I am using IAR 3.20A evaluation version and when I run linker I get an error: IAR Universal Linker V4.59A/386 Copyright 1987-2004 IAR Systems. All rights reserved. Error[e16]: Segment DATA16_Z (size: 0x14b0 align: 0x1) is too long for segment definition. At least 0xcaf more bytes needed. The problem occurred while processing the segment placement command "-Z(DATA)


Cross-assembler suggestion needed, running on linux host?

Started by david feldman in MSP4308 years ago

Haven't been able to put msp430-gcc toolchain into service successfully yet as a cross-assembler/linker/object converter (not inline assembler -...

Haven't been able to put msp430-gcc toolchain into service successfully yet as a cross-assembler/linker/object converter (not inline assembler - just straight assembly targeting a particular MSP430 device), so looking for alternative (assembler/linker) before continuing effort on msp430-gcc. I don't need support for C cross-compiler, just MSP430 family cross-assembler. Any suggestions? Failing t...


Help needed getting-started with msp430-gcc as an assembler/linker

Started by David Feldman in MSP4308 years ago 2 replies
GCC

I'm struggling to get started with msp430-gcc (on a Ubuntu 9.04 machine) as a cross-assembler/linker with target of msp430. I do not intend to use...

I'm struggling to get started with msp430-gcc (on a Ubuntu 9.04 machine) as a cross-assembler/linker with target of msp430. I do not intend to use an IDE (no eclipse can be used as access to my development system is solely via ssh/telnet), so all is happening at command line. Source code is MSP430 assembly language (my target is MSP430F1232) and expected output from assembly/link is intel hex form...


Pure Assembly Language : Assembler,linker etc.

Started by Madhavjj in MSP43014 years ago

Found an answer to my own problem. I found that the TI_Asm_Guide.zip 467 KB zip file posted on the yahoomsp430 group FILE section is the best...

Found an answer to my own problem. I found that the TI_Asm_Guide.zip 467 KB zip file posted on the yahoomsp430 group FILE section is the best guide for learning usage of pure assembly language assembler and linker. The file is posted there by onestone_apc. Every new user who does not want to use C compiler must use this assembler. IDE for this is provided under name ADT430 by TI. This is


IAR: Fill unused code memory in asm Project

Started by aschuh in MSP4309 years ago

Hello Group, normally i fill the unused code memory with 'nop' or 'jmp $' instructions. At the moment i'm working on an old assembler...

Hello Group, normally i fill the unused code memory with 'nop' or 'jmp $' instructions. At the moment i'm working on an old assembler Project that runs on an F149 with a lot too much flash memory. When i activate the 'fill unused code memory' option the linker doesnt add the nop instructions to the code. After a look into the iar manual i found out that the linker option 'fills all ga...


What's placed in data memory IAR

Started by Martijn Broens in MSP43014 years ago 2 replies
IAR

Hi all, Does anyone know if there's a way to find out in the linker list segment map what all is being placed in the data memory?? The result...

Hi all, Does anyone know if there's a way to find out in the linker list segment map what all is being placed in the data memory?? The result of is: **************************************** * * * SEGMENTS IN ADDRESS ORDER * * *