02.08.2013 Views

CodeWarrior Development Studio for StarCore DSP v10.2.9

CodeWarrior Development Studio for StarCore DSP v10.2.9

CodeWarrior Development Studio for StarCore DSP v10.2.9

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>CodeWarrior</strong> <strong>Development</strong> <strong>Studio</strong> <strong>for</strong> <strong>StarCore</strong> <strong>DSP</strong> <strong>v10.2.9</strong><br />

Release Notes<br />

<strong>CodeWarrior</strong> <strong>Development</strong> <strong>Studio</strong> <strong>for</strong><br />

<strong>StarCore</strong> <strong>DSP</strong> <strong>v10.2.9</strong><br />

Table of Contents<br />

1 About This Release ................................................................................................. 2<br />

1.1 Version In<strong>for</strong>mation ........................................................................................... 2<br />

2 Getting Help ............................................................................................................. 2<br />

2.1.1 User Forum and FAQ ................................................................................. 2<br />

2.1.2 Contacting Freescale concerning <strong>CodeWarrior</strong> <strong>Development</strong> Tools ........... 2<br />

3 New in this Release ................................................................................................. 3<br />

4 PSC9131 RDB board configuration ........................................................................ 4<br />

5 System Requirements ............................................................................................. 4<br />

6 Who Should Use this Release? .............................................................................. 4<br />

7 Who Should NOT Use this Release? ...................................................................... 5<br />

8 Errata – Known Issues <strong>for</strong> this Release ................................................................. 5<br />

9 Errata – Fixed in this release .................................................................................. 8<br />

1


<strong>CodeWarrior</strong> <strong>Development</strong> <strong>Studio</strong> <strong>for</strong> <strong>StarCore</strong> <strong>DSP</strong> <strong>v10.2.9</strong><br />

1 About This Release<br />

The 10.2.9 release of <strong>CodeWarrior</strong> <strong>for</strong> <strong>StarCore</strong> <strong>Development</strong> tools introduces preliminary<br />

support <strong>for</strong> PSC9132. The preliminary support means the product was designed <strong>for</strong> PSC9132 but<br />

lightly tested. With this release we provide an updated Build Tools component, with an updated<br />

Linker release.<br />

1.1 Version In<strong>for</strong>mation<br />

This release note provides important in<strong>for</strong>mation <strong>for</strong> users of <strong>CodeWarrior</strong> <strong>Development</strong> <strong>Studio</strong><br />

<strong>for</strong> <strong>StarCore</strong> <strong>DSP</strong> <strong>v10.2.9</strong>. This product continues to support MSC815x family and PSC9131, and<br />

introduces PSC9132. The support <strong>for</strong> PSC9132 is preliminary, lightly testing was per<strong>for</strong>med. You<br />

are encouraged to read this document to become familiar with this release’s supported targets,<br />

errata with workarounds, and other useful in<strong>for</strong>mation.<br />

2 Getting Help<br />

2.1.1 User Forum and FAQ<br />

After looking through these release notes, and the documentation that comes with the installation<br />

of <strong>CodeWarrior</strong>, the next best place to look <strong>for</strong> answers to your questions is the online user<br />

<strong>for</strong>ums located at<br />

http://<strong>for</strong>ums.freescale.com<br />

Please see the:<br />

• <strong>CodeWarrior</strong> <strong>for</strong> <strong>StarCore</strong> <strong>DSP</strong>s <strong>for</strong>um <strong>for</strong> issues related to <strong>CodeWarrior</strong><br />

development tools. The Frequently Asked Questions about <strong>CodeWarrior</strong> <strong>for</strong><br />

<strong>StarCore</strong> <strong>DSP</strong> are posted here.<br />

• <strong>StarCore</strong> <strong>DSP</strong>s <strong>for</strong>um <strong>for</strong> issues related to the silicon and hardware plat<strong>for</strong>ms.<br />

The <strong>for</strong>ums provide a great way to learn by seeing the questions and answers posted by<br />

other users. Of course, you can post your own questions and responses as well.<br />

2.1.2 Contacting Freescale concerning <strong>CodeWarrior</strong> <strong>Development</strong><br />

Tools<br />

Finally, if you still have questions not addressed in the release notes, or want to provide feedback,<br />

please use the Freescale online support web page. To use this page, follow these steps:<br />

1. In a web browser, go to http://www.freescale.com/TechSupport.<br />

Freescale’s Technical Support web page appears.<br />

2. On this page, click the Create service request online link.<br />

The New Service Request — Category/Topic page appears.<br />

3. From the Category dropdown menu, select Technical Request.<br />

4. From the Topic dropdown menu, select <strong>CodeWarrior</strong> (or other appropriate topic).<br />

5. Click Next.<br />

2


<strong>CodeWarrior</strong> <strong>Development</strong> <strong>Studio</strong> <strong>for</strong> <strong>StarCore</strong> <strong>DSP</strong> <strong>v10.2.9</strong><br />

The New Service Request — SR Details page appears.<br />

6. In this page, enter the requested in<strong>for</strong>mation.<br />

At a minimum, enter in<strong>for</strong>mation in each field marked by an *.<br />

7. Click Submit.<br />

If you are already logged in, the Service Request Confirmation page appears. Go to<br />

the last step.<br />

If you are not already logged in, the Log-in page appears.<br />

8. If you are a registered member, login with your user name and password.<br />

The Service Request Confirmation page appears. Go to the last step.<br />

9. If you have not yet registered,<br />

a. If you want to become registered member, click Register Now and complete the<br />

registration process.<br />

The Service Request Confirmation page appears.<br />

b. If you do not want to register, supply your contact in<strong>for</strong>mation in the I do not want<br />

to register - Provide contact in<strong>for</strong>mation <strong>for</strong>m and click Submit.<br />

The Service Request Confirmation page appears.<br />

10. Click Done.<br />

Your service request is submitted.<br />

3 New in this Release<br />

Product Level Features<br />

• Preliminary support <strong>for</strong> PSC9132<br />

• Updated Build Tools<br />

Build Tools<br />

• <strong>StarCore</strong> compiler v23.11.6.38<br />

Debugger<br />

• DE 7.17.11010 + <strong>StarCore</strong> plugins 10.17.842<br />

• Support <strong>for</strong> PSC9132<br />

PSC 9132 verified features<br />

• Basic single-core run control – reset, run, stop, step, attach, kill<br />

• Multi-core run control (see note below)<br />

• Software and hardware breakpoints<br />

• Access to memory and registers<br />

• Integration of the latest 9132 XML register drop from PEx team<br />

• Board configuration file including DDR initialization<br />

• Disassembly view.<br />

• Symbolic debugging.<br />

• Standard File I/O.<br />

PSC 9132 known issues<br />

- Register displays <strong>for</strong> TDM, ACU, PEX, TSEC, DDR1 and possibly other groups<br />

are known to have incorrect data.<br />

3


<strong>CodeWarrior</strong> <strong>Development</strong> <strong>Studio</strong> <strong>for</strong> <strong>StarCore</strong> <strong>DSP</strong> <strong>v10.2.9</strong><br />

Workaround: Use a memory rendering at the base address documented in the<br />

specs.<br />

4 PSC9131 RDB board configuration<br />

The PSC9131 RDB board has dedicated switches controlling whether the <strong>StarCore</strong> and Power<br />

Architecture cores are exposed as separate JTAG chains, or through a single unified chain.<br />

<strong>CodeWarrior</strong> provides separate configuration sets <strong>for</strong> SC only versus SC+PA chains. Matching<br />

the configured and actual JTAG chains is essential to ensure connectivity with the plat<strong>for</strong>m.<br />

Full SC+PA JTAG chain mode requirements:<br />

- Configure on-board dipswitch SW6[3:4] = OFF/OFF (CFG_JTAG_MODE_0:1 = 00). This<br />

is the factory default <strong>for</strong> the RDB board.<br />

- Use a single UTAP unit with COP header<br />

- Use the PSC9131 RSE system<br />

Single TAP mode through primary JTAG header:<br />

- Configure SW6[3:4] = OFF / ON. Power core is inaccessible.<br />

- Use a single UTAP unit with COP header<br />

- Use the PSC9131_SC RSE system<br />

Single TAP mode through secondary JTAG header:<br />

- Configure SW6[3:4] = ON / ON<br />

- Use a single UTAP unit with ONCE header <strong>for</strong> SC connectivity, and the secondary JTAG.<br />

Additional access to Power core requires a separate UTAP unit with COP header.<br />

- Use the PSC9131_SC RSE system<br />

In addition, the state of Reset and Execute Initialization File options must be adjusted in<br />

accordance with application requirements. In particular:<br />

- An environment that does not require the PA core to be operational should have Reset,<br />

and have the supplied SC-side debugger initialization file enabled.<br />

- An environment that assumes system initialization is done by PA should have Reset and<br />

Execute Initialization File turned off from SC side.<br />

5 System Requirements<br />

Recommended Configuration<br />

- 3GHz Intel® Pentium® P4 processor or better. Dual-core processor preferable.<br />

- Microsoft® Windows XP, Windows Vista, Windows 7<br />

- 2GB RAM (Experience on machines with 1GB RAM is significantly reduced)<br />

- 2.3 GB free disk space<br />

Note: 500MB of free space is required on the OS drive, regardless of the free space available<br />

on the destination drive.<br />

6 Who Should Use this Release?<br />

- Users developing <strong>for</strong> the G1110, PSC9131, MSC8157, MSC8156, MSC8154, MSC8152,<br />

MSC8151, MSC8256, MSC8254, MSC8252 and MSC8251 devices<br />

- Developers seeking better per<strong>for</strong>mance from code not previously hand-optimized or<br />

developers willing to tune their code <strong>for</strong> per<strong>for</strong>mance.<br />

4


<strong>CodeWarrior</strong> <strong>Development</strong> <strong>Studio</strong> <strong>for</strong> <strong>StarCore</strong> <strong>DSP</strong> <strong>v10.2.9</strong><br />

7 Who Should NOT Use this Release?<br />

- Users developing <strong>for</strong> <strong>StarCore</strong> MSC8144, MSC8122/26, MSC8113/12, MSC8101/3, or<br />

MSC711x <strong>DSP</strong>s.<br />

8 Errata – Known Issues <strong>for</strong> this Release<br />

Issue Abstract<br />

IDE<br />

Issue: Problem with <strong>CodeWarrior</strong> generated folders when project directory and<br />

project files are located on a UNIX server<br />

Workaround: Change configuration name and make sure there are only lower<br />

MTWX35467<br />

cases in configuration name.<br />

make sure name from all folders within the project are specified using lower cases<br />

character only<br />

Issue: Include path order not correctly handled by the IDE <strong>for</strong> C++ projects<br />

MTWX36953<br />

Workaround: none<br />

Issue: Problem pane in CW cuts off error message<br />

MTWX37727<br />

Workaround: none<br />

Issue: Build failed when main project has a reference to sub projects, and the<br />

reference is not on the Active configuration <strong>for</strong> the sub-project<br />

MTWX38435<br />

Workaround: in the sub project make sure the referenced configuration is the<br />

active configuration<br />

Issue: RSE conversion dialog is shown every time CW is Opened when the .launch<br />

files are left read-only by Clearcase<br />

Workaround:<br />

Depending on which exact build that you are using, either: Configure the RSE<br />

Merge settings (in the "Remote Systems | Merge" section of the "Preferences"<br />

dialog) so that the setting <strong>for</strong> "Select how to handle differing RSE Systems" isn't set<br />

to "Display a dialog to manually resolve the conflict" anymore.<br />

MTWX46592<br />

MTWX48965<br />

MTWX51518<br />

Or, if this preference panel isn't present, edit the eclipse\cwide.properties file so it<br />

contains the following line:<br />

com.freescale.core.ide.rseSettingsCache/stringDefaultMergeOption=latest<br />

The “latest” setting by one of the following:<br />

prompt, latest, cached, discard, createNew<br />

That match the respective options in the setting.<br />

Issue: Incremental project build does not work<br />

Workaround: none<br />

Issue: Linked resources get broken when the project is RENAMED<br />

Workaround: After renaming a project change the value of the<br />

"copy_PROJECT_LOC" variable to point to the correct location (${PROJECT_LOC}).<br />

5


MTWX51947<br />

MTWX52105<br />

MTWX45024<br />

MTWX45025<br />

MTWX45026<br />

MTWX48902<br />

MTWX47875<br />

MTWX48065<br />

MTWX22664<br />

MTWX49792<br />

MTWX51205<br />

MTWX51523<br />

MTWX52088<br />

MTWX44090<br />

<strong>CodeWarrior</strong> <strong>Development</strong> <strong>Studio</strong> <strong>for</strong> <strong>StarCore</strong> <strong>DSP</strong> <strong>v10.2.9</strong><br />

Issue: Workspace becomes corrupted somehow and CW will no longer be able to<br />

use it.<br />

Workaround:<br />

delete {workspace}/.metadata/.plugins/org.eclipse.core.resources/.snap file<br />

This issue seems to occur when the workspace is moved to a different location in<br />

the file system or on another computer, or shared between users either through<br />

the network or through a source control repository.<br />

To avoid this issue, only use an eclipse workspace in a single location <strong>for</strong> a single<br />

user on a local machine only.<br />

Issue: Specifying a batch file name in pre-build steps <strong>for</strong>ces a full rebuild of the<br />

application.<br />

Workaround: none<br />

Software Analysis<br />

Issue: Cannot take VTB trace two times in a row without restarting CW<br />

Workaround: None<br />

Issue: Obtaining trace in overwrite mode requires terminating the session.<br />

Workaround: None<br />

Issue: CW gives false and unreliable profiling result<br />

Workaround: None<br />

Issue: Analysis plugins call File.exists() too often.<br />

Workaround: None<br />

Simulator<br />

Issue: MMU exception generated when application using huge number of scanf<br />

Workaround: None<br />

Issue: The SW Pfetch per<strong>for</strong>mance shown by simulator is wrong<br />

Workaround: None<br />

Debugger<br />

Issue: Registers View resets when stepping or running to BP<br />

Workaround:<br />

1) Create a new registers group and add the registers of interest to this group.<br />

Remove the other groups.<br />

2) Add the registers of interest to the expressions view (remember to put a $ be<strong>for</strong>e<br />

the register name when adding the expression)<br />

Issue: Register read causing CCS protocol error<br />

Workaround: Use CCS to read registers directly<br />

Issue: CW 10.2.5 crashes during development work<br />

Workaround: none<br />

Issue: Download per<strong>for</strong>mance degrades significantly on subsequent download<br />

attempts after first<br />

Workaround: merge the attached TCL script with debugger initialization file<br />

Issue: When two ISS <strong>for</strong> msc8156 are running, usually some IDE crash will happen.<br />

Workaround: none<br />

Build tools<br />

Issue: Illegal data spill in address register<br />

Workaround: Please try "-Xicode --codegen_simplify_oper" or "-Xicode --<br />

6


MTWX44371<br />

MTWX45859<br />

MTWX46146<br />

MTWX46148<br />

MTWX46361<br />

MTWX46492<br />

MTWX47332<br />

MTWX47369<br />

MTWX47767<br />

MTWX47920<br />

MTWX48126<br />

MTWX48214<br />

MTWX49471<br />

MTWX49989<br />

MTWX49994<br />

MTWX50749<br />

<strong>CodeWarrior</strong> <strong>Development</strong> <strong>Studio</strong> <strong>for</strong> <strong>StarCore</strong> <strong>DSP</strong> <strong>v10.2.9</strong><br />

codegen_no_lookahead". On the sl file it looks like either one of then solves the<br />

problem.<br />

Issue: Switch_To_Rom=TRUE generated jump-to table is not<br />

suitable <strong>for</strong> multi-core<br />

Workaround: Do NOT use Switch_To_Rom=TRUE<br />

Issue: Per<strong>for</strong>mance degradation when -FsO0 is removed from scc<br />

shell<br />

Workaround: none<br />

Issue: function gets stuck with -O3<br />

Workaround:<br />

Workaround #1: disable first scheduling step -Xllt -s0<br />

Workaround #2:<br />

Change the type of the parameters of asm function FAST_D_FLE from DOUBLE to<br />

INT64 + when the FAST_D_FLE is called add a Db_to_LL conversion <strong>for</strong> each<br />

argument.<br />

Issue: function executes redundant FAST_D_FLE<br />

Workaround: None<br />

Issue: Problem with paralell compilation<br />

Workaround: Restart project build<br />

Issue: 20% per<strong>for</strong>mance degradation in LTE-PRACH function<br />

when running with CW10.1.11 compared with CW10.1.8<br />

Workaround: Add "-Xcfe -fl=fscastopts" to the compiler<br />

command.<br />

Issue: EDMGMSK_LowTriInv_SC3850C fails with -O0 but passes<br />

with -O3<br />

Workaround: None<br />

Issue: Icode internal error on function<br />

Workaround: None<br />

Issue: Cannot generate code based on MACRO from command<br />

line with newer linux compilers<br />

Workaround: None<br />

Issue: Compilation time is too long<br />

Workaround: None<br />

Issue: HwdrvGetGainOffset works abnormal when O3 is used<br />

Workaround: Add "-e0 -ee0" to the LLT options<br />

Issue: Profiler module ver 1.1.09 <strong>for</strong> simulator outputs wrong<br />

statistics<br />

Workaround: None<br />

Issue: Generated asm code in a loop is not optimal <strong>for</strong> -O3<br />

Workaround: none<br />

Issue: In the muReadThread() function not getting the right value<br />

<strong>for</strong> "data" by call macro "muGetRxMessage".<br />

Workaround: none<br />

Issue: ICODE runs out of memory<br />

Workaround: none<br />

Issue: FATAL ERROR: Internal compiler error 11.. Aborting...<br />

Workaround:<br />

7


MTWX50938<br />

MTWX51357<br />

MTWX51474<br />

MTWX51805<br />

MTWX51858<br />

MTWX52188<br />

<strong>CodeWarrior</strong> <strong>Development</strong> <strong>Studio</strong> <strong>for</strong> <strong>StarCore</strong> <strong>DSP</strong> <strong>v10.2.9</strong><br />

Remove #pragma align dio_chunk 0x10000000 and replace with<br />

struct dio_mem_area dio_chunk<br />

__attribute__((section("dio_chunk_seg"))) ;<br />

This way the variable is in a separate section which can be<br />

aligned from the linker command file to any desired value.<br />

Issue: Per<strong>for</strong>mance degradation after "unroll & jam"<br />

Workaround: none<br />

Issue: Under Windows 7, sc3000-ld exit without throwing out any<br />

error message in console.<br />

Workaround: Run linker in Windows XP compatibility mode.<br />

Issue: Output error with O3 optimization<br />

Workaround: none<br />

Issue: ICODE crash when tries to per<strong>for</strong>m modulo addressing<br />

Workaround: don't use #pragma safe_mod <strong>for</strong> the 2 loops.<br />

Issue: The file test_maple_ftpe.c in<br />

SC\<strong>StarCore</strong>_Support\Smart<strong>DSP</strong>\demos\starcore\msc815x\mapl<br />

eb2_ftpe can't pass building when optimization level>=1<br />

Workaround: use -Xicode --achieve_induction=FALSE<br />

Issue: Virtual and physical address mismatch although map11<br />

exists<br />

Workaround: none<br />

9 Errata – Fixed in this release<br />

Issue Abstract<br />

Build tools<br />

MTWX52753 Issue: <strong>DSP</strong> Image size much too large<br />

8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!