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
    • LiDAR Solutions
    • Motor Control Hardware Platforms
    • Speech Processing Solutions
    • Video

    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

    Power Integrity for High Performance Measurement Systems

    Increasing data rates driven by AI workloads and the evolution from 5G to emerging 6G standards are placing new demands on electronic test and measurement...

    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

    • Humanoid Robotics: Deterministic Motion Control & Edge AI Systems
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC Quizzes AQQ302 about Bang Gap Reference Generation

      1.Quote of the month: "People Who Say They Sleep Like a Baby usually don't have one" - unknown 2. New quiz AQQ302 about Band Gap Reference Voltage...

    View All

    What's Brewing

      Read the Blog:  Simplified I/O: One Chip, Flexible Voltage Output, 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 of the blog: Simplified I/O: One Chip, Flexible Voltage Outpu...

    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

    JESD204 Bring-Up: From Link-Up to Data Integrity

    This blog presents a structured bring-up methodology for the ZCU102 + ADRV9009 platform, stepping through each initialization phase in sequence and identifying...

    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
    Game of DronesPart 1: How IMU Navigation Architectures Make or Break a Drone

    This article explains why industrial-grade UAVs require fundamentally different architectures than consumer drones. It highlights the need for inertial...

EngineerZone
EngineerZone
Processors & DSP
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
Processors & DSP
Processors & DSP
Documents Speeding up flash programming using the command-line device programmer (cldp)
  • Q&A
  • FAQs/Docs
  • Members
  • Tags
  • Cancel
  • +Documents
  • +ADAU 1701: FAQ
  • +ADSP-21160M: FAQ
  • +ADSP-21363: FAQ
  • +ADSP-21368: FAQ
  • +ADSP-21369: FAQ
  • +ADSP-21469: FAQ
  • +ADSP-21489: FAQ
  • +ADSP-2160: FAQ
  • +ADSP-BF522: FAQ
  • +ADSP-BF531: FAQ
  • +ADSP-BF532: FAQ
  • +adsp-bf533: FAQ
  • +ADSP-BF534: FAQ
  • +ADSP-BF535: FAQ
  • +ADSP-BF536: FAQ
  • +ADSP-BF537: FAQ
  • +ADSP-BF538F: FAQ
  • +ADSP-BF539: FAQ
  • +ADSP-BF542: FAQ
  • +ADSP-BF544: FAQ
  • +ADSP-BF561: FAQ
  • +adsp-bf561: FAQS
  • +adsp-bf609: FAQS
  • +ADSP-BF60x: FAQ
  • +ADSP-BF70x: FAQ
  • +ADSP-CM408F: FAQ
  • +ADSP-SC58x: FAQ
  • +ADSP-TS001: FAQ
  • +ADSP-TS101S: FAQ
  • +ADSP-TS201S: FAQ
  • +CCES: FAQ
  • +cm40x: FAQ
  • -Command-line device programmer (cldp): FAQS
    • Speeding up flash programming using the command-line device programmer (cldp)
  • +Compiler: FAQ
  • +Connected Devices Virtual Conference: FAQS
  • +Disassembly Window: FAQ
  • +Enabling Product-Specific Push Notifications: FAQS
  • +ICE-1000: FAQ
  • +JEDEC J-STD-020: FAQ
  • +Misra rule checking: FAQ
  • +Nesting Interrupt: FAQ
  • +Power Domains: FAQ
  • +PROCESSORS AND DSP SUPPORT COMMUNITY: FAQS
  • +Questions 536 / VDK: FAQS
  • +RoHS-Compliant: FAQ
  • +Updating ICE-1000/2000 firmware with OpenOCD: FAQ
  • +VDSP-BLKFN-PC-FULL: FAQ
  • +VDSP-TS-PC-FULL: FAQ
  • +VDSP: FAQ
  • +VISUALAUDIO: FAQ

Speeding up flash programming using the command-line device programmer (cldp)

There have been multiple comments/questions concerning the speed of the cldp programming. The provided flash programmer drivers that are used to program flash on Analog Devices Inc EZ-KITs are not optimized for programming speed. They are merely given as an example of how to program a flash device using the cldp and also to allow programming out of the box. There are definitely ways to speed up the programming process and those options will be outlined in this FAQ.

Increase buffer size

Most default ldf files only allow for a certain size heap which often limits the buffer size that the cldp can program during 1 transaction. For instance if a file is 1000 bytes and the buffer size is only 10 then 100 commands have to be sent from the cldp to the flash programmer driver running on the processor in order to transfer the entire buffer. It may be possible to increase this so that only 1 transaction is needed or maybe a handful. Users will have to determine the correct buffer size that gives the best performance boost. The buffer size variable that will need to be changed in the flash programmer driver is AFP_Size. Since there is only a certain amount of heap space by default and the buffer is created dynamically, users will have to take care to make sure they are not allocating too much memory for the amount of heap space that is allowed. Otherwise users would have to increase the heap size in the ldf file.

 

Increase SPI clock

The SPI clock used in the flash programmer driver may not be the max SPI clock for the device being programmed. The specification for the flash device found on the EZ-KIT should be used in order to find the max SPI clock allowed when programming the flash device. Once the max SPI clock is identified, reviewing the Hardware Reference manual will help with configuring the clock on the processor.

 

Change programming instruction

Many flash devices offer multiple programming options. Often the normal page program instruction is used but there may be other options that are faster. Consulting the instruction set table of the flash specification for other faster programming options would be recommended. There may be a dual page program or quad page program option available or possibly some other faster mechanism for programming flash that can be used.

 

Don't use -verify (v) option

By default when programming the verify option is NOT set. Please make sure that this option has not been added to the command line as it will slow down programming.

 

Upgrade emulators

If using the ICE-1000, ICE-100b, or USB-ICE emulators then upgrading to an HPUSB-ICE or ICE-2000 (latest emulator) would speed up programming as well.

  • 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