groupUrl: https://ez.analog.com/dsp/software-and-development-tools/cces/
Analog.com Analog Dialogue Wiki English
Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Site
  • User
  • Site
  • Search
  • User
EngineerZone
EngineerZone
  • Log in
  • Site
  • Search
  • Log in
  • Home
  • Blogs ⌵
  • Browse ⌵
    • All Groups
    • All Members
  • Support ⌵
    • 3D ToF Depth Sensing
    • A2B
    • Aerospace and Defense (ADEF)
    • Amplifiers
    • Analog Microcontrollers
    • Analysis Control Evaluation (ACE) Software
    • Audio
    • Clock and Timing
    • Condition-Based Monitoring
    • Data Converters
    • Design Tools and Calculators
    • Direct Digital Synthesis (DDS)
    • Embedded Vision Sensing
    • Energy Monitoring and Metering
    • FPGA Reference Designs
    • Industrial Ethernet
    • Interface and Isolation
    • Low Power RF Transceivers
    • MEMS Inertial Sensors
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Power Management
    • Precision Technology Signal Chains
    • Processors and DSP
    • Reference Circuits
    • RF and Microwave
    • Signal Chain Power (SCP)
    • Switches/Multiplexers
    • Temperature Sensors
    • Video
    • Wide Band RF Transceivers
    • Wireless Sensor Networks Reference Library
  • About EZ
  • More
  • Cancel
  • 主页
  • 浏览 ⌵
    • 收件箱
    • 个人设置
    • 会员
    • 专区列表
  • 论坛专区 ⌵
    • 放大器专区
    • 精密转换器专区
    • 音频专区
    • ADE电能计量专区
    • MEMS和传感器专区
    • 接口和隔离专区
    • Power 中文专区
    • ADUC微处理器专区
    • 锁相环专区
    • 开关和多路复用器专区
    • 温度传感器
    • 基准电压源专区
    • 资源库
    • 论坛使用指南
    • 技术支持参考库
    • 在线研讨会
    • 论坛社群活动
    • 论坛激励活动
  • More
  • Cancel
CrossCore Embedded Studio and Add-ins
  • Processors and DSP
  • Software and Development Tools
  • CrossCore Embedded Studio and Add-ins
  • Cancel
CrossCore Embedded Studio and Add-ins
Documents FAQ: Using CrossCore Embedded Studio's CCES Runner Utility
  • Q&A
  • Discussions
  • Documents
  • Tags
  • Managers
  • More
  • Cancel
  • New
CrossCore Embedded Studio and Add-ins requires membership for participation - click to join
  • Documents
  • Bit-reverse the loader file in the ADSP-214xx SPI slave boot mode
  • CrossCore Embedded Studio – Getting Started
  • CROSSCORE EMBEDDED STUDIO AND ADD-INS SUPPORT COMMUNITY
  • Data alignment for large accel_xxxx examples
  • Error message when running static analysis tool
  • FAQ – How can I unlock a secure processor when connecting via an emulator?
  • FAQ – No System Reset Support for the BF70x
  • FAQ: Adding J-Link Lite support to OpenOCD for Cortex-M
  • FAQ: An alternative way to use heap_lookup_name in CCES
  • FAQ: BF706 Boot code (SPIMCODE) descriptions
  • FAQ: Boot without CCES
  • FAQ: Build fails with [Error: li1021] when adding Micrium uC/OS-III Add-In to BF609 Project
  • FAQ: Bulding assembly files(.s) in core0
  • FAQ: Calling Library Functions From an ISR
  • FAQ: Calling the functions in the C source files or C libraries from C++ code
  • FAQ: Can I configure SPI in both Non-Blocking and Callback mode inside a Callback function?
  • FAQ: Can I save and share my CrossCore Embedded Studio Launch Configurations?
  • FAQ: Can I use VisualDSP++ ELF files in CrossCore Embedded Studio?
  • FAQ: Can we call adi_xxx_GetBuffer API after registering a callback?
  • FAQ: Can we open CCES linker generated XML map file in Chrome browser?
  • FAQ: Can't connect to the Blackfin target using DebugAgent
  • FAQ: CCES builds applications much slower after installing non-ADI software on my machine
  • FAQ: CCES's seg_pmco vs VDSP++'s seg_pmco
  • FAQ: Code folding in CCES
  • FAQ: Configuring the Loader, Linker and Archiver settings within Project Properties
  • FAQ: CrossCore Embedded Studio STDIO is slow, and interrupts processing of real world data
  • FAQ: Data Member Alignment - How can I use the variable alignment attribute?
  • FAQ: Define arguments in ADI_SPI_TRANSCEIVER structure
  • FAQ: Difference between Emulator and Simulator
  • FAQ: Does CrossCore Embedded Studio have a floating license option?
  • FAQ: Does CrossCore Embedded Studio Support C++ 11?
  • FAQ: Doesn’t an Add-in license have a grace period?
  • FAQ: Encountering the following error - ‘Invalid license file. The license file may be obsolete, corrupted, missing, or read-only’
  • FAQ: End of availability for Micrium Add-Ins for CrossCore Embedded Studio
  • FAQ: Error "Cannot Satisfy Dependency" when installing 3rd Party Plugin under CrossCore Embedded Studio
  • FAQ: Error: The artifact type “Loader File” is not applicable to Add-in “Startup Code/LDF”. The Add-In only applies to “Executable” project(s)
  • FAQ: Generate a .bin file in CCES
  • FAQ: How are dependencies managed in CrossCore Embedded Studio
  • FAQ: How are sources in system folder generated from system.svc?
  • FAQ: How can I create custom multi-processor platforms for ADSP-SC598 family of parts?
  • FAQ: How can I debug my ADSP-SC598 family part heterogeneously (simultaneous debug of the Cortex-A55 and SHARC cores)?
  • FAQ: How can I issue multiple Pre-Build or Post-Build Commands in CrossCore Embedded Studio
  • FAQ: How can I obtain and install a licenses for CrossCore Embedded Studio?
  • FAQ: How can I obtain the CrossCore Embedded Studio Software License Agreement?
  • FAQ: How can I view peripheral registers on the Cortex-A55 core (ADSP-SC598 family)?
  • FAQ: How can we suppress all MISRA rule for a particular function in CCES?
  • FAQ: How do I debug SHARC applications while running Linux on the ARM core of the ADSP-SC5xx processor?
  • FAQ: How do I instruct the compiler to generate SIMD code? It is not generated by default.
  • FAQ: How do I set up interrupts on SHARC?
  • FAQ: How do I stop CCES rebuilding all my projects when I connect to a Debug Configuration?
  • FAQ: How do I update the Add-In version being used by my CrossCore Embedded Studio project?
  • FAQ: How do I verify which versions of CCES and CCES Add-Ins I have installed, and the status of my installed licenses for each?
  • FAQ: How do you modify a generated LDF during project creation in CCES?
  • FAQ: How do you upgrade UCOS version on CCES
  • FAQ: How Does CCES Node Locked Maintenance License Work
  • FAQ: How does target initialization differ in ADSP-SC598 vs ADSP-SC57x/8x?
  • FAQ: How is debugging the ADSP-SC598 family of processors containing Cortex-A55 different than Cortex-A5 processors?
  • FAQ: How peripheral Errors are reported in device driver programming?
  • FAQ: How to avoid when a project is getting build every time when click debug?
  • FAQ: How to change arm core heap size in ADSP-SC5xx?
  • FAQ: How to clear out "includes" branch of Project Explorer tree?
  • FAQ: How to configure SPORT to work in DMA mode
  • FAQ: How to configure UART RX Interrupt in SHARC 21469
  • FAQ: How to find the size of program in CCES?
  • FAQ: How to load and run a program from flash on ADSP-SC5XX target board using CrossCore Embedded Studio?
  • FAQ: How to make my algorithm as a library in CCES
  • FAQ: How to program period and width register of TIMER in continuous PWM mode?
  • FAQ: How to program two ADSP-21364 on the same JTAG chain Using CLDP
  • FAQ: How to use path variables
  • FAQ: How to use SHARED_MEMORY{} between SHARC cores
  • FAQ: How to use sprintf, strstr and memset functions in the UART ISR Callback?
  • FAQ: I need to transfer my CCES license to a new machine. How do I register my license against a new host ID (MAC Address)?
  • FAQ: Imported CCES Example won't build; what is the procedure to import an example?
  • FAQ: Importing and creating multi-core projects in CrossCore Embedded Studio
  • FAQ: Importing VisualDSP++ project files to CrossCore Embedded Studio
  • FAQ: In Device Driver programming when “Callback” event is called?
  • FAQ: Increasing the maximum number of sockets in the lwIP Add-In for CrossCore Embedded Studio
  • FAQ: INPUT_SECTION_ALIGN(4) usage in CCES
  • FAQ: Is it possible to install both a node-locked license and a corporate domain license on the same machine?
  • FAQ: Is it possible to program BF609 via JTAG using ICE-1000 but without EMU signal?
  • FAQ: Is it possible to register our own handlers for the TX and RX DMA Interrupts by using the adi_fft_RegisterTx and adi_fft_RegisterRX Callback APIs
  • FAQ: Is there a way to turn off semi-hosting for a core like you can in the debug configuration window in CCES?
  • FAQ: Is there any non-blocking API available in the MCAPI package?
  • FAQ: Is there any option available for detecting stack overflow?
  • FAQ: List of Processors supported by Command Line Simulator
  • FAQ: Maintain variable in memory in the same order as in the C source file
  • FAQ: Memory bank problem about 21489 in CCES
  • FAQ: Moving SSL/DD 1.0 (VisualDSP++) Projects to CrossCore Embedded Studio
  • FAQ: Optimizer in C/C++ compiler
  • FAQ: Partitioning SDRAM on ADSP-BF561 and ADSP-BF609 in CCES
  • FAQ: Pin Multiplexing and chip package options
  • FAQ: Preprocessor paths tab missing in CCES
  • FAQ: Regarding linking *.dlb in CCES
  • FAQ: Reporting a Crash or Hang in CrossCore Embedded Studio
  • FAQ: RTOS Status view for uCOSIII in CCES
  • FAQ: Simulator Support for ADSP-BF70x in CrossCore Embedded Studio 1.1.0
  • FAQ: Source code for CCES libraries
  • FAQ: Speeding up slow build times
  • FAQ: Static library & IP protection
  • FAQ: Support for Parallel Builds in CrossCore Embedded Studio
  • FAQ: suppress assembler preprocessor warning
  • FAQ: The Command Line Device Programmer (cldp) cannot connect to the target
  • FAQ: The validation code that was e-mailed to me is being rejected. What could be the problem?
  • FAQ: Trying to load an executable built for a.b silicon into a x.y silicon target. Continue?
  • FAQ: UART Device Driver API adi_uart_SetBaudRate returns failure code
  • FAQ: UART Driver Example "char echo code" for Non blocking mode using BF609
  • FAQ: Unable to set breakpoints within code in CCES
  • FAQ: Upgrading µCOS-III Add-In to version 1.1.0 results in warnings
  • FAQ: Using Blackfin and SHARC from the command line in CrossCore Embedded Studio
  • FAQ: Using CMSIS packs from the command line in CrossCore Embedded Studio
  • FAQ: Using CrossCore Embedded Studio's CCES Runner Utility
  • FAQ: VDSP++'s expressions vs CCES's expressions
  • FAQ: What are board support packages, and do I need one?
  • FAQ: What are the different types of licenses for CrossCore Embedded Studio?
  • FAQ: What are the system requirements for CCES?
  • FAQ: What changes are needed to build a CrossCore Embedded Studio project after moving to another directory?
  • FAQ: What is the current working directory for the Elfloader in CrossCore Embedded Studio
  • FAQ: What is the difference between a license expiring, and a subscription ending? How do I renew a subscription?
  • FAQ: What is the purpose of using non-blocking peek functions?
  • FAQ: What is the reason for getting ADI_SPI_QUEUE_FULL error in nonblocking mode while calling adi_spi_SubmitBuffer() three times inside the interrupt handler?
  • FAQ: Where can I find details of CrossCore Software and Tools Anomaly Reports?
  • FAQ: Where can I find Example Projects and Code Sketches in CCES?
  • FAQ: Where can I find my license.dat file in CrossCore Embedded Studio?
  • FAQ: Where can we find Benchmark for Real FFT processing in ADSP-BF609
  • FAQ: Where is the #define of __ADSP215xx__ ?
  • FAQ: Which versions of CrossCore Embedded Studio (CCES) do I need to install?
  • FAQ: Why am I receiving a message about my license expiring in x days?
  • FAQ: Why do I always find additional files called "system.svc" and "adi_initialize.{h|c}" in my CCES project?
  • FAQ: Why do I encounter the error ‘A valid license could be found’ on starting CrossCore Embedded Studio?
  • FAQ: Why do I receive, “There was a problem installing the license for this serial number. The serial number has already been used and can be installed only once”?
  • FAQ: Why is C/C++ compiler switch -Og missing in CCES?
  • FAQs: Heap Debugging
  • How to access stereo channels individually in the Audio_Passthrough_I2S example present in GUL BSP?
  • How to build a specific code from single source file for a specific core?
  • How to program flash ROM of EV-21569-SOM?
  • Precision difference between HW Accelerator and SW libraries
  • System Services and Device Drivers for CrossCore® Embedded Studio Training Videos
  • Wakeup from Deep-sleep mode using timer in ADSP-BF609 EZKIT
  • Wakeup processor from Hibernate mode
  • What is the procedure for getting CCES / VDSP license key when customer lost the purchased license?
  • [FAQ] : Is it possible to convert my existing corporate domain license to node-locked license?
  • [FAQ] : Add version of application in loader file
  • [Faq] : Building a specific / particular core project in Multicore Application( like ADSP-SC5xx projects)
  • [FAQ] : Can we use adi_spu_Init() API in more than one core
  • [FAQ] : cc1138 error
  • [FAQ] : Do I need to define PI values when I write my code in SHARC processor?
  • [FAQ] : Does ADZS-AUDIO-EX3 support ADSP-BF707 Blackfin processor?
  • [FAQ] : Does SigmaStudio support 212xx processors
  • +[FAQ] : Driver example for Timer windowed watchdog period mode.
  • [FAQ] : Enable SSLDD3.0 support for G & GL Processors
  • [FAQ] : Example code which helps to transmit 20bytes of data from slave to master using quad SPI mode
  • [FAQ] : Example code which helps to understand communication between UART0 and 1 in BF609 Ezkit
  • [FAQ] : Example for Passing audio from ARM to SHARC core using multicore talk through concept in ADSP-SC589 EZKIT
  • [FAQ] : Example project developed for BF-609 Evaluation board which helps to understand PINT mode in Timer.
  • [FAQ] : Example project which creates a communication between SPI1 and SPI2 over ports of P1 and P2 (sigma studio) in ADSP-SC589 EZKIT
  • [FAQ] : Example project which generates Timer0 interrupt in SHARC0 to raise interrupt in ARM core as well as SHARC1 via TRU APIs
  • [FAQ] : Example project which helps to understand SPI Slave receive process using SSLDD Device Driver APIs and tested in ADSO-BF609 EZkit
  • [FAQ] : Example project which helps to understand UART DMA mode operation in SC58x processors
  • [FAQ] : Explain about SSLDD 3.0 Design setup
  • [FAQ] : Explain how to select CLKIN as input to PCG unit in GUL using driver APIs
  • [FAQ] : Get timestamp in CCES using command line
  • [FAQ] : How can I create a copy of example project available in CCES/BSP into the workspace instead of importing example project directly from installation path?
  • [FAQ] : How can I use same GPIO PINT module in both the SHARC cores?
  • +[FAQ] : How to access darkmode appearance in CCES?
  • [FAQ] : How to avoid audio distortion in BF706mini BSP project
  • [FAQ] : How to avoid CORE0 and DEBUG No such file or directory doesn't exist
  • [FAQ] : How to calculate Bit clock frequency, SPORT clock divisor & Framesync divisor register values
  • [FAQ] : How to convert long double into string?
  • [FAQ] : How to create large data buffers in sdram without initialization
  • [FAQ] : How to generate Software triggering interrupt to all cores using TRU APIs in ADSP-SC58x/2158x Evaluation boards
  • [FAQ] : How to generate two interrupts on Rising and Falling edge of same single input pin using two PINT modules
  • [FAQ] : How to generate two interrupts on Rising and Falling edge of same single input pin using two PINT modules in single core.
  • [FAQ] : How to identify runtime stack overflow detection in CCES
  • [FAQ] : How to link C-code ISRs to the project?
  • [FAQ] : How to link static libraries in ARM core project
  • [FAQ] : How to modify the Interrupt Vector Table with respect to the user defined Interrupt handler?
  • [FAQ] : How to pass the JTAG-keys to CLDP
  • [FAQ] : How to program and verify using cldp?
  • [FAQ] : How to protect shared code/ data in a multithreaded environment?
  • [FAQ] : How to resolve audio distortion issue while running audio projects in Ezkit
  • [FAQ] : How to segregate Individual channel data in I2S mode for ADSP-21569 Ezkit
  • [FAQ] : How to use EXTCLK_MODE in timer
  • [FAQ] : I2C(TWI) driver configuration sample project which generates an interrupt in BF609 Ezkit.
  • [FAQ] : In SPI while sending data from master to slave, how to deassert "Slave select" signal for a particular period of time during each frame transfer?
  • [FAQ] : Is ARM core support SSLDD 3.0?
  • [FAQ] : Is there a more elegant way to use the alignment pragma with an “alignopt” value that works for both “-char-size 8” and “-char-size 32”?
  • [FAQ] : Is there a way to use a symbol constant defined in the LDF file in compiled C code and use it in run time?
  • [FAQ] : Is there any way to use the symbol which was defined in LDF from C code for accessing the size of input section?
  • [FAQ] : Load symbols only option in CCES
  • [FAQ] : Meaning(role) of "__PART_SPECIFIC_HEADERS__"?
  • [FAQ] : Modify LDF in CCES
  • [FAQ] : RTOS for older Blackfin or older SHARC
  • [FAQ] : Sample project for BF707 SPI quad mode
  • [FAQ] : Send data from ARM to Sharc via MDMA
  • [FAQ] : Single interrupt block for both rising and falling edges in ADSP-21569
  • [FAQ] : SPI flash communication using DMA
  • [FAQ] : SPI flash_read Example project in Callback mode for BF518 Processor
  • [FAQ] : SSLDD3.0 support for Griffin & Griffinlite
  • [FAQ] : Tips for configuring more than one ADC & DAC in audio application
  • [FAQ] : TWI sample project for BF609
  • [FAQ] : Wakeup processor from Deep-sleep mode using Pushbutton
  • [FAQ] : Wakeup processor from Hibernate mode using Pushbutton
  • [FAQ] : What could be the reason for getting network outage issue while activating CCES license
  • [FAQ] : What is the best way of sharing global data between cores?
  • [FAQ] : What is the difference between ADSP-SC58x and ADSP-214xx processors while using run time library functions which access data from external memory?
  • [FAQ] : What is the difference between Critical Regions and Scheduler tasks in Embedded applications?
  • [FAQ] : Why am I getting return value "ADI_SPORT_BUFFERS_NOT_SUBMITTED (# 6) during validation of my application which uses SPORT APIs
  • [FAQ] :Is it possible to make multiple read operations from the same file but not continuing reading past file beginning on multiple reads using CCES_runner.
  • [FAQ] :SPI configurations in BF706 EZ-KIT
  • [FAQ] Example project for EXTCLK mode in Timer for ADSP-BF609 EZKIT
  • [FAQ] How do I view a specific symbol in the CCES plot window?
  • [FAQ] When callback occurs?
  • [FAQ]: Multicore Sharc Audio talk through project for SC-573 EZkit
  • [FAQ]: Blocking Vs Non-Blocking in SSLDD 3.0
  • [FAQ]: Callback registration in SSLDD 3.0
  • [FAQ]: Command to set SRCU bit
  • [FAQ]: Create an Example code which helps to understand companding laws(U-Law and A-Law) in SPORTs
  • [FAQ]: Create an Example code which helps to understand SPI core mode with callback
  • [FAQ]: Example code for transmitting and receiving two I2S channel data in ADSP-21569 Ez-kit
  • [FAQ]: Example project for SDcard Test in ADSP-SC589
  • [FAQ]: How can I obtain university license for Crosscore embedded studio?
  • [FAQ]: How to change sample rate to 192 KHz in SigmaStudioForSHARC 2.2.0 (ADSP-213xx & ADSP-214xx)
  • [FAQ]: How to disable prelinker?
  • [FAQ]: How to do profiling for specified functions in code?
  • [FAQ]: How to prevent license pop up while installing Visualdsp++ using “Install_CL.exe”
  • [FAQ]: How to upgrade from existing VisualDSP++ license to CCES license.
  • [FAQ]: Major Difference between SSLDD 2.0 and SSLDD 3.0
  • [FAQ]: Place symbol in word addressable program memory
  • [FAQ]: PM bus access to structure variable
  • [FAQ]: Support for eclipse plugins in CCES
  • [FAQ]:Changing priority of interrupts
  • [FAQ]:How to use Breakpoint Action in CCES?
  • [FAQ]:Is Exclusive-access built-in functions

FAQ: Using CrossCore Embedded Studio's CCES Runner Utility

Overview

This document explains how to load and run programs from the command line using CCES Runner. CCES Runner is a command line utility that can be used to help automate tests. For example, ADI's CrossCore Embedded Studio (CCES) Compiler team runs a suite of automated tests that builds their compiler test programs and then uses CCES runner to run those programs on a target to verify the test results.

Getting Started

Installing CCES Runner from within CrossCore Embedded Studio (CCES)

Installation

  1. From the Help menu, click "Install New Software…".
  2. In the "Work with:" textbox, enter the URL http://www.analog.com/static/ccesupdatesite and hit "Enter".
  3. In the generated list below expand "CrossCore Embedded Studio Command Line Utilities" and choose "CCES Runner".
  4. Click the "Next" button and then the "Next" button again.
  5. Select "I accept the terms of the license agreement" and click "Finish".
  6. Click "Yes" for the restart.

Figure 1: Installing CCES Runner

Updating

  1. To update to the latest version of CCES Runner, under the "Help" menu, click "Check for Updates". If any updates are available they will be installed automatically.

Figure 2: Updating CCES Runner

Or by visiting the "Help" menu, choosing About CrossCore Embedded Studio, Installation Details, click on the feature that you would like to update, and choose "Update...". If any updates are available they will be installed automatically.

Uninstalling

  1. Under the "Help" menu, click "About CrossCore Embedded Studio". Click the "Installation Details" button in this window.
  2. Under the "Installed Software", select CCES Runner and then the "Uninstall…" button at the bottom.
  3. Follow any subsequent prompts and click "Yes" to restart the IDE at the end.

Figure 3: Uninstalling CCES Runner


Running CCES Runner

Once CCES Runner has been installed, the Runner executable file, CCES_runner.exe, will be located under the CrossCore Embedded Studio (CCES) directory. CCES Runner can be run from any directory but if run outside the CCES home directory, the command option --cceshome must be used to specify the location of CCES.

To run CCES Runner:

  1. Open up Command Prompt and navigate to the location of CCES_runner.exe.
  2. Type "CCES_runner.exe" followed by the command line options and arguments.

Example:

To display the help text containing all valid options and their arguments:

Figure 4: Example --help command

Loading and Running Programs

Loading Programs

To run a program, at least these four options must be specified: processor, target, platform, and core. To find the values of these options, the --list option (optional combine with --processor) can be used to list all the possible target and platform values to pass as arguments. Or you can also create a launch configuration in CCES IDE and copy the session configurations into the corresponding command.

Figure 5: Launch configuration in CCES IDE


The following is a brief explanation of the purpose of each command:lo

 

Command

Description

Example

processor The session’s processor. This command must be followed by a string specifying the processor. --processor "ADSP-SC589"
target The session’s target. This command must be followed by a string specifying the target. --target "Emulation Debug Target"
platform The session’s platform. This command must be followed by a string specifying the platform. --platform "ADSP-SC589 via ICE-2000"
core The core as well as its prerequisites (programs that initialize memory and/or set up the system) and program to load and run. The core ID, prerequisites, and program must be separated by a comma. The prerequisite options and program must be separated by a vertical bar, “|”.

--core "0,EMU|KIT|CLEAR_SYMBOLS|RUN_AFTER_LOAD|SHARC\ldr\ezkitSC589_preload_core0_v01,C:\ workspace\ADSP-SC589_Core0\Debug\ADSP-SC589_Core0"

List Command

Use the –list option to view all available targets and platforms. Specify the optional processor string to view all available targets and platforms for a specific processor. The results can then be passed to the --target and --platform commands.

Example:

To list all available combination of targets and platforms for ADSP-BF707:

Figure 6: Example --list command

$ CCES_runner.exe --list --processor ADSP-BF707

Target: ChipFactory Simulator
Platform: ADSP-BF707 Functional-Sim

Target: Blackfin CS Emulator
Platform: ADSP-BF707 via ICE-2000

Target: Blackfin CS Emulator
Platform: ADSP-BF707 via ICE-1000

 

Example command lines to run ADSP-SC589 program(s)

ADSP-SC589 using ICE-2000

$ CCES_runner.exe \
  --target "Emulation Debug Target" \
  --platform "ADSP-SC589 via ICE-2000" \
  --processor ADSP-SC589 \
  --core "0,C:\Users\workspace\cces\2.7.0\test_Core0\Debug\test_Core0" \
  --core "1,C:\Users\workspace\cces\2.7.0\test_Core1\Debug\test_Core1.dxe" \
  --core "2,C:\Users\workspace\cces\2.7.0\test_Core2\Debug\test_Core2.dxe"

ADSP-SC589 using Functional Simulator

$ CCES_runner.exe \ 
--target "ChipFactory Simulator" \ 
--platform "ADSP-SC589 Functional-Sim" \ 
--processor ADSP-SC589 \ 
--core "1,C:\Users\workspace\cces\2.7.0\test_Core1\Debug\test_Core1.dxe" \ 
--core "2,C:\Users\workspace\cces\2.7.0\test_Core2\Debug\test_Core2.dxe"

ADSP-SC589 using Cycle-Accurate Simulator

Please note core id starts from zero.

$ CCES_runner.exe \
  --target "ChipFactory Simulator" \
  --platform "ADSP-SC589 Cycle-Accurate-Sim" \
  --processor ADSP-SC589 \
  --core "0,C:\Users\workspace\cces\2.7.0\test_Core1\Debug\test_Core1.dxe"

Load Prerequisites

As mentioned in the description of the core command, load prerequisites can be specified to be loaded prior to loading the user program. A load prerequisite consists of a DXE file and possible options for that session. Below is a table containing available load prerequisite options:

Options

 

Option

Description

SIM The prerequisite is valid only when connected to a simulator session
EMU The prerequisite is valid only when connected to an emulator session
KIT The prerequisite is valid only when connected to an EZ-KIT Lite session
ANY The prerequisite is valid when connected to any type of session
CLEAR_SYMBOLS The currently loaded symbols will be cleared before the next program is loaded
SYMBOLS_ONLY Only the prerequisite program's symbols will be loaded.  No code/data will be loaded.
NO_RESET_BEFORE_LOAD The core will not be reset before the prerequisite program is loaded.  If this option is not specified, the core will be reset before the load.
RUN_AFTER_LOAD A temporary breakpoint will be set at the prerequisite program's ___lib_prog_term label and the program will be run to that breakpoint.

Preload Program

To specify a prerequisite program, a path that points to the DXE file relative to the CCES installation directory is necessary.
For example, Blackfin\Examples\drivers\flash\BF506F\bf506f_flash.dxe.

Simplification

If prerequisite options are not explicitly specified when using the core command, CCES Runner will see if default preloads are available and load them automatically.

Example:

When running an ADSP-SC589 Core 0 project:

--core "0,C:\workspace\ADSP-SC589_Core0\Debug\ADSP-SC589_Core0"

This command would also load the prerequisite program to set up clocks and DMC settings, so that the debugger is able to load the user’s application to external memory, as

--core "0,EMU|KIT|CLEAR_SYMBOLS|RUN_AFTER_LOAD|SHARC\ldr\ezkitSC589_preload_core0_v01,
        C:\workspace\ADSP-SC589_Core0\Debug
\ADSP-SC589_Core0"

Reading From and Writing Data To Files and Memory

The --datafile option can be used to initialize memory from data stored in a file on the host as well as save data from memory back to a host file. The argument to --datafile is a comma separated string with 8 options as follows:


--datafile "<core>,<direction>,<filename>,<format>,<symbol>,<length>,<stride>,<breakpoint_symbol>"

Options

Argument Description
core The zero based core id to read data from or write data to
direction

One of two values:

in - to specify that data should be loaded from a file and written to target memory after the application is loaded but before it is executed

out - to specify that data should be read from target memory and written to a file upon termination of the application

filename The path and filename of the file on the host to read from or write to
format

binary or binary:le - Specifies a binary file in little-endian format

binary:be - Specifies a binary file in big-endian format

<other> - Specifies a text file format from those listed via the --list-memformats option

symbol A global symbol name or hexadecimal address in your application for the specified core to which data will be read from or written to
length The number of values to read from or write to the file. Or it can be 'all' to specify that the entire file should be read when direction is 'in'.   
stride The stride value to use when reading from or writing to memory. A stride of 1 will use every value while 2 will use every other value and so on.
breakpoint_symbol (Optional) The symbol of a breakpoint to specify when this reading/writing operation happens.

 

Example 1 - Writing a File to Memory

This example reads 4096 values of data from a text file called input.dat which contains floating point formatted numbers on each line and writes it to core 0 memory starting at the address specified by stream_input before the application is run.


--datafile "0,in,input.dat,Floating Point 32 bit,stream_input,4096,1"
--datafile "0,in,input.dat,Floating Point 32 bit,0x001c0c4f,4096,1"

 

Example 2 - Writing Memory to a File

 

This example reads 1024 memory locations on core 0 starting at stream_output and writes it to a binary file called output.dat on the host. The file is written when the applications main() routine terminates.


--datafile "0,out,output.dat,binary,stream_output,1024,1"
--datafile "0,out,output.dat,binary,0x001c0c4f,1024,1"
 

Example 3 - Writing Memory to a File When a Specified Breakpoint is Hit

 

This example reads 1024 memory locations on core 1 starting at stream_output and writes it to a binary file called output.dat on the host. The file is written when the program runs and hits the specified breakpoint symbol 'BP'.


--datafile "1,out,output.dat,binary,stream_output,1024,1,BP"
--datafile "1,out,output.dat,binary,0x001c0c4f,1024,1,BP"

 

Listing Valid Memory Formats

 

Since different processor types have different file formats that they understand the list can vary from part to part. To see the list of valid --datafile <format> options you can use the --list-memformats option in conjunction with a chosen target, platform and processor. This option takes a single parameter called <core> which specifies the zero based core in the processor for which to list formats.

 

$ CCES_Runner.exe \
  --target "Sharc Emulators/EZ-KIT Lites" \
  --platform "ADSP-21489 via ICE-2000" \
  --processor "ADSP-21489" \
  --list-memformats 0

  32 Bit Hexadecimal
  Binary
  Floating Point 32 bit
  Floating Point 40 bit
  Hexadecimal
  Octal
  Signed Fractional
  Signed Integer
  Unsigned Fractional
  Unsigned Integer

 

Setting Breakpoints

The --breakpoint option can be used to set a breakpoint at the specified. One breakpoint option can be used per core but multiple breakpoints can be set in one breakpoint option.

Example:

To set a breakpoint at address 0x001c0c4f, main() and adi_intComponents() for a core 0 program:

--breakpoint "0,0x001c0c4f,main,adi_initComponents"

Profile-Guided Optimization (PGO)


The --pgo command can be used to collect PGO output data in a specified file. Simulator only.

Example:

--pgo "C:\CCESWorkspace\ADSP-BF533\Debug\ADSP-BF533.pgo"

Note:

To find more information about Profile-Guided Optimization and Code Coverage, visit the help contents in CCES:

CrossCoreRegistered Embedded Studio 2.7.0 > SHARCRegistered Development Tools Documentation > C/C++ Compiler Manual for SHARCRegistered Processors > Optimal Performance from C/C++ Source Code > Analyzing Your Application

 

Debug Session Preferences


The --preferences command can be used to set preferences for your CCES Runner debug session. The --preferences command takes a white space delineated list of preferences with optional values.

Example:

To increase the JTAG frequency to 46Mhz when loading and running program(s) using an ICE-2000, add the following command to your CCES Runner command line: --preferences "jtagfrequency=46"

Specify inputs to CCES Runner using an input text file

The -@ or --config option can be used to specify an input text file containing the CCES Runner options.

For example, add the following to a file called options.txt:

target=ADSP-BF5xx Blackfin Family Simulators  
platform=ADSP-BF5xx Single Processor Simulator
processor=ADSP-BF504 
core=0,C:\tmp\bf.dxe
breakpoint=0,main,f1,0xffa00112
datafile=0,out,address-final.dat,Hexadecimal,0xff800598,1,1
datafile=0,out,name-final.dat,Hexadecimal,ga,1,1
datafile=0,out,name-initial.dat,Hexadecimal,ga,1,1,main
datafile=0,out,name-middle.dat,Hexadecimal,ga,1,1,0xffa00112
verbose=2
And specify -@ options.txt on the CCES Runner command line:

$ CCES_Runner.exe -@ options.txt

Specify a custom board support file

The --customboard option can be used to specify a custom board support file. A custom board support file can be used to override the default register reset values with custom memory-mapped registers.

For example,  --customboard BF527-custom.xml

Releases

1.1.0.16

  • Enhancement: improved CCES Runner time-out handling.

1.1.0.15

  • Enhancement: removed the need to specify a core id when only running one program. Improved load prerequisites handling.

1.1.0.14

  • Enhancement: better handling of SHARC processors without an ARM core.

1.1.0.13

  • Bug fix: CCES runner randomly fails using a simulator starget.

1.1.0.12

  • It is now possible to specify a custom board support file using the  --customboard option.

1.1.0.11

  • CCES Runner can now load an entire data file by specifying all in the data file option. For example,  --datafile 0,in,test.dat,binary,buf,all,1.

1.1.0.10

  • Bug fix: --breakpoint fails if symbol does not exist in the executable.

1.1.0.9

  • It is now possible to add your CCES Runner options to an input file and use that file on the CCES Runner command line with the -@ switch.

1.1.0.8

  • Dumping to a data file does not append to the file which means that a new data file is created each time a breakpoint it hit, the data dumped, and execution continues.
  • Fix for issues found by Coverity.
  • Eclipse feature/plugins versions bumped to 1.1.0.0.
  • adsp-sc
  • cces
  • idde
  • sharc
  • debugging
  • adsp-sc589
  • _featured
  • arm
  • cross core embedded studio
  • adsp-sc58x
  • blackfin
  • Share
  • History
  • More
  • Cancel
Comments
Anonymous

Top Comments

  • Richard@31
    Richard@31 over 5 years ago +1
    Is it possible to script what should be done when the running application stop on break point ?
  • Richard@31
    Richard@31 over 5 years ago +1
    What does the application and the simulator once stopped on break point ? can we dump memory and restart execution ? how to do that
Parents
  • Richard@31
    Richard@31 over 5 years ago

    What does the application and the simulator once stopped on break point ?

    can we dump memory and restart execution ? how to do that

    • Cancel
    • Vote Up +1 Vote Down
    • Reply
    • More
    • Cancel
Comment
  • Richard@31
    Richard@31 over 5 years ago

    What does the application and the simulator once stopped on break point ?

    can we dump memory and restart execution ? how to do that

    • Cancel
    • Vote Up +1 Vote Down
    • Reply
    • More
    • Cancel
Children
  • amcl
    amcl over 4 years ago in reply to Richard@31

    Hi Richard,

    I am so sorry for the delay in replying to your question. Sadly, it is currently not possible to dump memory and/or restart execution when a breakpoint is hit. It is possible, however, to set a breakpoint and stop the program(s) when the breakpoint(s) are hit using the --breakpoint option. For example, --breakpoint "0,main,adi_initComponents"

    We're tracking a work item in our database to enhance the CCES Runner.

    Thank you for your valuable feedback.

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • More
    • Cancel
  • amcl
    amcl over 3 years ago in reply to amcl

    Hi Richard@31 - just a wee note that the functionality you're after now exists in the CCES Runner.

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • More
    • Cancel
Related
 
社交网络
快速链接
  • 关于ADI
  • Partners
  • 模拟对话
  • 职业
  • 联系我们
  • 投资信息
  • 新闻中心
  • 质量和可靠性
  • 办事处与代理商
  • Analog Garage
语言
  • English
  • 简体中文
  • 日本語
  • Руccкий
电子快讯

欲获得最新ADI产品、设计工具、培训与活动的相关新闻与文章,请从我们的在线快讯中选出您感兴趣的产品类别,每月或每季度都会发送至您的收件箱。

订阅
Switch to mobile view
Analog Logo
© 1995 - 2022 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2022 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • 网站地图
  • 隐私和保密政策
  • 隐私设置
  • 使用条款
 
Social
Quick Links
  • About ADI
  • Partners
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Analog Garage
Languages
  • English
  • 简体中文
  • 日本語
  • Руccкий
Newsletters

Interested in the latest news and articles about ADI products, design tools, training and events? Choose from one of our 12 newsletters that match your product area of interest, delivered monthly or quarterly to your inbox.

Sign Up
Switch to mobile view
Analog Logo
© 1995 - 2022 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2022 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • Sitemap
  • Privacy & Security
  • Privacy Settings
  • Terms of use
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.