EmbeddedRelated.com
The 2024 Embedded Online Conference

Okay, now crossworks question

Started by Micah in MSP43018 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


linker overlapping segments

Started by ethernet777 in MSP43011 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 MSP43014 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 MSP43016 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 MSP43018 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 ...


porting USB drivers to Crossworks

Started by William Sell in MSP43013 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 MSP43017 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...


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

Started by David Feldman in MSP43015 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...


BSL Scripter - CRC

Started by gcgplge in MSP43014 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? ------------------------------------


Re: Porting SimpliciTI to Code Composer Essential

Started by dasgnudas in MSP43016 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


IAR linker error

Started by p_murayama in MSP43016 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...


IAR vs CCE

Started by wplagges in MSP43017 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...


IAR: MSP430F21x1 flash erase

Started by reym...@... in MSP43018 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 MSP43017 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...


Xlink Error[e72]

Started by Leon Heller in MSP43021 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


How to preserve INFO block

Started by giorgioel in MSP43014 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 ------------------------------------


New MSP430F471xx programming issues (communication error)

Started by andyrg32 in MSP43015 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...


Profiling with IAR EW

Started by zjeriet in MSP43014 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 MSP43019 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 MSP43020 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



The 2024 Embedded Online Conference