Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: Problems when running the EndPoint code in EZ430-RF2500 wireless sensor network demo with CCS 6.1.3

$
0
0
[quote user="Stefan Mu."]I am trying to set up the demo application for the EZ430-RF2500 kit by using CCS 6.1.3.[/quote]The demo application was compiled with the TI v3.3.0 compiler using the legacy COFF format. With the TI v15.12.1.LTS compiler legacy COFF support is no longer supported, which is why you had to use the eabi(ELF) output format. When the ELF output format is used the compiler can generate different section names compared to COFF. When the End Device and Access Point examples were compiled using TI v15.12.1.LTS and the ELF output format the linker produced a "creating output section ".data" without a SECTIONS specification" warning: "../lnk_msp430f2274.cmd", line 81: warning: Linker command file has no sections of type=VECT_INIT, but does contain .intXX sections. This file may be out of date. Generating interrupt pointers for all .intXX sections. The default handler provided in the RTS will be used if no other handler is found. It is recommend that you update your linker command file to the latest version. warning: creating output section ".data" without a SECTIONS specification 'Finished building target: eZ430-RF2500_WSM.out' The "creating output section ".data" without a SECTIONS specification" warning means the linker wasn't told which memory region to place the .data section in, and so picked an arbitrary memory region which was in the peripheral address space and so the program fails at run-time. If the lnk_ msp430f2274 .cmd linker command file in the project is modified to add the following to the SECTIONS then the linker will place the .data section in RAM: .data : {} > RAM /* Global & static vars */ The linker is also reporting a "Linker command file has no sections of type=VECT_INIT, but does contain .intXX sections." warning, which according to http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/MSP430/10424 means user defined interrupt service routines will not be included in the executable out file. i.e. if use the TI v15.12.1.LTS compiler that warning should be resolved. Alternatively, CCS 6.1.3 allows a v4.0.x or 4.1.x compiler to be installed, which allows the legacy COFF output format and should according to the above referenced Wiki page be compatible with the lnk_ msp430f2274 .cmd linker command file in the demo application for the EZ430-RF2500 . See http://processors.wiki.ti.com/index.php/Compiler_Updates#Install_new_features for how to install a v4.0.x or 4.1.x compiler in CCS 6.1.3 which should allow you to build the demo application for the EZ430-RF2500 without modification.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>