SPVA070 June   2026 AM2752-Q1 , AM2754-Q1 , AM620-Q1 , AM623 , AM625 , AM625-Q1 , AM62A1-Q1 , AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM62D-Q1 , AM62P , AM62P-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Bad Block Management
    1. 2.1 Block Failure
    2. 2.2 Feasibility of Reversing Bad Blocks
  6. 3Bad Block Management in ROM Bootloader
  7. 4Bad Block Management in TITM MCU+ SDK
    1. 4.1 Flash Read Operation Flow
    2. 4.2 Flash Write Operation Flow
    3. 4.3 Flash Erase Operation Flow
  8. 5Bad Block Management in TITM Processors SDK
    1. 5.1 Flash Read Operation Flow
    2. 5.2 Flash Write Operation Flow
    3. 5.3 Flash Erase Operation Flow
  9. 6Summary
  10. 7References

Bad Block Management in ROM Bootloader

The ROM Bootloader (RBL) initiates the boot process by loading the Secondary Bootloader (SBL) from Flash memory, starting at location 0x00. To ensure data integrity, the RBL first checks the bad block marker of the initial block. If the block is marked as bad, the RBL iteratively checks subsequent blocks, examining their bad block markers until it identifies a good block. Once a valid block is found, the RBL loads the SBL from that block, ensuring a reliable boot process.

 Bad Block Skipping in RBLFigure 3-1 Bad Block Skipping in RBL