Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • Video
    • Power Management
    • RF & Microwave
    • Precision ADCs
    • FPGA Reference Designs

    Product Forums

    • Amplifiers
    • Clocks & Timers
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors & DSP
    • Processors & Microcontrollers
    • Switches & Multiplexers
    • Sensors
    • Voltage References
    View All

    Application Forums

    • A2B Audio Bus
    • 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 & Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Precision Studio
    • Power Studio Designer
    • Power Studio Planner
    • Reference Designs
    • Robot Operating System (ROS) SDK
    • Signal Chain Designer
    • Software Interface Tools
  • Learn

    Highlighted Webinar

    Fast-Track Certification: Leveraging IC Safety App Notes for Functional Safety Designs

    Stop guessing, start certifying. Learn how to use IC safety application notes to streamline your FMEDA and meet IEC 61508 and ISO 13849 standards with...

    Places

    • ADI Academy
    • ADI Webinars
    • EZ Blogs
    • 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
    • Other Products Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Upcoming Learning & Events

    • COTS SoMs & Phased Array Solutions for Rapid RF Subsystem Integration
    • LEO Satcom: Application of RF, Mixed-Signal, & Beamforming ICs
    • 3 Real World Methods to Make Your Power Supply More Intelligent
    • Revolutionizing Flow Cytometry: 20-Bit Precision Signal Chain
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quiz AQQ300 about Divisibility by 6

      1. Quote of the month: " Friendship is like money - easier made than kept " - Samuel Butler 2. New quiz AQQ300 about a divisibility by 6 puzzle ...

    View All

    What's Brewing

      Read a Blog, Take this Quiz for Another Chance to Win a Gift Card

      Important: Read the blog first . The quiz questions are all based on the content from the blog: The Power Problem Inside Every AI Breakthrough Everyone...

    View All

    Places

    • Community Help
    • Analog Dialogue Quiz
    • 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
  • ContentZone

    Visit ContentZone

    Search content by industry or technology.
    • Blogs
    • Technical Articles
    • Tutorials
    • Videos
    • Webinars
    Your ADI content all in one place.
    View ContentZone

    The Latest Read

    Clock Tree Design and Why “PLL Locked” Is Not Enough

    In high-performance RF systems, clocking architecture is a foundational element that directly governs signal integrity, synchronization, and overall system...

    New Release

    Signal Chain Designer: DC Error Simulation
    Signal Chain Designer: DC Error Simulation

    This video covers the DC error calculation capabilities of Signal Chain Designer. DC error is unique in that often requires calibration and has so many...

    Recent Technical Insights

    Latest Technical Article from Analog.com
    Improving Industrial Functional Safety Compliance with High Performance Supervisory CircuitsPart 5: Sequencers Eliminate Systematic Failures

    This article shifts focus from managing the quantitative metrics of functional safety toward mastering the qualitative yet equally critical challenge:...

EngineerZone
EngineerZone
Hardware Tools
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
Hardware Tools
  • Processors & DSP
  • Software & Development Tools
  • Hardware Tools
  • Cancel
Hardware Tools
Documents How to debug a target board which boots from Flash using CrossCore Embedded Studio
  • Forums
  • Docs/FAQs
  • Members
  • Tags
  • Cancel
  • +Documents
  • +4010 Custom Resets: FAQ
  • +ADSP Blackfin dev kits: FAQ
  • +ADSP-BF609 EZ-KIT Lite: FAQ
  • +Board Support Package: FAQ
  • +CCES 1.1.0: FAQ
  • -CrossCore Embedded Studio: FAQ
    • How do I program flash on my target board using CrossCore Embedded Studio?
    • How to debug a target board which boots from Flash using CrossCore Embedded Studio
    • I cannot find the Target Configurator or ICE Test Utility in CrossCore Embedded Studio
  • +DSP EZ-KIT: FAQ
  • +ICE Test Utility: FAQ
  • +ICE-1000 and ICE-2000: FAQ
  • +In-Circuit Emulator: FAQ
  • +JTAG TCLK: FAQ
  • +Target Connection Error: FAQ
  • +VisualDSP++: FAQ

How to debug a target board which boots from Flash using CrossCore Embedded Studio

Question:

I have an application that boots from flash, and now I would like to debug this application out of flash using an ADZS-HPUSB ICE. How can I do this?

====================================

Answer:

To debug a target that is booting from Flash, you need to configure the way in which CrossCore Embedded Studio connects to your target, to ensure that when it does connect to your board it does not reset the processor.

The Debug Configuration window offers you 4 settings when loading a DXE, each of which can be enabled/disabled independently:

Reset core before load - Issues a reset to the target processor before loading the DXE.

Check silicon revision before load - Queries the silicon revision of the connected target before loading the DXE, to ensure that the Target silicon revision matches the build.

Load symbols only - Only loads the debug symbols, rather than loading the disassembly.

Run immediately after load - Sets the target running once the DXE load has completed.

Configuring your Debug Configuration:

When debugging an application that has booted from flash, you want to avoid some of the options above. The important steps are to ensure that you enable the "Load Symbols Only" option, and disable the "Reset Core before load" option. Here are example steps to create a suitable debug configurationt:

  1. Open CrossCore Embedded Studio and go to ‘Run’->’Debug Configurations’
  2. Click on the “New launch configuration” button, or right click on “CrossCore Embedded Studio Application’ and select ‘New’.
  3. In the Session Wizard, select the 'Processor Family' and 'Processor Type' that match your target.
  4. On the next page, select either "EZ-KIT Lite" or "Emulator", depending on what you are using. If you use an emulator, the next page will let you select your specific target/emulator.
  5. Once the Session Wizard is complete, and you are back at the "Debug Configurations" window, you need to set up the "Program(s) to Load" settings.
  6. For each Core/Processor that you need to load a DXE to, click on the core/processor and select "Add". Browse to the DXE you need to load and select it.
  7. Disable the "Reset Core Before Load" option
  8. Enable the "Load Symbols Only" option

When you launch your Debug Configuration, the symbols (global data and function names) will be loaded, but your application will not be re-loaded or interrupted. You can then halt the target and inspect the disassembly to determine where your application is. If your DXE was built with Debug Information, you may also have source-level debugging available.

You can also debug the entire execution of your application (rather than just 'breaking in' at whatever its current PC may be, as above) by putting the following instruction at the start of your code or kernel/init code, or the start of your application, and build an LDR. This instruction will cause the processor to loop at the start of the application.

[SHARC] : JUMP(PC,0);

[Blackfin]: JUMP 0;

1. build a loader file with the kernel/init code/application dxe built with the above instruction inserted.

2, Flash the code onto your board using the Command Line Device Programmer.

3. Boot the code by pressing reset on the board.

4. Open the CrossCore Embedded Studio and connect to your Debug Configuration set up as above

In the disassembly window the program counter will be looping at the jump(pc,0) - or jump 0 - instruction. Replace the jump(pc,0) - or jump 0 - with a 'nop' instruction in the disassembly window and you can now step through your kernel/init code/application as required.

 

  • Share
  • History
  • More
  • Cancel
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
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 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
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved