Skip to main content
Visitor II
December 28, 2024
Solved

Unable to access external storage 0x90000000 but download successful.

  • December 28, 2024
  • 1 reply
  • 728 views

AMOMO_0-1735395578022.png

The application can be downloaded to external Flash at address 0x90000000. However, during debug startup, address 0x90000000 cannot be accessed, even though there are no errors during XSPI initialization.

AMOMO_1-1735395740624.png

AMOMO_2-1735395780524.png

Hardware Error:

  • Fault PC (Program Counter): 0x2000fec8
  • Fault LR (Link Register): 0x38636566
  • Bus Fault Address: 0x90000000

Hard Fault Error The flash chip is: MX25UM25645G Set as follows AMOMO_0-1735396099632.pngAMOMO_1-1735396107943.pngAMOMO_2-1735396113323.pngAMOMO_3-1735396128935.pngAMOMO_4-1735396135509.pngAMOMO_5-1735396147134.pngAMOMO_6-1735396154570.png

 

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    LR looks to be ASCII junk, perhaps popped off the stack.

    You'll need to look at the generated CODE, and debug it

    1 reply

    Graduate II
    December 28, 2024

    LR looks to be ASCII junk, perhaps popped off the stack.

    You'll need to look at the generated CODE, and debug it

    AMOMOAuthor
    Visitor II
    December 29, 2024

    AMOMO_2-1735482126758.png

    AMOMO_3-1735482137621.png

    After adjustments, it seems that the internal flash and external flash structures are similar, but I still cannot access the address 0x90000000. Could you provide tutorials or documentation on how boot accesses flash content? Thank you very much.