Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • RF and Microwave
    • Video
    • Power Management
    • Precision ADCs
    • FPGA Reference Designs
    • Linux Software Drivers

    Product Forums

    • Amplifiers
    • Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • A2B
    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Upcoming Webinar - Design High Performance Power Systems with Ultralow Noise Technology

    This webinar will feature ADI’s latest Silent Switcher® 3 regulators and Ultralow-noise LDOs, perfect for applications with stringent noise requirements...

    Places

    • ADI Education Home
    • ADI Webinars
    • GMSL U
    • StudentZone (Analog Dialogue)
    • Video Annex
    • Virtual Classroom

    Libraries

    • 3D ToF Depth Sensing Library
    • Continuous-Wave CMOS Time of Flight (TOF) Library
    • Embedded Vision Sensing Library
    • Gigabit Multimedia Serial Link (GMSL) Library
    • Optical Sensing Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Latest Webinars

    • Upcoming Webinar: Simplify High-Accuracy Instrumentation Design with Latest Precision Data Converters
    • Upcoming Webinar - Design High Performance Power Systems with Ultralow Noise Technology
    • Upcoming Webinar: µModule Solution for Intelligent Motion Control
    • Accelerating Embedded System Development with CodeFusion Studio™︎
    • Power Industrial PC Solutions for Robust Intelligent Edge Computing
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ285 about analog voltmeter expertise

      1. Quote of the week: " If you think nobody cares if you're alive, try missing a few loan payments " - unknown Source: Wikimedia 2. New quiz...

    View All

    What's Brewing

      Read the Safety in Layers: Why a Hybrid Approach Works Blog and Test Your Knowledge

      Think you understand ISO 26262 Compliance ? Test your knowledge with our quick quiz , based on the blog " Safety in Layers: Why a Hybrid Approach Works...

    View All

    Places

    • Community Help
    • Logic Lounge
    • Super User Program

    Resources

    • EZ Code of Conduct
    • EZ How To Help Articles
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    How to Generate a Custom Profile for Optimal System Performance

    In the world of software-defined radio (SDR) and high-performance RF systems, properly configuring transceivers is essential for achieving optimal system...

     

    Can AI Unlock the Future for Condition-Based Monitoring at the Edge?

    In an era when equipment and energy costs are rising, industries are under increasing pressure to optimize their operations and reduce expenses. One effective...

    Latest Blogs

    • What Makes Field Bus Communication Unique
    • An Interesting Power Supply Monitoring Example from a Functional Safety Standard
    • Breaking the Barriers – Why Buildings Need DAS for Cellular Connectivity: Part 1
    • Safety in Layers: Why a Hybrid Approach Works
    • What Are the 3 Essential RF Modulation Techniques You Need to Know?
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • ContentZone

    Visit ContentZone

    ContentZone

    Technical articles. Blogs. Videos. Your ADI content, all in one place.

    View ContentZone

    Featured Content

    Featured Content Title

    Blurb About Content

    View Content By Industry

    • Aerospace and Defense Systems
    • Automotive Solutions
    • Consumer Technology Solutions
    • Data Center Solutions
    • Energy Solutions
    • Healthcare Solutions
    • Industrial Automation Technology Solutions
    • Instrumentation and Measurement Solutions
    • Intelligent Building Solutions
    • Internet of Things (IoT)
    • Wireless Communication Solutions

    View Content By Technology

    • A2B Audio Bus
    • ADI OtoSense Predictive Maintenance Solutions
    • Dynamic Speaker Management
    • Gallium Nitride (GaN) Technology
    • Gigabit Multimedia Serial Link (GMSL)
    • Industrial Vision
    • Power Solutions
    • Precision Technology
    • RF
    • Security Solutions
    • Sensor Interfaces
    • SmartMesh
  • Partners

    Partner Forums

    • Boston Engineering
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.

    Partner Libraries

    • Calian, Advanced Technologies Library
    • Clockworks Signal Processing Library
    • Colorado Engineering Inc. (DBA CAES AT&E) Library
    • Epiq Solutions Library
    • Fidus Library
    • VadaTech Library
    • Vanteon Library
    • X-Microwave Library
EngineerZone
EngineerZone
CrossCore Embedded Studio and Add-ins
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
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 Using Blackfin and SHARC from the command line in CrossCore Embedded Studio
  • Forums
  • Docs/FAQs
  • Members
  • Tags
  • More
  • Cancel
  • FAQ
  • +a.b silicon into a x.y silicon target: FAQ
  • +accel_xxxx: FAQ
  • +ADC & DAC in audio application: FAQ
  • Add submodule files in CCES
  • +Add version of application in loader file: FAQ
  • Add-in license: FAQ
  • +ADI_SPI_TRANSCEIVER: FAQ
  • +adi_spu_Init() API: FAQ
  • +ADSO-BF609 EZkit: FAQ
  • +ADSP-21364: FAQ
  • +ADSP-214xx: FAQ
  • +ADSP-21569 Ez-kit: FAQ
  • +ADSP-21569: FAQ
  • +ADSP-BF609 EZKIT: FAQ
  • +ADSP-BF609: FAQ
  • +ADSP-BF707: FAQ
  • +ADSP-BF70x: FAQ
  • +ADSP-SC589: FAQ
  • +ADSP-SC58x: FAQ
  • +ADSP-SC59x: FAQs
  • +ADSP-SC5xx: FAQ
  • +ADSP21489: FAQ
  • +ADSP215xx: FAQ
  • +alignment pragma: FAQ
  • +ARM CORE: FAQ
  • +ARM to Sharc: FAQ
  • +avoid when a project is getting build: FAQ
  • +BF-609 Evaluation board: FAQ
  • +BF518 Processor: FAQ
  • +BF703: FAQ
  • +BF706 EZ-KIT: FAQ
  • +BF706: FAQ
  • +BF706mini BSP project: FAQ
  • +BF707 SPI: FAQ
  • BITEXP and BITRET for ADSP-214xx
  • C and C++ standard library in CCES?
  • +C source file: FAQ
  • +C++ code: FAQ
  • +C-code ISRs: FAQ
  • cache invalidation and cache flushing
  • +Callback function: FAQ
  • +Calling Library Functions: FAQ
  • +cc1138: FAQ
  • +CCES: FAQ's
  • +cldp: FAQ
  • Clip double precision floating-point in C Audit
  • +CLKIN: FAQ
  • +Code folding in CCES: FAQ
  • +Configuring the Loader, Linker and Archiver: FAQ
  • +connect to the Blackfin: FAQ
  • Create Library files for individual modules Audit
  • -CrossCore Embedded Studio STDIO: FAQ
    • "DO_CYCLE_COUNTS" macro in CCES
    • CCES Debug configuration settings
    • CCES_HOME Environment variable
    • Change output directory path of DXE. Audit
    • Compare EV-SOMCRR-EZKIT and EV-SOMCRR-EZLITE
    • Create ASM project in CCES
    • CrossCore Embedded Studio STDIO is slow, and interrupts processing of real world data Audit
    • Default qualifier for the output sections
    • Does CrossCore Embedded Studio have a floating license option?
    • Does CrossCore Embedded Studio Support C++ 11?
    • Dump specific memory contents to a file in CCES
    • Encountering the following error - ‘Invalid license file. The license file may be obsolete, corrupted, missing, or read-only’
    • End of availability for Micrium Add-Ins for CrossCore Embedded Studio
    • Error "Cannot Satisfy Dependency" when installing 3rd Party Plugin under CrossCore Embedded Studio
    • External Configuration tool in CCES
    • FIR Decimation filter
    • FIR interpolation
    • How can I issue multiple Pre-Build or Post-Build Commands in CrossCore Embedded Studio
    • How can I obtain the CrossCore Embedded Studio Software License Agreement?
    • How can I obtain university license for Crosscore embedded studio?
    • How do I update the Add-In version being used by my CrossCore Embedded Studio project?
    • How to use custom platform with CCES_Runner.exe Utility
    • ICE feature comparison Table
    • Importing and creating multi-core projects in CrossCore Embedded Studio
    • Is it possible to install both a node-locked license and a corporate domain license on the same machine?
    • Is there any restriction for defining normal-word variables in seg_dmda_nw section on SHARC+?
    • Linking driver source into project
    • Re-create system.svc
    • Support for Parallel Builds in CrossCore Embedded Studio Audit
    • System Services and Device Drivers for CrossCore®︎ Embedded Studio Training Videos Audit
    • Using Blackfin and SHARC from the command line in CrossCore Embedded Studio
    • Using CMSIS packs from the command line in CrossCore Embedded Studio
    • What are the different types of licenses for CrossCore Embedded Studio? Audit
    • What changes are needed to build a CrossCore Embedded Studio project after moving to another directory? Audit
    • What is the current working directory for the Elfloader in CrossCore Embedded Studio Audit
    • Where can I find details of CrossCore Software and Tools Anomaly Reports? Audit
    • Which versions of CrossCore Embedded Studio (CCES) do I need to install? Audit
  • +CROSSCORE: FAQ
  • Custom debug configurations in CCES
  • +Data Member Alignment: FAQ
  • +Device Driver programming: FAQ
  • Difference between ADZS-HPUSB and ADZS-USB ICE Audit Audit
  • Difference between Debug and Release configurations
  • +Difference between Emulator and Simulator: FAQ
  • +disable prelinker: FAQ
  • DND mode in CCES
  • Does CCES have any API that can be used to build automation test platform with Python Audit
  • Does ICE-1000 supported ADSP-CM407F? Audit
  • +Driver example for Timer windowed watchdog period mode.
  • +Embedded applications: FAQ
  • +EV-21569-SOM: FAQ
  • Example code for SPORT slave trigger in ADSP-21569 Ezkit Audit Audit
  • Export console output to the desired file Audit
  • export/import CCES preferences settings
  • +EXTCLK_MODE: FAQ
  • Flash Programmer Drivers for ADSP-2183x/SC83x and ADSP-SC5xx ARM Cortex A5 Cores
  • GUL-XP board with EZkit license Audit
  • +How to access darkmode appearance in CCES?
  • +How to access stereo channels individually in the Audio_Passthrough_I2S example present in GUL BSP?
  • +How to avoid CORE0 and DEBUG: FAQ
  • How to build a specific code from single source file for a specific core?
  • +How to convert long double into string: FAQ
  • How to create library files for individual modules? Audit
  • +how to deassert Slave: FAQ
  • +How to do profiling: FAQ
  • How to obtain PCB library files for ADI processors Audit
  • How to pass arguments from command line in CCES runner
  • +How to protect shared code/ data: FAQ
  • How To remove automatically added "includes" folders in CCES project Audit
  • How to use "log10f_simd" Audit
  • How to use commands in CCES runner Audit
  • How to use Device programmer in EVAL-ADICUP360 board Audit
  • How to use optimized libraries for FFT Audit
  • +HW Accelerator and SW libraries: FAQ
  • INPUT SECTIONS & INPUT SECTIONS PIN EXCLUSIVE Audit
  • Interrupt header files along with -char-size-32 switch in Sharc Audit
  • +Interrupt Vector Table: FAQ
  • Is it possible to perform stepping into the code in CCES Runner. Audit
  • Is there a way to list symbols from library (*.dlb) file? Audit
  • Is there a way to mangle or remove internal symbols ? Audit
  • JTAG switch Interface for EV-SOMCRR-EZLITE and EV-SOMCRR-EZKIT: Audit
  • +LDF from C code: FAQ
  • +linker map file: FAQ
  • +List of Processors: FAQ
  • +Loader File: FAQ
  • +MCAPI package: FAQ
  • +node-locked license: FAQ
  • +non-blocking peek functions: FAQ
  • Optimization in ARM Audit
  • +PART_SPECIFIC_HEADERS: FAQ
  • +path variables: FAQ
  • +peripheral Error: FAQ
  • +PINT modules: FAQ
  • +PM bus: FAQ
  • +Project Explorer tree: FAQ
  • +PWM mode: FAQ
  • +quad SPI mode: FAQ
  • Reset SHARC core from ARM core using RCU in SC573 Audit
  • +RTOS for older Blackfin or older SHARC: FAQ
  • +SC-573 EZkit: FAQ
  • +SDRAM: FAQ
  • +SHARC 21469: FAQ
  • +SHARC0: FAQ
  • +SHARC: FAQ
  • +sharing global data between cores: FAQ
  • +SigmaStudioForSHARC: FAQ
  • +SIMD code: FAQ
  • +SIMD: FAQ
  • sizeof() built-in function in BF and Sharc processors Audit
  • +SPI core mode with callback: FAQ
  • +SPI flash: FAQ
  • +SPORT API: FAQ
  • +SPORT: FAQ
  • +SRCU bit: FAQ
  • SRU and DAI routing via GUI
  • +SSLDD 2.0 and SSLDD 3.0: FAQ
  • +SSLDD 3.0: FAQ
  • +SSLDD3.0: FAQ
  • +stack overflow: FAQ
  • +Static library & IP protection: FAQ
  • Streaming Data input and output in CCES
  • +suppress assembler preprocessor warning: FAQ
  • SWD with ICE-1000
  • +system.svc: FAQ
  • TDM with both SPORT channels Audit
  • TWI Transfer using 3.0 APIs
  • +two PINT modules: FAQ
  • +TX and RX DMA Interrupts: FAQ
  • Types of Pragma usage Audit
  • +U-Law and A-Law: FAQ
  • +UART Device Driver: FAQ
  • +UART ISR Callback: FAQ
  • UART sample driver code for BF706mini Audit
  • +VisualDSP++: FAQ
  • +Wakeup processor from Hibernate: FAQ
  • +When callback occurs: FAQ
  • +word addressable program: FAQ
  • [FAQ] : FORCE CONTIGUITY Audit
  • “Peripherals view” in CCES

Using Blackfin and SHARC from the command line in CrossCore Embedded Studio

Whilst we recommend using the CrossCore Embedded Studio GUI for your development work, there are some occasions where you may find command line access useful such as build automation. This page contains a list of frequently asked questions about command line support for the Blackfin and SHARC processor families.

What Operating Systems can I use to develop for Blackfin and SHARC?

The Blackfin and SHARC toolchains are only supported under Windows.
The following versions of Windows are supported (as of CrossCore Embedded Studio 2.7.0):

  • Windows 7 (with Service Pack 1)
  • Windows 8.1
  • Windows 10

How do I install CrossCore Embedded Studio from a command line?

Download the latest CCES release from https://www.analog.com/cces

Run the following command to install:

> ./ADI_CrossCoreEmbeddedStudio-Rel${VERSION}.exe /S /V"/qn INSTALLDIR=\"${INSTALL_PATH}\""

Uninstallation should be done via the uninstall link in the start menu, or via the control panel.

How do I build an existing project from the command line?

To invoke the dependency, makefile generation and build process, you need to make use of the headless builder.

> C:\analog\cces2.7.0\Eclipse\ccesc -nosplash -consoleLog -application com.analog.crosscore.headlesstools \
  -data C:/path/to/workspace -project C:/path/to/project -build all

Where:

-data is the path to the workspace you want to build from

-project is the path to your project

-build identifies the configuration to build, or "all" to build all configurations. Configuration name is case insensitive.

You can also use the makefile support generated by a project build to build directly.

First, ensure that your CCES installation directory is in your PATH environment variable.

> set path "%PATH%;C:\analog\cces\2.7.0"

Then cd into your output directory, where you can issue the following make commands:

"make all" to perform a full build of anything that's changed since the previous build.
"make clean" to perform a clean, which deletes any temporary/generated files allowing for a full build to be carried out.

Note: If you change any project settings or add/remove files, this won't be reflected in the makefiles unless you invoke the headless builder again. You can modify the makefiles directly but they will be overwritten if the headless builder is used.

How do I create a new project from the command line?

First, ensure the environment variable CCES_HOME to the root directory of your CCES installation.

You can use the headless builder to create a project using the following command:

> ${CCES}\Eclipse\ccesc.exe -nosplash -consoleLog -application com.analog.crosscore.headlesstools \
  -data c:/path/to/workspace -project ${project_name} -project-name ${project_name} -command projectcreate \
  -processor ADSP-BF707 -type Executable -language C++

Where:

  -data is the path to the workspace you want to create the project in
  -project and -project-name are the name of the project you want to create (currently these have to match)
  -type is either "Executable" or "Static Library"
  -language is either "C" or "C++"

Can I build without an Eclipse project from the command line?

Yes, but we'd recommend using an Eclipse project since it gives you access to the Add-Ins.

With the root directory of CrossCore Embedded Studio in your system path, you can invoke the driver directly (either "ccblkfn.exe" or "cc21k.exe") for all the source files you want to compile. Static .ldf (Linker Description Files) and C Run-Time objects are provided by the library to get you up and running without having to generate them yourselves (we'd recommend doing so for a more optimal configuration), and the System Services & Device Drivers are available in pre-compiled library form if they are being used.

You can either build and link everything in a single command:

> ccblkfn -proc ADSP-BF707 source1.c source2.c source3.asm -o myoutput.dxe

Or you can build and link your files independently (to take advantage of dependency support in makefiles):

> ccblkfn -proc ADSP-BF707 source1.c -c -o source1.doj
> ccblkfn -proc ADSP-BF707 source2.c -c -o source2.doj
> ccblkfn -proc ADSP-BF707 source3.asm -c -o source3.doj
> ccblkfn -proc ADSP-BF707 source1.doj source2.doj source3.doj -o myoutput.dxe

A full breakdown of the switches is available in the online help, or via the -help switch:

> cc21k -help

Can I debug from the command line?

There is support for running executables in a simulator or hardware session from the command line via CCES Runner, but the support is limited to execution only with no debugging support.
To debug applications, you'll need to create and use a debug session under the CCES GUI.

Tags: Audio Signal Processors adsp-bf707 Blackfin Embedded Processors
  • Share
  • History
  • More
  • Cancel
 
Related Content
  • Generating makefile from command line
    THarris716
    I am trying to create a dos script to be used in production to create LDR files for loading to the product. The requirements are: The source files and project file are pulled from the git repository...
  • CCES Headless Build Errors (related to license, silicon revision, ArchDef and Add-Ins)
    matthiaswe
    Hi all, we've been using CrossCore Embedded Studio (CCES) in headless mode by calling ccesc.exe under Windows for quite a while. For some days we see our builds failing and seeing strange error messages...
  • MIPS ADSP 21569
    SrikanthB
    Hi I am using following lines to find the cycle count in the LED example in CCES, subsequently to find the MIPS. But it does not print the Number of cycles . What can be possible issue with it? #include...
 
Related Content
  • Generating makefile from command line
    THarris716
    I am trying to create a dos script to be used in production to create LDR files for loading to the product. The requirements are: The source files and project file are pulled from the git repository...
  • CCES Headless Build Errors (related to license, silicon revision, ArchDef and Add-Ins)
    matthiaswe
    Hi all, we've been using CrossCore Embedded Studio (CCES) in headless mode by calling ccesc.exe under Windows for quite a while. For some days we see our builds failing and seeing strange error messages...
  • MIPS ADSP 21569
    SrikanthB
    Hi I am using following lines to find the cycle count in the LED example in CCES, subsequently to find the MIPS. But it does not print the Number of cycles . What can be possible issue with it? #include...
analog-devices logo

About Analog Devices

  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue

Get the Latest News

Stay up to date with our latest news and articles about Analog Devices' products, design tools, trainings, and events.

Sign Up Now
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings
沪ICP备09046653号-1

©2024 Analog Devices, Inc. All Rights Reserved

analog-devices

About Analog Devices

Down Up
  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

Down Up
  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue

Get the Latest News

Stay up to date with our latest news and articles about Analog Devices' products, design tools, trainings, and events.

Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings
沪ICP备09046653号-1

©2024 Analog Devices, Inc. All Rights Reserved