Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
EE Times-Asia > EDA/IP

Microprocessor dev't tool supports multithreading

Posted: 06 Dec 2011 ?? ?Print Version ?Bookmark and Share

Keywords:development tool? microprocessor? multithreading?

IAR Systems has expanded the functionality in its development tool suite for Texas Instruments' MSP430 microprocessors. The new version of IAR Embedded Workbench features position-independent code and read-only data (ROPI) and multithread support.

Most applications are designed to be placed at a fixed position in memory. However, it is sometimes useful to instead decide at runtime where to place the application. When using the added functionality of ROPI, the compiler will generate code that uses PC-relative references for addressing code and read-only data. Even though the linker places the code and read-only data at fixed locations, the application will still be executed correctly when the image is placed at a different address, IAR noted. This is very useful in systems where applications are loaded dynamically. ROPI replaces the previous PIC implementation in IAR Embedded Workbench for MSP430, stated the company.

IAR Embedded Workbench

IAR's Embedded Workbench for TI's MSP430 family touts debugging support.

The addition of support for multithreading in the runtime library allows for multiple threads to exist in the same process and be executed in parallel. For many applications, thread-safety can be a critical factor. To achieve a thread-safe, multithreaded environment, all shared objects including the standard library objects must be treated according to whether they are global or local to a thread. To be able to protect the data from being overwritten by other threads, the runtime library the development tool provides an interface that makes it possible for RTOS vendors, as well as other scheduling applications, to implement locking mechanisms and thereby achieve a truly thread-safe environment.

The new version of IAR Embedded Workbench for MSP430 also adds support for the version 3 of the MSP debug stack msp430.dll.

Article Comments - Microprocessor dev't tool supports m...
*? You can enter [0] more charecters.
*Verify code:


Visit Asia Webinars to learn about the latest in technology and get practical design tips.

Back to Top