Analog.com Analog Dialogue Wiki English 简体中文 日本語
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Forums

    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

    Maximize the Benefits of High Bandwidth Current Sense Amplifiers for Space Constrained Applications

    Recent Discussions

    • Pluto is not receiving data
    • ADALM-pluto sampling frequency
    • ADALM PLUTO SDR
    • Bad FIT image format and MSD mounting errors in firmware built for Sidekiq Z2
    • set the sample rate to 30MHz or the maximum that usb2.0 allows

    Places

    • ADI Education Home
    • ADI Webinars
    • StudentZone (Analog Dialogue)
    • Video Annex
    • Virtual Classroom

    Latest Webinars

    • Maximize the Benefits of High Bandwidth Current Sense Amplifiers for Space Constrained Applications
    • Design Efficient Power Solutions for Battery-powered Applications
    • Shunt-based Energy Metering in High-Power Applications
    • Isolating GigaSpeed: Unlocking Data Integrity for USB and HDMI Communication
    • Extend Battery Life and Maximize Performance - Let Supervisors Do The Work
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ245 on Fossil Dating with Carbon14
    View All

    Places

    • Community Help
    • Logic Lounge
    • The Weekly Brew

    Resources

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

    Highlighted Blogs

    Handling the Heat with Thermal Circuits

     

    Demystifying DAC Selection: Exploring Total Uncorrected Error

    Latest Blogs

    • Join the Analog Devices IEEE Radar Challenge
    • Seeing is Believing but Smart Surveillance Cameras Let You Speak and Listen Too!
    • We are Celebrating a Milestone on EngineerZone: Meet Our 100K Member!
    • How to Raise the Resolution of an Optical Motor Encoder without Changing the Disk
    • The Changing Nature of Logistics and Retail Automation
    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
Blackfin Processors
  • Processors and DSP
Blackfin Processors
Documents How to create a bootable LDR file of Lockbox Security example?
  • Forums
  • File Uploads
  • FAQs/Docs
  • Members
  • Tags
  • More
  • Cancel
  • +Documents
  • +.ldf file: FAQ
  • +ADI EZ-Kit: FAQ
  • +ADSP-BF50x: FAQ
  • +ADSP-BF527: FAQ
  • +ADSP-BF537: FAQ
  • +ADSP-BF548: FAQ
  • +ADSP-BF592: FAQ
  • ADSP-BF5xx SPI Full Duplex communication in DMA mode
  • +BF506F: FAQ
  • +BF50xF: FAQ
  • +BF51x: FAQ
  • +BF51xF: FAQ
  • +BF525C: FAQ
  • +BF527: FAQ
  • +BF537: FAQ
  • +BF54x/BF52x USB controller: FAQ
  • BF592: FAQ
  • +BF702: FAQ
  • +Blackfin: FAQ
  • CLI and "Target option Mask interrupts during step" FAQ
  • +External vs. Internal Voltage Regulator: FAQ
  • +EZ-KITs via USB: FAQ
  • Floating point to integer conversion error: FAQ
  • Frame sync operation for Primary and secondary data mode with TFSR: FAQ
  • Generate safe and strong keys: FAQ
  • Global variables for multi cores: FAQ
  • +I2S BUS: FAQ
  • -Lockbox: FAQ
    • FAQ: What is Lockbox?
    • How to create a bootable LDR file of Lockbox Security example?
  • +PPI port pins: FAQ
  • +SDP image: FAQ
  • +SDRAM: FAQ
  • SPI example for ADSP-BF592
  • TRU Assembly code for ADSP-BF609
  • +USB VBUS: FAQ
  • USB:: Disabling Double Buffering FAQ
  • +VisualDSP++: FAQ
  • Migrating Legacy BLACKFIN to ADSP-BF60x/70x BLACKFIN+ Processors

How to create a bootable LDR file of Lockbox Security example?

The Lockbox overlay project in the Visual DSP++ installation (...\VisualDSP 5.0\Blackfin\Examples\ADSP-BF527 EZ-KIT Lite\lockbox) requires some

additional process in order to create a proper bootable LDR image. Without this, booting the original code fails with authentication failure.

Apparently, the post build command for digital signing of the secure sections in application dxe was called after Loader file (LDR) generation, thus failing any subsequent authentication. In order to overcome this, you could have the Project Options set for Executable file, and then generate LDR file by explicitly invoking the elfloader with another post build command.

Note that you will need to extract the exact elfloader.exe options for this new post build command. For that, you should first set the Project Options for Loader file, turn on verbose through “Settings: Preferences: Project: Verbose build output”, and then copy the entire relevant line from the VDSP verbose output after a project build (you can see the verbose being printed on the VDSP console, when the project is being built with the VDSP toolchain).

Once you capture the options you can copy the same to your post build command - which is generally a one-time procedure. Example build command tested for 0.2 Si with VDSP Update 8 is given below:

Serial boot:

"C:\Program Files\Analog Devices\VisualDSP 5.0\elfloader.exe" .\temp\Debug\pre-collaudo_92530.dxe -b SPI -f HEX -Width 8 -init "C:\Program Files\Analog Devices\VisualDSP 5.0\Blackfin\ldr\ezkitBF527_initcode_ROM-V02.dxe" -o .\temp\Debug\pre-collaudo_92530.ldr -No2Kernel -si-revision any -proc ADSP-BF527

Parallel boot:

"C:\Program Files\Analog Devices\VisualDSP 5.0\elfloader.exe" .\temp\Debug\pre-collaudo_92530.dxe -b Flash -f HEX -Width 16 -init "C:\Program Files\Analog Devices\VisualDSP 5.0\Blackfin\ldr\ezkitBF527_initcode_ROM-V02.dxe" -o .\temp\Debug\pre-collaudo_92530.ldr -No2Kernel -si-revision any -proc ADSP-BF527

The same issue and workaround should be applicable for BF548 Lockbox example as well.

...\VisualDSP 5.0\Blackfin\Examples\ADSP-BF548 EZ-KIT Lite\lockbox

  • lockbox
  • 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
  • 简体中文
  • 日本語
myAnalog

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

Go to myAnalog
Analog Logo
©1995 - 2023 Analog Devices, Inc. All Rights Reserved
沪ICP备09046653号-1
  • Sitemap
  • Legal
  • Privacy & Security
  • Privacy Settings
  • Cookie Settings