Release Note: CalmSHINE16Plus V1.14 Release History Title Keywords Abstract Release Note: CalmSHINE16Plus V1.14 Release History CalmSHINE16Plus This document is the release note of CalmSHINE16Plus V1.14 System LSI Division, Semiconductor Business Copyright © 2008 Samsung Electronics Co, Ltd. All Rights Reserved. Though every care has been taken to ensure the accuracy of this document, Samsung Electronics Co, Ltd. cannot accept responsibility for any errors or omissions or for any loss occasioned to any person, whether legal or natural, from acting, or refraining from action, as a result of the information contained herein. Information in this document is subject to change at any time without obligation to notify any person of such changes. Samsung Electronics Co, Ltd. may have patents or patent pending applications, trademarks copyrights or other intellectual property rights covering subject matter in this document. The furnishing of this document does not give the recipient or reader any license to these patents, trademarks copyrights or other intellectual property rights. No part of this document may be communicated, distributed, reproduced or transmitted in any form or by any means, electronic, mechanical, or otherwise, for any purpose, without the prior written permission of Samsung Electronics Co, Ltd. The document is subject to revision without further notice. All brand names and product names mentioned in this document are trademarks or registered trademarks of their respective owners. Contact Address :: Samsung Electronics Co., Ltd. San#24 Nongseo-Ri, Giheung_Eup, Yongin_City, Gyeonggi-do, Korea 449-711 Tel: (82)-(031)-209-3199 Fax: (82)-(031)-209-3197 Home Page: http://www.samsungsemi.com Contact us : [email protected] [email protected] [email protected] Embedded S/W Center., SOC R&D Center, System LSI Division, Semiconductor Business Samsung Electronics Co., Ltd. II Property of Samsung Electronics Co., Ltd. System LSI Division, Semiconductor Business Revision History Date Sep, 18 2008 Version 1.0 Author Jieun You Dec, 22 2008 1.14 Yongjoo Kwon Approver Amendment Create document for CalmSHINE16Plus V1.13 package Create document for CalmSHINE16Plus V1.14 package Property of Samsung Electronics Co., Ltd. III System LSI Division, Semiconductor Business Contents 1 2 3 How to get V1.14 Install Package .............................................................................................. 1 Release History V1.14 ........................................................................................................... 1 Matters that Require Attention ................................................................................................. 2 3.1 Features of the CalmSHINE16Plus......................................................................................... 2 3.2 Device Files and C Startup and Memory Description File. ............................................................ 2 3.3 Known Problem .............................................................................................................. 2 3.4 Issues .......................................................................................................................... 2 4 Revision History ................................................................................................................... 2 4.1 GUI – CalmSHINE16Plus ..................................................................................................... 2 4.2 Language tools ............................................................................................................... 3 4.2.1 Compiler – UCC.exe.................................................................................................... 3 4.2.2 Assembler – CalmSDKAs.exe .......................................................................................... 5 4.2.3 Linker – CalmSDKLd.exe............................................................................................... 5 4.2.4 Librarian – CalmSDKAr.exe ........................................................................................... 6 4.2.5 Library ................................................................................................................... 6 IV Property of Samsung Electronics Co., Ltd. System LSI Division, Semiconductor Business 1 How to get V1.14 Install Package http://www.samsung.com/CalmSDK You can download CalmSHINE16Plus_V1_14 2 Release History V1.14 Each tool version according to Packages Tool Package Ver. GUI& Debugger Compiler Assembler Linker Librarian Library V 1.11 2008.03.21 1.56e+b V1.02b V1.00n V1.00y V1.00a V 1.12 2008.05.16 1.56f+a V1.02d V1.00n V1.00y V1.00a Property of Samsung Electronics Co., Ltd. V 1.13 2008.09.19 1.56 g+a V1.02k V1.00q V1.01b V1.00a V1.02k V 1.14 2008.12.22 1.56 h+a V1.02s V1.00u V1.01c V1.00d V1.02s 1 System LSI Division, Semiconductor Business 3 Matters that Require Attention 3.1 Features of the CalmSHINE16Plus - More Optimized Code Size More Flexible Memory Description Support ELF Format Support DWARF2 Debugging 3.2 Device Files and C Startup and Memory Description File. - The User should copy some of the “\include\mon\*.*” (.mon, .dvm ) on the CalmSHINE16 TO “\include\mon\” directory on the CalmSHINE16Plus. If the user does not have experience to use CalmSHINE16 tool chain, if You don’t have the Device files what you want to use , then Please request the Device File sets to the Device Vendor. Of course if the user want to set the User Define directory for DVM or MD file, you can use the Project Option Page. Please refer the way how in the CalmSHINE16Plus_PortingGuide_IDE.pdf. - Device Vendor should support the Device files(.mon, .dvm) and cstartup file, md file. - Default CStartup File Should be allocated on the “\sFile” directory - Default MD file Should be allocated on the “\ldscripts” directory - If you need device specific files, please contact to regional FAE. 3.3 Known Problem 3.4 Issues -. You can classify the CalmSHINE16Plus with existed CalmSHINE16 by the Program Title. It shows the “CalmSHINE16Plus for CalmRISC-16” string. Or you can check this inform in the Tool info(Help menu/About CalmSHINE16) 4 Revision History 4.1 GUI – CalmSHINE16Plus Version 2 Released date V1.56h+a Dec 22 2008 V1.56g+a Sep 19 2008 V1.56f+a May 16 2008 V1.56e+b Mar 21 2008 Comments [FIX] Bug fix for breakpoint icon. [FIX] Bug fix for register modifying value in register view. [FIX] C3200 firmware update. [FIX] Bug fix for Find in files error [FIX] Bug fix for Trace view [FIX] Multiple Section debugging [FIX] Breakpoint save in DPJ Project. [NEW] Disassembly scroll up support. [FIX] Section debugging Property of Samsung Electronics Co., Ltd. System LSI Division, Semiconductor Business V 1.56e+a Jan 11 2008 V 1.56d+e Oct 30 2007 V1.56d+d Feb 6 2007 V1.56d+c Mon 20 2006 V1.56d+b Sep 11 2006 V1.56d+a Aug 14 2006 V1.56d Jul 31 2006 [NEW] debugging support at SWI, return lib [NEW] DVM File memory check. [NEW] Flash memory erasing check option add. [NEW] Multiple data download [FIX] Load from file Error [FIX] flash download error in case of “RO” area. [FIX] library optimization option remove in LPJ project. [FIX] Bug fix dependency check problem when one file is compiled. [FIX] Bug fix Flash download error [FIX] Bug fix Watch variable problem about register pair.. [FIX] Bug fix Object file Building Error. [FIX] Bug fix Flash download error [FIX] Bug fix Register value and Watch variable view aren’t equal.. [NEW] Call Stack view supported [FIX]automatically add C startup file when the user select the Option Page [FIX]automatically delete .i file when making header dependency [FIX]fix code keyword pointer variable bug [FIX]add browse button on Project Option page [FIX]remove mem file dependency [NEW]Hot key for Debug/Code Download(Ctrl+Q) & Debug/Data Download(Ctrl+R) [FIX]Bug fix for Assembly File Step in [FIX]Bug fix for Disassembly view of Assembly Source File This IDE support the DWARF2 Debugging Information and New language set build process. The CalmSHINE16Plus Base is the CalmSHINE16 1.56d. 4.2 Language tools 4.2.1 Compiler – UCC.exe Version V1.02s Released date Dec 22 2008 V1.02r Dec 08 2008 V1.02p Nov 11 2008 Comments [FIX] Fixed bug of incorrect code generation of (char & 0xff) operation. [NEW] --copmc option for using LDC for constant objects was added [FIX] Fixed several performance problems with memory allocation in variables allocator. [FIX] Bug fixing of DWARF information for function at user section (by “#pragma section”) [FIX] Fixed calculation of the value ranges for right shift operation of the unsigned values. [FIX] Fixed bad common sub-expression elimination with new address optimization enabled . [FIX] Bug fixing in memory id flag for aggregate initializer/ [NEW] Usage eeprom section for aggregate =nitializer under pragma section with 'E' attribute [NEW] Added pragma inlinefactoronce for =ontrolling the Zj option behavior. Property of Samsung Electronics Co., Ltd. 3 System LSI Division, Semiconductor Business 4 V1.02o Oct 30 2008 [FIX] Fixed bug with infinite loops in forward stores optimization. [FIX] Disabled optimization of volatile variables by forward stores optimization [FIX] CSE fix for better elimination of dereferences expressions. [FIX] Fixed elimination of dereferences in CSE. [FIX] Bug with usage typedef name and ext-specifier for function return type creation [NEW] Supporting macro-replacing inside built-in asm. #define NUM 0x33 __asm { LD R0, #NUM; } [FIX] Bug fixing of AO with --copm option V1.02n Oct 22 2008 V1.02m Oct 20 2008 V1.02l Sep 25 2008 [FIX] Bug fixing and supporting of .bss section (.lcomm instruction). Bug appears in case of -copm option [FIX] Bug fixing in type check of common and extension types [FIX] Fixed bug in alias analysis of statically=initialized constant pointers. V1.02k Sep 17 2008 [FIX] string access bug fix for —copm option V1.02j Sep 5 2008 [FIX] Address optimization bug fix for --copm option V1.02i July 29 2008 V1.02h Internal V1.02g July 14 2008 V1.02f July 3 2008 V1.02e June 20 2008 V1.02d May16 2008 V1.02c V1.02b Apr 30 2008 Feb 27 2008 V1.02a Feb 4 2008 V1.02 Dec 5 2007 V1.01b Nov 28 2007 [FIX] Fixed bug with allocation of non-equal variables to the same register(union type member) [FIX] Fixed crashing under –copm option. [NEW] Warning generation for constant truncation [FIX] Fixed bug with –stat option and ‘(‘ symbol [NEW] added –copm option for locating const object to PM. [FIX] fixed instruction-scheduling bug. [FIX] Fixed bug with char type bit field and int type together as the member of structure [FIX] If constant expression of the pointer type is more than pointer type can keep the constant will be truncated (no maximum) [FIX] Fixed crash with --stat key if some array is declared by macros . [FIX] Fixed bug with passing generic structure as a parameter. [FIX] Fixed bug in elimination of the expressions that contain dereferences of pointers. [NEW] Changed searching "include" directory mechanism further to your request, added --noenv option to deny CALM_INCLUDE environment variable using [FIX] Fixed a bug with composition of already composed expressions, which caused incorrect computation order. [FIX] Alias analysis fix for volatile variables. [FIX] Fixed bug with allocation of parameters and stack variables [NEW] enhanced address optimization for control area. [FIX] bug "no error if different section of declaration and definition of the variables (except integer)". [FIX] unsigned long comparison operation. [NEW] Added error message for symbol re-declaration with a different align factor. [FIX] Bug with warning and error generation. [NEW] option for disable special warning added [NEW] Forward stores optimization enhanced [NEW] Low-level value range optimization enhanced [FIX] Bug with packed structure. [FIX] Debug info regarding function epilog bug [NEW] Value Range optimization added [NEW] Constant propagation optimization enhanced [NEW] Common Sub Expression optimization enhanced [FIX] Bug with packed structure. Property of Samsung Electronics Co., Ltd. System LSI Division, Semiconductor Business V1.01a Nov 13 2007 V1.01 Oct 29 2007 V1.00v Oct 3 2007 [FIX] Bug with packed structure. [FIX] Bug with Algebraic Simplification optimization [NEW] Alias by Type optimization added [NEW] High Level Combining optimization added [NEW] Enhancement of Conditional Expressions Simplification optimization added [NEW] Algebraic Simplification optimization added [FIX] Bug with PSM feature. 4.2.2 Assembler – CalmSDKAs.exe Version Released date V1.00u Dec 16 2008 V1.00t V1.00s V1.00r Dec 2 2008 Dec 1 2008 Nov 4 2008 V1.00q Sep 16 2008 V1.00p Jun 20 2008 V1.00o V1.00n V1.00m V1.00l V1.00k Jun 20 2008 Mar 19 2008 Feb 23 2008 Jan 9 2008 Dec 5 2007 V1.00j Sep 20 2007 Comments [NEW] C style pre-processing directives supported (#define #include etc.) [NEW] Option --full-path implemented [NEW] “fatal error” tag not printed in XML file [FIX] Parsing immediate operands with # fixed. [NEW] Logical operators && || supported in .ifdef .ifndef [NEW] Instruction SUB Rn, #_xyz supported with ADD Rn,#-(_xyz). The 16bit immediate value –(_xyz) is calculated at link time. [NEW] Option --no-relax removed. [NEW] Section attribute ‘N’ supported. Sections with ‘N’ attribute are not optimized at link time. [NEW] Extra debug information added for GDB. [NEW] Error checking added for non-absolute expression in some directives. [NEW] Debug information for profiling generated in the output file. [FIX] Priorities set for ‘>’ ‘<’ operators in conditional statements. [NEW] KEEP attribute supported in old CalmSHINE16 assembly syntax. [FIX] Higher 16bit value of the constant operand taken when ‘<’ operator is applied. 4.2.3 Linker – CalmSDKLd.exe Version Released date V1.01c Dec 18 2008 V1.01b Sep 16 2008 V1.01a Sep 4 2008 V1.01 Aug 22 2008 V1.00z Aug 7 2008 V1.00y Mar 18 2008 V1.00x V1.00w Feb 11 2008 Jan 15 2008 V1.00v Dec 17 2007 V1.00u Dec 5 2007 Comments [NEW] Option --full-path supported [NEW] Short summary printed on screen [NEW] Instruction SUB Rn, #_xyz supported with ADD Rn,#-(_xyz). The 16bit immediate value –(_xyz) is calculated at link time. [NEW] Sections with 'N' attribute are not optimized. [FIX] When INIT table is not given then the first ILOAD aligned during optimization. [NEW] Warning generated when --auto-init and __INIT_TABLES__ are incompatible. [NEW] New directives #strict_grouping and #skip_abs supported in MD file [NEW] Proper error generated for invalid syntax. [NEW] Debug information for profiling generated in the output file. [NEW] Specific library module selection supported in --whole-archive option [NEW] Option --rec-len <num> supported for user defined record length in Intel/Motorola output files. [NEW] Error handling done after optimization. [NEW] IMG file containing detailed section allocation information generated [NEW] During MAP file linking, duplicate symbols from standard library files are not loaded [NEW] Empty load/exe regions removed Property of Samsung Electronics Co., Ltd. 5 System LSI Division, Semiconductor Business V1.00t V1.00s Oct 31 2007 Oct 24 2007 [NEW] Size library files added for internal garbage collection. [NEW] Symbol |IMAGE$$EPDM$$LIMIT| has been generated. 4.2.4 Librarian – CalmSDKAr.exe Version V1.00d Released date Dec 20 2008 V1.00c Dec 2 2008 V1.00b Nov 4 2008 V1.00a May 21 2007 V1.00 Jul 29 2006 Comments [FIX] Parsing of file names in –n<file> corrected. [NEW] Option --stat=<file> supported to print error/earning messages in XML file [NEW] Option ‘@<file>’ supported to read all options form a file [NEW] Library file supported as one of input files (Only members are read from this file). [NEW] Option –n <list> supported to read member names from a file. 4.2.5 Library Version V1.02s V1.02r V1.02k V1.02b V1.02 V1.00v 6 Released date Dec 23 2008 Dec 9 2008 Sep 16 2008 Mar 20 2008 Dec 5, 2007 Oct 3, 2007 Comments Built with compiler V1.02s and assembler V1.00u Built with compiler V1.02r and assembler V1.00t Built with compiler V1.02k and assembler V1.00q Built with compiler V1.02b and assembler V1.00n Built with compiler V1.02 and assembler V1.00k Built with compiler V1.00v and assembler V1.00j Property of Samsung Electronics Co., Ltd.