Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Support

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

    • A2B
    • Amplifiers
    • Analog Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing
    • Optical Sensing
    • Precision Technology Signal Chains
    • 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
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Recent Discussions

    • Pluto + GNURADIO frequency change
    • Pluto SDR
    • pluto sdr pyadi-iio continous iq recording
    • attribute error
    • gps-sdr-sim is not working with my ADALM-PLUTO

    Places

    • ADI Education Home
    • ADI Education China
    • ADI Education India
    • ADI Education Philippines
    • StudentZone (Analog Dialogue)
    • Virtual Classroom

    Latest Webinars

    • Optimizing GaN and GaAs RF Amplifier Performance Using Novel Biasing Techniques
    • Webinar Improving Switch-Mode Power Supplies Using Noise Cancelling Technology
    • Webinar Accelerate Your Design With a 2 to 24 GHz Wideband Transceiver Reference Design
    • How to Design an Optimized Motion Control System for Intelligent Edge Based Surveillance Camera
    • How to Enhance High Precision Current Sensing Systems
    View All
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes: Buffers and Fan Out
    View All

    Places

    • Community Help
    • Logic Lounge

    Resources

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

     

    How To Design Fieldbus Agnostic Smart Factory Sensors

     

    You Passed EMC Testing… But Wait, Is There More?

    Latest Blogs

    • The 5 Things You Need to Know about RF Matching Networks
    • Does Reliability Prediction Uncertainty Justify Mandating Two Channel Safety?
    • An Inside Look at 2022
    • Meet the Person Behind the Quizzes
    • Updates Required: Why Newer is Better
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
8052 Core Products
  • Analog Microcontrollers
8052 Core Products
Documents ADuC812: How to program external code space
  • Q&A
  • Docs/FAQs
  • Members
  • Tags
  • More
  • 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: How to program external code space

Q 

I have a aduc812 equipped with 16K (AT28 C256) of external memory. My program
to download is greater than 8K.
My questions are:
-       Are some switches "on board"  that I  have to  switch on or off ?
-       the Windows Serial downloader does not  work with program higher than
8K.
I wrote a program with the instruction that I find in teach note u004.
This program  works properly with programs  smaller than 8k.
If I try to  download a program higher then 8K,  I have a NACK answer from
aduc812.
This NACK occurs when the program tries to download the instruction in the
first location of external memory.
I do not know if  there is an instruction that I had to add in my program.

 

A 

The ADuC812 includes 8k of program memory Flash. The simple tools included with
the ADuC812 quickstart kit allow you to download code and debug in the 8k
program memory flash space.

The on-chip serial down load monitor program is designed for downloading code
to the internal flash program space only, it is not designed for downloading
code to external program memory space.

The windows serial downloader checks the size of the program and if it exceeds
8k will return an error.

To execute from external program memory space simply pull EA line low.  If you
require to write to external program space there are a few options:
· Use a parallel programmer to program external EEPROM
· Write your own serial downloader to  program external EEPROM, this would
reside in the ADuC812 program flash.

  • aduc8xx
  • aduc812
  • aduc8x
  • Share
  • History
  • More
  • Cancel
Related
Recommended
 
Social
Quick Links
  • About ADI
  • Partners
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Analog Garage
Languages
  • English
  • 简体中文
  • 日本語
  • Руccкий
Newsletters

Interested in the latest news and articles about ADI products, design tools, training and events? Choose from one of our 12 newsletters that match your product area of interest, delivered monthly or quarterly to your inbox.

Sign Up
Switch to mobile view
Analog Logo
© 1995 - 2023 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2023 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • Sitemap
  • Privacy & Security
  • Privacy Settings
  • Terms of use
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.