Re: Porting SimpliciTI to Code Composer Essential

Started by dasgnudas in MSP43012 years ago 1 reply
IAR

Hello MSP430 Developers, are there any new issues regarding this topic? I tried to change and run the example code available for IAR to...

Hello MSP430 Developers, are there any new issues regarding this topic? I tried to change and run the example code available for IAR to CCE, but except a bunch of linker errors and unreferenced identifiers nothing worked out... Can someone help me/us out or provide further informations? Best regrads, Mitch --- In m...@yahoogroups.com, Meuse Nogueira wrote: > > Dea


Re: Crossworks: code checksum section

Started by Matthias Weingart in MSP43012 years ago 1 reply

"Paul Curtis" : > This won't work in V1.4. There is a fix out, I believe, in the > latest version. In V2 these will be 4-byte...

"Paul Curtis" : > This won't work in V1.4. There is a fix out, I believe, in the > latest version. In V2 these will be 4-byte entities. Thanks Paul, so well, I can stop posting more bugs I found in the meantime. ;) > The checksum feature will be taken out of the linker in V2 and put > into a separate application which calculates checksums for you... This was th


more on linker/load map

Started by Jim_Strieter/Rockwell_Automation_Strieter/CONTRACT/NorthAmerica/RA/Rockwell in MSP43015 years ago

Okay. One more thing I just noticed is that variables also change to the same value in groups. For instance, if I single step through the...

Okay. One more thing I just noticed is that variables also change to the same value in groups. For instance, if I single step through the program, then without modifying the variales T1, T2, T3,...T7, T1, T2, T3, T4, and T5 will all jump to the same unpredictable value, and T6 and T7 will jump to their own unpredictable value. Single stepping repeatedly shows the same goofy result over an


Resources: MSP430

Started by Yoshi17Boy in MSP43015 years ago 1 reply

Hey Looking for info on the Texas Instrument Instruction Set (Assembly), describing opcodes and operands, any info on C library for MSP430...

Hey Looking for info on the Texas Instrument Instruction Set (Assembly), describing opcodes and operands, any info on C library for MSP430 would be great and recommendations on compiler/linker/assemblers. I taking a look into the IAR kickstart. Thanks Todd


moving functions to FAR region in mspgcc4

Started by miha...@yahoo.com in MSP4309 years ago 2 replies

Dear all, I have been searching for a couple of days now how to force a function to be located in the FAR region of a MSP430f5438. I have an...

Dear all, I have been searching for a couple of days now how to force a function to be located in the FAR region of a MSP430f5438. I have an application that is too large to fit in bank 0, so it overflows into the interrupt vector table. I want to put some of its functions in bank1 (flash addresses 64KiloBytes). From what I have gathered, I need to somehow infor the linker of this, by p...


Re: Function Allocation at run-time

Started by franciscocantero1 in MSP43012 years ago

--- In m...@yahoogroups.com, Ray Hurst wrote: > > Looking at your code here I see two issues. > > 1. MPS430 code is not relocatable....

--- In m...@yahoogroups.com, Ray Hurst wrote: > > Looking at your code here I see two issues. > > 1. MPS430 code is not relocatable. You have some hard-coded addresses in > the call routines which are interpreted differently depending on what > symbol table is loaded. > > 2. The routine loaded is calling other functions. Unless you have a very > controlled linker map


IAR Compiler options

Started by Anonymous in MSP43015 years ago 16 replies

I have cumulated all my variable used in a single variables.h files Is there a switch in IAR compiler that will alow me to use this .h file in...

I have cumulated all my variable used in a single variables.h files Is there a switch in IAR compiler that will alow me to use this .h file in two diferent files or I really have to redeclare all as externals ? Althdough I undestand the need of type declarations for the compiler iI always felt that this is a overblow for it. This job could be done at the linker level as there is where the


IAR linker error

Started by p_murayama in MSP43012 years ago 2 replies

Hello! I am using a F2254 with a standard TI board. I have created a new workspace and project, and set up the project options (Device =...

Hello! I am using a F2254 with a standard TI board. I have created a new workspace and project, and set up the project options (Device = F2254, FET debugger and so on). I am trying to run a simple program (i have chosen an interrupt based LED blinker, msp430x22x4_ta_01 from slac122 (may be wrong on this number, but it is the IAR version anyway). It compiles at once, but I get the followi...


Flash Monitor

Started by remacodu in MSP43013 years ago 2 replies

Hello All, This is my first project using TI MSP430 and I'm trying to use a Flash Monitor application to update flash. I'm using the...

Hello All, This is my first project using TI MSP430 and I'm trying to use a Flash Monitor application to update flash. I'm using the application report SLAA341. I set up everything as it's supposed to be (micro controller type, modified the linker, etc.) Everything is working fine with the exception of the `G'o command (execute loaded application). Has anyone used this application...


How to write/read to/from memory in MSP430?

Started by Genevieve in MSP43013 years ago 5 replies

Hi, I'll greatly appreciate if anyone can enlighten me on this. I'm currently working with MSP430 using IAR compiler and interfaced with...

Hi, I'll greatly appreciate if anyone can enlighten me on this. I'm currently working with MSP430 using IAR compiler and interfaced with CC2500. 1) I've been wondering how the program is written into the memory of MSP430? Currently the problem I faced is that I tried to change the IAR Project menu-> Option-> Linker-> Output-> changing the format to Intel-extended. Making sure that the t


IAR vs CCE

Started by wplagges in MSP43013 years ago 20 replies

Hi, this is my first post in this group. I started to work for the first time with MPS430 about two weeks ago. I received some code originally...

Hi, this is my first post in this group. I started to work for the first time with MPS430 about two weeks ago. I received some code originally written for IAR Compiler, and my first task is to make it run by using CCE Compiler. During this migration I have found that, beside all the necessary changes regarding proprocessor directives, intrinsics, memory allocation, compiler/linker opti...


Re: Optimization and INFOB Segment missing.

Started by bb_stefan in MSP43012 years ago 9 replies

Hello Eugenio, I'm not quite sure, if your problem is now solved or not. Only some comments: A construct like #pragma constseg = INFOB will...

Hello Eugenio, I'm not quite sure, if your problem is now solved or not. Only some comments: A construct like #pragma constseg = INFOB will preserve some memory segment (where INFOB or any other name used must be defined in the linker command file .xcl). All variables you define after #pragma... are located in this special segment, but with the compiler having the option to re- arra...


Re: I want a simple compiler!

Started by Paul Curtis in MSP43015 years ago

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

Alex, > 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 > no


IAR: MSP430F21x1 flash erase

Started by reym...@... in MSP43014 years ago 2 replies

Dear all, Once more a problem with IAR's latest environment Setup: MSP430F21x1 / MSP-FET430UIF / IAR EW 3.40A...

Dear all, Once more a problem with IAR's latest environment Setup: MSP430F21x1 / MSP-FET430UIF / IAR EW 3.40A professional Intention: I want to initialize the information flash like this: *.c -> const char xyz[] @ 0x1000 = 1,2,3,4 ; *.txt -> @1000 01 02 03 04 This is just to check, if the compiler and linker did everything as intended, of course I'm not using this file for


Segment Control Directives of ISRs using IAR

Started by "Henderson, Jennifer" in MSP43013 years ago 1 reply

I'm working on a program with the MSP430F417 using IAR. The program has two ISR's - one for a software defined UART using TimerA and the other...

I'm working on a program with the MSP430F417 using IAR. The program has two ISR's - one for a software defined UART using TimerA and the other a RTC using the BT. For both of these programs I used the sample code provided by TI to get me going and they both work fine - individually. The problem I'm having is when you combine the two programs I get a linker error saying " Error[e124]: Segmen...


CCE 2.0 Irksome problems

Started by kitpicker in MSP43013 years ago

Pretty irritating this one ! I'm running CCE 2.0 under Windows 2000. If I open project properties and set the heap size in the linker setup to...

Pretty irritating this one ! I'm running CCE 2.0 under Windows 2000. If I open project properties and set the heap size in the linker setup to something other than the default setting, then every now and then it will revert to the default setting, apparently on its own. Maddening as I'm using the heap for comms buffering and my application keeps failing for lack of memory.


Xlink Error[e72]

Started by Leon Heller in MSP43017 years ago 4 replies

I get this linker error Error[e72]: Segment CODE must be defined in a segment definition option (-Z, -b or -P) when assembling and linking...

I get this linker error Error[e72]: Segment CODE must be defined in a segment definition option (-Z, -b or -P) when assembling and linking this code I've found: ;--------------------------------------------------------------------------- -- RSEG CODE ;--------------------------------------------------------------------------- -- Sine_Tab DW 255


New MSP430F471xx programming issues (communication error)

Started by andyrg32 in MSP43011 years ago 4 replies

Hello all, I have sampled a handful of the new MSP430F471xx chips, and I can't get the first one to program. I am getting tempted to remove the...

Hello all, I have sampled a handful of the new MSP430F471xx chips, and I can't get the first one to program. I am getting tempted to remove the chip and try another from the sample bag.......but what are the odds of pulling a bad chip? I have all of the proper linker files ect. But everytime I try to flash I get "communication error, please connect the device and press retry". I'm stumped...


How to preserve INFO block

Started by giorgioel in MSP43010 years ago 2 replies

I'm programming an MSP430x149 using IAR compiler. I'm not able to avoid the INFO block (0x1000-0x10ff) to be initialized at 0xFF when the...

I'm programming an MSP430x149 using IAR compiler. I'm not able to avoid the INFO block (0x1000-0x10ff) to be initialized at 0xFF when the program is uploaded. Any suggestion? (I removed the fill unused memory option in linker table, I declared a _no_init char array[0xff] @0x1000, no results...) Thank you, Giorgio ------------------------------------


Re: Function Allocation at run-time

Started by franciscocantero1 in MSP43012 years ago

Hello Ray, First of all i want to thank you for expending time with this. > 2. The routine loaded is calling other functions. Unless you...

Hello Ray, First of all i want to thank you for expending time with this. > 2. The routine loaded is calling other functions. Unless you have a very > controlled linker map this function is not going to call the routine you > expected. I notice that for the time that i compile the code to the next the function addresses vary a little. As well the addresses of strings. Are you sugg