Code Composer Essentials V2.0 linker problem

Started by etcrob in MSP43013 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 MSP43013 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 MSP43014 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 MSP43014 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 MSP43016 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 MSP4307 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 MSP43010 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 MSP43012 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...


IAR .sfr files

Started by cmdamour in MSP43014 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 MSP43013 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 MSP4309 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 MSP43013 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 MSP43013 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 MSP43016 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 MSP43011 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 MSP43011 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...


IAR: Fill unused code memory in asm Project

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


linker problem

Started by daveandhustler in MSP43016 years ago 1 reply

hello, i am new to the embedded systems world and have been working with the msp430 for a little less than a month now. my company wants...

hello, i am new to the embedded systems world and have been working with the msp430 for a little less than a month now. my company wants to implement a TCP/IP stack with the chip. i have been able to get the original stack written by andreas to work (well, only sometimes. i can ping the server but have problems bringing up the webpage. i am using firefox 0.9.1. i have to refresh consta


BSL Scripter - CRC

Started by gcgplge in MSP43011 years ago 1 reply

I am using a BSL_Scripter to update the code on a 5438. One of the commands is the CRC_CHECK and the sample script passes the expected CRC. How...

I am using a BSL_Scripter to update the code on a 5438. One of the commands is the CRC_CHECK and the sample script passes the expected CRC. How do you compute the CRC of the code? Or can you find the CRC from the CCE V3.1 linker output? ------------------------------------


MSP430 Information Memeory Segments

Started by uzbee1 in MSP43012 years ago

Does anyone know how to tell CCE (2.0) to not erase the INFO_A and INFO_B segments when doing a debug operation? It would be nice to hold on...

Does anyone know how to tell CCE (2.0) to not erase the INFO_A and INFO_B segments when doing a debug operation? It would be nice to hold on to the constants I have stored there. I tried getting rid of the INFO sections in the Linker command file hoping that the debugger looked at that to determine what to erase. No luck.... ------------------------------------