marian-m12l / game-and-watch-smw

6 stars 2 forks source link

Fatal Exception: Hardfault PC=0x08001114 LR-0x080011a1 #8

Closed petrica closed 11 months ago

petrica commented 12 months ago

Cannot flash successfully with 64MB ext flash.

Device: Mario Adapter: sipeed Ext Flash: MX25U51245G Command: make INTFLASH_BANK=1 GNW_TARGET=mario EXTFLASH_SIZE_MB=64 ENABLE_SAVESTATE=1 LARGE_FLASH=1 flash

Error message on screen:

Fatal Exception: Hardfault
PC=0x08001114 LR-0x080011a1
init_mx_issi
Found config: MX25U51245G
Status: 40
JEDEC_ID: C2 25 3A
petrica commented 11 months ago

I was using a different adapter to flash the firmware and the external flash was not programmed. Fixed it by referencing the scripts/stm32h7x_spiflash.cfg.