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

    Designing for Silence: EMC Testing and Reduction for Digital Isolators and DC-DC Converters

    Join us for an in-depth webinar where we dive into the world of EMC testing applied to ADI’s digital isolators. We''ll walk through the test setups, standards...

    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
    • Power Management Fundamentals II Session 5: Deeper Look into Power Protection
    • Power Management Fundamentals II Session 4: Isolated Converters Explained
    • Designing for Silence: EMC Testing and Reduction for Digital Isolators and DC-DC Converters
    • Maximize Workflow: Analog Devices eShop New Upload Tools
    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

    Turning up the Noise: .NOISE Simulations in LTspice: Part 1 of 3

    Noise simulations are a crucial aspect of circuit design, allowing engineers to understand and mitigate the impact of noise on their circuits. There are...

     

    The ABCs of SerDes

    SerDes has revolutionized how we transport data at gigabit speeds with low pin count and has become the backbone of modern-day communication. GMSL is ADI...

    Latest Blogs

    • A Designer’s Guide to Isolated Transceiver Architectures
    • Understanding Safe Failure Fraction: Can There Be Multiple Values?
    • Powering the Future: Multiphase Buck-Boost Innovation for Telecom: Part 3 of 3
    • Freedom from Interference: Control of Mixed ASIL Criticalities
    • High-Tech Pro and Crafty Creator: Meet Iulia, Our Inspiring Super User!
    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
8052 Core Products
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
8052 Core Products
  • Microcontrollers
8052 Core Products
Documents ADuC812: Failure in restarting
  • Q&A
  • Docs/FAQs
  • Members
  • Tags
  • Cancel
  • Documents
  • -ADuC812: FAQ
    • How to remove DAC zero Code error
    • ADUC812: Battery lifetime
    • ADuC812: Dealing with the interface I2C
    • Value of sample rate more higher that 200Ks are dangerous then customer never must use this value ?
    • ADuC812: enter serial download mode
    • ADuC812: Failure in restarting
    • ADUC812: Failure to Reset/Download
    • ADuC812: Flash reliability
    • ADuC812: glitches on the reset line
    • ADuC812: How to program external code space
    • ADuC812: latch-up
    • ADuC812: Measure ambient temperature
    • ADuC812: On Chip temperature sensor
    • ADuC812: Power down mode and choice of C compilers
    • ADuC812: Problems downloading to FLASH
    • ADuC812: PSEN pin
    • ADuC812: Reseting failure when downloading user program with WSD
    • ADuC812: serial interface
    • ADuC812: Status of the port on power-up
    • How do I migrate from ADuC812 to ADuC831 or ADu832?
  • +ADUC814: FAQ
  • +ADUC816: FAQ
  • +ADUC824: FAQ
  • +ADuC831: FAQ
  • +ADUC832: FAQ
  • +ADUC834: FAQ
  • +ADuC836: FAQ
  • +ADuC83x: FAQ
  • +ADUC841: FAQ
  • +ADuC842: FAQ
  • +ADUC845: FAQ
  • +ADuC847: FAQ
  • +ADUC848: FAQ
  • +ADuC84x: FAQ
  • +ADUC8xx: FAQ
  • +ADUCXX: FAQ

ADuC812: Failure in restarting

Q 

During testing new series of drivers which depend
on ADuC812 in one of his dispositon the incident hapend:
1. Microconverter was several times programmed - OK
2. Microconverter worked with different programs - OK
3. During next programming can't be restarted
   (WSD -> Resseting..Failed)
4. Microconverter works with last program before programming trial.
   UART working OK.
In other dispositions programming run correctly.
What was happend? How we can solve this problem?

 

A 

There are a number of things which could prevent the ADuC812 to enter serial
download mode and hence prevent re-programming of the device.

First consider that the ADuC812 may not be receiving a valid RESET condition
which forces it into serial download mode.
The PSEN pin is normally configured as an output. When the RESET pin is
asserted, the PSEN pin is configured as a digital input and the only current in
or out of the pin should be leakage current (which we measure to be 10nA).
Therefore, when RESET is brought high, the voltage at PSEN should be very close
to ground.  When RESET is released, the voltage at PSEN is sampled on the
falling edge of RESET and the part will go into serial download mode if the
voltage at PSEN is interpreted as a logic low.

Could I ask you to measure the voltage at PSEN while the RESET pin is held high
with the 1k pull-down resistor. If you do not see a voltage very close to zero,
it is possible that something else is driving PSEN high. 

Does your program write to the on-chip EEPROM (User FLASH)?
If it does, then consider the possibility that you are writing to memory
locations which are higher than page 159. If you write to pages 160 or higher
there is a strong possibility that you will set the security bits on the
ADuC812.  We have removed all mention of the security bits from the datasheet
and we strongly recommend that users do not try to use them. This feature is
not fully tested and is not guaranteed. If you set the security bits, you will
not be able to enter the serial download or debug modes and you have
effectively locked yourself out of the code space on the ADuC812.

If you think you may have accidentally set the security bits, you can recover
the part by placing the part in parallel programming mode and executing an
ERASE ALL command (as described in the datasheet). You should then be able to
enter serial download and debug modes again. If the above procedure allowed you
to recover operation of the ADuC812, you will then have to analyse your code,
work out how you wrote to the higher Flash pages and alter your code to fix the
problem.

Reset generator
The recommended reset circuit for use with the ADuC812 is an active high reset
generator preferably with in built delay of approx 100ms such as the ADM810.
Note that an active low reset generator through a logic inverter is not
acceptable. Logic inverters do not guarantee their output state during power up
and power down and can cause glitches on the reset. Ensure that you are using
an  active high reset circuit similar to the ADM810. Take a look a the RESET
pin on the ADuC812 on a 'scope during power up and look at VDD on the other
channel of the scope. Capture on a digital 'scope what happens during power up
an power down. Look for any glitches on reset (you may have to cycle power many
times to capture a glitch). Also look for any instance where the ADuC812 is
released from reset with lower than spec powers supply. The reset signal should
at all times conform to the timing diagram given in figure 25 of the user's
guide (available from www.analog.com/microconverter ).

Tags: aduc8xx aduc812 aduc8x
  • 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