Analog.com Analog Dialogue Wiki English 简体中文
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 Library
    • Motor Control Hardware Platforms
    • Optical Sensing
    • 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
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    How ADI is keeping up with security threats in retail, logistics and banking point of sale (POS) systems

    Recent Discussions

    • ADALM-PLUTO maximum frequency
    • Issue running built programs on Pluto
    • Activity: Simple Op Amps, For ADALM1000 Fig. 1.3 Buffering example
    • ADALM-PLUTO [NETWORK] vs [USB_ETHERNET]
    • Using buffer size different from 2**n

    Places

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

    Latest Webinars

    • How ADI is keeping up with security threats in retail, logistics and banking point of sale (POS) systems
    • Multidimensional Simulations of Beamformers and other RF Integrated Circuits in Keysight SystemVue
    • Improve Smart Building Energy Efficiency with Industrial Ethernet Controlled Air Conditioning (HVAC) Systems
    • Sustainable Motion Control Solutions for High Performance Servo Drives
    • Audio Design Solutions for Augmented and Virtual Reality (AR/VR) Glasses
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes: AQQ 236 about strange marking on airplane engines
    View All

    Places

    • Community Help
    • Logic Lounge

    Resources

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

    Highlighted Blogs

    Why You Want to Authenticate Everything

     

    Can LTspice Break Physics?

    Latest Blogs

    • Crawl, Walk, And Run - The Journey To Create The Phaser
    • Hardware Holds The Key To Making Industrial Systems IEC 62443 Compliant
    • Behind the Scenes of DIYRadio Blogs: An Introduction
    • Empowering Surveillance Cameras To Capture A Scene Without Being Heard
    • Mastering The Metrics Makes Specifying Encoders Simpler
    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
Processors and DSP
Processors and DSP
Documents Can I place DATA in CODE memory and vice-versa?
  • Forums
  • FAQs/Docs
  • Members
  • Tags
  • More
  • 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-CM40x feature a Data Cache?
    • Are MEMX and MEMY physical memories?
    • Can I Perform flash programming in SPI Memory Mapped mode?
    • Can I place DATA in CODE memory and vice-versa?
    • Can I use MATLAB and Simulink with the ADSP-CM40x and IAR Tool-chain?
    • FAQ: Is available an elfloader.exe for the ADSP-CM408F?
    • How can I utilize Cache with Async memory connected SRAM?
    • How can I utilize Cache with Async memory connected SRAM? (1)
    • SPI/Cache :: Line-Wrap mode vs. Line-base-first mode. Which one to choose?
    • What do I need in order to evaluate the ADSP-CM40x Processors?
    • What is the EngineerZone URL location?
    • What is XiP?
  • +ADSP-SC58x: FAQ
  • +ADSP-TS001: FAQ
  • +ADSP-TS101S: FAQ
  • +ADSP-TS201S: FAQ
  • +CCES: FAQ
  • +cm40x: FAQ
  • +Command-line device programmer (cldp): FAQS
  • +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

Can I place DATA in CODE memory and vice-versa?

Q 

Can I place DATA in CODE memory and vice-versa?

 

A 

The ADSP-CM408F (an example package used for explanation) has 384KB of internal
SRAM memory that may be used as CODE or DATA. This is allowed in 64KB chunks of
SRAM that can be configured as either DATA or CODE at a time. However, this
organization is only to facilitate performance, so that SYS Bus (DATA) and I/D
Code buses (CODE) conflicts are avoided. Cortex M4 memory standard allows one
to place CODE in DATA region and vice versa. This is supported in CM40x as
well. This may come handy if user has to deal with small chunks of DATA that
cannot be justified to occupy entire 64KB, which may better used to configure
for CODE although with some memory allocated for DATA. This approach may be
used for CODE placement in DATA as well.

  • adsp-cm408f
  • Share
  • History
  • More
  • Cancel
Related
Recommended
Social
Quick Links
  • About ADI
  • ADI Signals+
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Incubators
Languages
  • English
  • 简体中文
  • 日本語
Newsletter

Interested in the latest news and articles about ADI products, design tools, training and events? Subscribe today!

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