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
    • Power Studio Designer
    • Power Studio Planner
    • Reference Designs
    • Robot Operating System (ROS) SDK
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    The Burning Question: How can ADI Solutions Ensure Rechargeable Device Batteries are Genuine?

    On the global stage, products and equipment using rechargeable batteries continue to proliferate exponentially, expecting to reach a staggering $170B market...

    Places

    • ADI Academy
    • ADI Webinars
    • 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

    • Power Management Fundamentals II Session 6: Key Layout Considerations for Power
    • A 16T/16R X-Band Direct Sampling Phased Array Subsystem using Apollo MxFE
    • Power Management Fundamentals II Session 5: Deeper Look into Power Protection
    • Power Management Fundamentals II Session 4: Isolated Converters Explained
    • Maximize Your Power Regulator: Key Considerations for Thermal Performance
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ294 about a digital phase splitter design

      1. Quote of the month: "I've learned that people will forget what you said, people will forget what you did, but people will never forget how you made...

    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: Let's Take a Field-Bus Trip Your field-bus engines...

    View All

    Places

    • Community Help
    • Logic Lounge
    • Super User Program
    • Analog Dialogue Quiz

    Resources

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

    Highlighted Blogs

    Balancing Enhanced Radar Resolution with FPGA-Based Pulse Compression

    Radar and sonar systems must balance range resolution with the energy required for reliable detection. Pulse compression resolves this by sending a long...

     

    ​​ISO 26262 Essentials: Ensuring Confidence in Your Software Tools ​

    By Ashish Iskande What is Tool Qualification and Why is it Important? In safety-critical automotive development, tools act as silent partners but can...

    Latest Blogs

    • Step-by-Step: Implementing a Complete DSP Chain for Signal Analysis
    • Galvanic Isolation in SMPS: Ensuring Safety and Protection: Part 1 of 4
    • Mature, Not Old! The Longevity of 4 – 20 mA
    • Turning up the Noise: .NOISE Simulations in LTspice: Part 1 of 3
    • The ABCs of SerDes
    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
    • 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
    • Sensor Interfaces
    • SmartMesh
EngineerZone
EngineerZone
Hardware Tools
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
Hardware Tools
  • Processors and DSP
  • Software and 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

©2025 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

©2025 Analog Devices, Inc. All Rights Reserved