
System LSI Division, Semiconductor Business
Property of Samsung Electronics Co., Ltd. 11
4.5.3.1 Default project (when no option change)
When CalmSHINE16Plus V1.xx IDE create project, it use default Device files like startup file(\SFiles) and
Devicename.dvm(\Include\mon) file and Devicename.md(\ldscripts) for Device dependent information. When
building old project, It occurs linker error because V2.0 IDE expects to find out the linker description (Memory
Description - md) file from default directory (\Device\md).
When you want to success to build and debug your V1.xx project in V2.0,
Please copy the device dependent files from old V1.xx IDE directories to V2.0 IDE directories
Then select your device in Project Option page and Rebuild all.
- CSP\include\mon\Devicename.mon -> CSPv2\Device\mon\Devicename.mon
- CSP\include\mon\Devicename.dvm -> CSPv2\Device\dvm\Devicename.dvm
- CSP\ldscripts\Devicename.md -> CSPv2\Device\md\Devicename.md
- CSP\Sfile\Cstartupsdk_Devicename.asm -> CSPv2\Startup\Target\Cstartupsdk_Devicename.asm
****note) You can get the device file package from regional FAE for selection device in setting of project option or
project creation. This pack helps you to automatically allocate device files officially published.
4.5.3.2 Recommended way to create project
The user can set their own device dependent files position by changing options using relative path compared to
Project file location.
- Project\Linker tab\Advanced category\Memory Description File(MD file)
4.6 Change of Step Out operation and Step in operation
V2.0x IDE support “Step Out” menu on Disassembly view, and supports C Standard Library built with debug
information.
It make available step out operation in disassembly view some cases, but it influences to decrease speed on
Loading time at “Start Debugging” and can influence Step speed, because SYMBOL Total Count is increased. And
the side effect, when you want to “Step In”, UI can show sometimes the disassembly view if the current line
include library function call. It caused by library built with debug information (default standard library
optimization level is “Minimize Size(Debug)” in Option/Project/Linker/Advanced/Optimization Level of standard
library).
So if you select the other standard library optimized level without debug information, then you can get the old
style “step in”(not into disassembly view when C source Step In).
And for code optimization, some c function use pushreg/popreg(return) library in prolog and epilog,
“ ___szPopSaved, __szPopSavedEx_R11R12_to_R1R0, ___szPopSavedEx, ___szPopAllEx”, When the user wants
to execute the “Step out”, in this case is needed two times of “step out” operation for reaching library
function then execution it. If the user see the “step out” operation make the pc to allocate end line of c
function or disassembly view, then please click “step out” one more time.
In assembly user source, step operation is the same action with disassembly view.
4.7 When using S3CC40D MCU Devices
Please should set “Debugging under low frequency (lower then 2.5MHz) or RWG activation” in Options/Tools
Menu when using latest v1.46 - C1600 emulator.
And 40D user should set “Extend Segment address record(HEX86)” in Utils Menu. It support “intelhexutil.exe”
post build command for 40D user at first one time.(MCU customer requirement). If you don’t need this post build
command, please remove this command line from post build project option.
S3CC40D user need to do 3.3.3 when using existed CalmSHINE16Plus project and additionally work to do for
Environment migration. (Device vendor need to prepare below device file package for user convenience)
Comentarios a estos manuales