NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

DA8xx Boot Sequence

From Texas Instruments Wiki
Jump to: navigation, search

Introduction[edit]

This page describes communication between host microcontroller (uC) and DSP when a Secondary Boot Loader (SBL) is used. SBL has below capabilities.

  1. Auto boot: DSP boots itself after reset without communicating uC
  2. Normal Boot: DSP boots itself after reset with communicationg uC. You can choose Boot or Flash update by command
  3. Flash update: DSP updates its flash after reset with communicationg uC. You can choose Boot or Flash update by command

This section focusing 2 and 3 from host uC side.

Note 
In the boot process, all words should be treated as 32-bit, little endian. This is different from alpha commands where they are 16-bit, little endian.

Normal Boot (Boot PA/F from flash)[edit]

  1. The uC releases DSP from the Reset State
  2. Sync
    • The DSP sends MASTER_SLAVE_SYNC1 (0x22554411)
    • The uC responds MASTER_SLAVE_SYNC2 (0x33665577)
    • The DSP sends MASTER_SLAVE_SYNC3 (0x990033AA)
  3. The uC sends non-MAGIC word, for example 0x12345678.
    • DSP understands normal boot is required.
  4. uC sends the indirect value for the base address of the boot table in the flash memory.
    • FLASH_UPDATE_ADDRESS1 (0x11111111) for 0x00010000.
    • DSP starts loading PA application image from offset 0x00010000 in flash, to RAM.
    • After finishing loading, DSP starts running from the entry point.
  5. DSP runs the main audio application.
  6. The uC can start sending alpha commands to DSP.

NormalBoot.PNG

How to make flash update image[edit]

  • fimage.h, which is used to factory .bin can be used for update image
    • ex) coff2pfimg -b 0x00010000 -z -c fimage.h pa.out
  • If you need binary file
    • ex) coff2pfimg -b 0x00010000 -z -u fimage.dat pa.out
  • -z is compress option. You can remove if you don’t need compression. Note that you should delete pre-define of USE_COMPRESSION in sbl.pjt

Flash Update (Write PA application image to flash)[edit]

  1. The uC releases DSP from the Reset State
  2. Sync
    • The DSP sends MASTER_SLAVE_SYNC1 (0x22554411)
    • The uC responds MASTER_SLAVE_SYNC2 (0x33665577)
    • The DSP sends MASTER_SLAVE_SYNC3 (0x990033AA)
  3. The uC sends MAGICWORD (0x15223759)
    • DSP understands that Flash Update is required.
  4. DSP acknowledges by sending MAGICWORD.
  5. The uC sends the number of boot image to be updated (0x0000001).
  6. uC sends the indirect value for the base address of the boot table in the flash memory
    • FLASH_UPDATE_ADDRESS1 (0x11111111) for 0x00010000
  7. The uC starts sending the value in the image generated by the utilites (coff2pfimg.exe) from the number of sections to the end of the table.
  8. DSP writes the code to the flash memory. After that, DSP sends the checksum to the uC.
  9. The uC reboot DSP.

FlashUpdate.PNG

More Detail about Parallel Flash Bootload[edit]

  • sbl_mce in the SDK
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article DA8xx Boot Sequence here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article DA8xx Boot Sequence here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article DA8xx Boot Sequence here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article DA8xx Boot Sequence here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article DA8xx Boot Sequence here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article DA8xx Boot Sequence here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article DA8xx Boot Sequence here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article DA8xx Boot Sequence here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article DA8xx Boot Sequence here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity