Jan 09, 2023
11:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 09, 2023
11:25 PM
1 Solution
Jan 11, 2023
08:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 11, 2023
08:04 PM
Hello,
Thank you for contacting Infineon Technology.
Safeboot is to recover:
- Flash internal microcontroller initialization failure (Status Register1 = 0x61)
- Or Flash configuration corruption failure (Status Register1 = 0x41)
As all the register values are either FF or 00, it could be caused by some external reasons. So firstly we need to identify if it is flash corruption or external reasons by trying below:
- Change the host interface to 4S-4S-4S mode, read flash device ID. If it works, then means the flash is configured at QPI (4-4-4) mode. All the commands from host to flash should be sent in 4-4-4 mode.
- If step 1 does not work, change the host interface to 1S-1S-1S mode, read flash device ID. If it works, read Status Register1. If SR1=0x61 (which indicates flash microcontroller initialization failure), then do a Hardware reset. If SR1=0x41 (which indicates flash configuration corruption failure), then Clear Status Register1, and configure the flash configuration registers to expected values.
- If none of above two steps works, it will need to check flash connection, signals and POR timing etc.
Here is the flowchart for safeboot:
Hope this helps.
Thank you
Regards,
Bushra
1 Reply
Jan 11, 2023
08:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 11, 2023
08:04 PM
Hello,
Thank you for contacting Infineon Technology.
Safeboot is to recover:
- Flash internal microcontroller initialization failure (Status Register1 = 0x61)
- Or Flash configuration corruption failure (Status Register1 = 0x41)
As all the register values are either FF or 00, it could be caused by some external reasons. So firstly we need to identify if it is flash corruption or external reasons by trying below:
- Change the host interface to 4S-4S-4S mode, read flash device ID. If it works, then means the flash is configured at QPI (4-4-4) mode. All the commands from host to flash should be sent in 4-4-4 mode.
- If step 1 does not work, change the host interface to 1S-1S-1S mode, read flash device ID. If it works, read Status Register1. If SR1=0x61 (which indicates flash microcontroller initialization failure), then do a Hardware reset. If SR1=0x41 (which indicates flash configuration corruption failure), then Clear Status Register1, and configure the flash configuration registers to expected values.
- If none of above two steps works, it will need to check flash connection, signals and POR timing etc.
Here is the flowchart for safeboot:
Hope this helps.
Thank you
Regards,
Bushra