Part Number: AM263P4-Q1
Other Parts Discussed in Thread: UNIFLASH
Hi,
We wrote and executed software in which the FLASH write access was removed by the MPU Firewall. After execution, we used UniFlash again to program the software and attempted to boot, but the system does not start; the UART log shows:
Starting OSPI Bootloader ...
SBL failed!!
(Meanwhile, the UniFlash log shows: "[SUCCESS] Program Load completed successfully.")
If we use UniFlash to program the software once more while the above log is being output, the system then boots normally.
Is this behavior because UniFlash (the flasher) cannot properly write to FLASH due to the lack of FLASH write access?
(Our custom board cannot be booted with DevBoot, so we connect UniFlash and perform FLASH programming while software that disables FLASH write access via the MPU Firewall is running.)
Can the above issue be avoided by enabling FLASH write access in the MPU Firewall at the time the flasher starts?