Locale Icon
English
EngineerZone
EngineerZone
Precision Microcontrollers
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
  • 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
Precision Microcontrollers
  • Microcontrollers
Precision Microcontrollers
Documents ADuCM350 FAQ Debug
  • Q&A
  • Docs/FAQs
  • File Uploads
  • Members
  • Tags
  • Cancel
  • +Documents
  • +ADuCM Cortex-M3: FAQ
  • +Aducm320: FAQ
  • -ADuCM350: FAQ
    • 4Wire-Isolated-Bioimpedance ADuCM350 Connections To Sensor
    • ADUCM350 DESIGN SUPPORT COMMUNITY - INTRO
    • ADuCM350 FAQ DFT / Impedance Measurement
    • ADuCM350 FAQ Debug
    • ADuCM350 FAQ Evaluation Kit Software Platform
    • AFE Transmit Stage
    • ADuCM350 FAQ GPIOs and Pinmuxing
    • ADuCM350 FAQ I2C serial interface
    • ADuCM350 FAQ Operational Supply Range / Power Supplies
    • ADuCM350 FAQ Parallel Display Interface(PDI)
    • ADuCM350 FAQ Power Consumption
    • ADuCM350 FAQ Power Management Unit
    • ADuCM350 FAQ Random Number Generator
    • ADuCM350 FAQ SDK Driver Specific FAQs
    • ADuCM350 FAQ SPI
    • ADuCM350 FAQ Switch Matrix
    • ADuCM350 FAQ System Clocks
    • ADuCM350 FAQ System Integrity
    • ADuCM350 SDK v2.3.0.0 now available
    • Bioimpedance Measurement Using ADuCM350
    • Optimizing RCAL,RTIA,CTIA and DAC voltage of ADuCM350 for 4-Wire Measurement.
    • Potentiostat / Amperometric Measurement Using ADuCM350
    • Unipolar Current Measurement Using ADuCM350
    • Errata for ADuCM350 I2C serial interface
    • FAQ ADuCM350 Embedded Software Development
    • How to get SDK + Eval-ADuCM350EBZ Working together.
    • FAQ for Captouch on ADuCM350
    • Known Issues for ADuCM350 Silicon and Support Material
    • ADuCM350 FAQ ADuCM350 Evaluation Kit
    • ADuCM350 FAQ AFE / ADC Measurement Channel
    • ADuCM350 FAQ AFE Measurement Circuit Impedance Range
    • ADuCM350 FAQ AFE TIA
    • ADuCM350 FAQ AFE Sequencer
    • ADuCM350 FAQ Amperometric Measurement Example
    • ADuCM350 FAQ Calibrate
    • ADuCM350 FAQ CRC accelerator
    • ADuCM350 FAQ GP Timers
    • ADuCM350 FAQ LCD controller
    • New Revision of UG-587 Available
    • ADuCM350 FAQ Potentiostat / Amperometric
    • ADuCM350 FAQ Real Time Clock (RTC)
    • First Steps: Quick Measurement with Eval-ADuCM350 & EKSP Labview GUI
  • +ADuCM355: FAQ
  • +ADuCM360: FAQ
  • +ADuCM361: FAQ
  • +ADuCRF101: FAQ
  • +Bio-Impedance & ECG Measurement Solution: FAQ
  • +CN0300: FAQ
  • +Continuously Amperometric Measurement: FAQ
  • Do we need new Maxim supplied algorithms for the MAX32664, as I assume that the ones provided for the MAXREFDES101 do not support SpO2?
  • +MAX32663A: FAQ
  • MAX32664-A HRM & SPO2 FIRMWARE V10.0.0: FAQ
  • +MAX32664GTGA+: FAQ
  • +MAX32664GTGC+: FAQ
  • +MAX32664GTGZ+: FAQ
  • +MAX32664GWEA+: FAQ
  • +MAX32664GWEB+: FAQ
  • +MAX32664GWEC+: FAQ
  • +MAX32664GWED+T: FAQ
  • +MAX32674C: FAQ

ADuCM350 FAQ Debug

Q: How do I load a *.hex file to the ADuCM350?


A: When code is compiled and built, EWARM will produce an output file. This output file can be a number of types (e.g. *.out, *.hex, *.bin; the desired type is specified in the project options). The Serial Downloader tool (CM3WSD) can be used to load a *.hex file to the ADuCM350 flash. The serial downloader tool can be found in the tools directory of the SDK (…Analog Devices\ADuCM350BBCZ \Eval-ADUCM350EBZ\tools\SerialDownloader).

  • Open the CM3WSD tool
  • Browse to the location of the *.hex file
  • Select the Baudrate
  • Select Program and Verify from the Flash Action drop down menu
  • Click start and follow the instructions in the Monitor Status box
  • Once completed, reset the ADuCM350

Q: How do I load a *.out file to the ADuCM350?

A: When code is compiled and built, EWARM will produce an output file. This output file can be a number of types (e.g. *.out, *.hex, *.bin; the desired type is specified in the project options). The EWARM IDE can download a *.out file to the ADuCM350 flash.

  • Launch EWARM
  • Open any IAR project
  • Go to Project -> Download -> Download File
  • Browse to the location of the *.out file
  • Once completed, reset the ADuCM350

Q: The part is locked, attempting to communicate through Serial Wire produces an error (see figure below). What do I do?

A: A typical scenario that causes such error is Page0 Checksum calculated incorrectly. Before proceeding further, ensure that the IAR EWARM project settings are correct, as detailed in "ADuCM350BBCZ Software Users Guide.pdf", section "Boot-Time CRC Validation".

To unlock the part, use the CM3WSD tool to perform a mass erase. The CM3WSD tool is part of the SDK, installed in <ADuCM350BBCZ_root>\tools\SerialDownloader.

By default <ADuCM350BBCZ_root> is "C:\Analog Devices\ADuCM350BBCZ\Eval-ADUCM350EBZ".

Q: Serial Downloader tool (CM3WSD) prints "Waiting for correct ID string" in the Monitor Status box (see figure below), how can I stop it?

A: Most likely this is caused by the current code running on the ADuCM350 transmitting data through the UART. Pulse RESET while SERIAL DOWNLOADER is pressed, as explained in the Serial Downloader Application Note (AN-1262). The CM3WSD tool should now behave as expected.

Q: How do I view output/results from Software Development Kit (SDK) examples?

A: All of the examples in the SDK return some results, data or information to the user (at a minimum PASS or FAIL). The test_common.c file defines a number of functions for returning data. There are 2 methods for viewing this data; using semi-hosting or via the UART interface. Which method is used depends on whether the TEST_COMMON_USES_UART conditional compilation macro is defined or not.

To use semi-hosting, an emulator must be connected to the EVAL-ADUCM350EBZ board. For Rev.0 boards, the emulator is connected to the JTAG or Trace connectors. For Rev.B boards, the emulator is on the USB-SWD/UART-EMUZ board, which connects to J14. In the IAR EWARM environment, click the Download and Debug button. This will download the firmware to the ADuCM350 and enter debug mode. Once the code has downloaded and the debug session has started, click View from the menu bar. Select the Terminal I/O option. This will open a terminal window within the EWARM environment and any results or other data to be returned to the user will be displayed here. Continue with debugging as normal.

To use the UART interface, the TEST_COMMON_USES_UART macro must be defined in the project file. This can be done by selecting Project from the menu bar and then selecting Options. Note that Options is not available during an active debug session. In the Options window that opens, select the C/C++ Compiler category on the left-hand side. Then select the Preprocessor tab. Within this tab there is a text box for Defined Symbols. On a new line in this text box add TEST_COMMON_USES_UART and click OK. See the image below. The project will need a full rebuild. Select Project from the menu bar and click Rebuild All. The firmware can now be downloaded to the ADuCM350. As the results and/or data will now be returned via the UART interface, it will be necessary to use a terminal application to listen to the COM port which is connected to the UART interface. It is not necessary to use EWARM or debug mode when using the UART to return the results.

Semi-hosting is the default option for all examples in the SDK.

Q: How do I use a Trace debugger with the Eval-ADUCM350EBZ Rev.B motherboard?

A: When attempting to use a trace debugger with the Eval-ADUCM350EBZ Rev.B motherboard, you may encounter the error message below when attempting to flash your code to the ADuCM350.

The Eval-ADUCM350EBZ Rev.B motherboard is supplied (by default) by the USB-SWD/UART-EMUZ emulator board. The 5V USB supply comes in through J14 on the motherboard and is regulated to 3.3V by U6 (ADP3333). This 3.3V supply is seen by the trace connector as the target power. The emulator board also uses SWDIO and SWCLK to allow serial wire debug. When attempting to use a trace debugger, these pins are also required and there is contention. The connection of the SWDIO and SWCLK pins to the emulator board can be easily broken by removing LK2 and LK4 on the USB-SWD/UART-EMUZ emulator board. This will allow the trace debugger to use the SWDIO and SWCLK pins and download to the part.

Tags: serial_downloader test_common_uses_uart semi_hosting hex_file aducm350 cm3wsd aducm35x trace debug out_file Show More
  • 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