Merge pull request #569 from DrDoof/fix/flash-security-dummy

flash: set the dummy cycles required by the security register read
This commit is contained in:
René van Dorst authored and GitHub committed 2026-10-11 11:20:32 +00:00
commit 441e575661
1 file changed
+1
+1
View File
@@ -269,6 +269,7 @@ void flash_read_security(void)
// Set slow read mode
SFR_FLASH_CMD_R = CMD_READ_SECURITY_REGS; // read security register
SFR_FLASH_DUMMYCYCLES = 8;
// Transfer 4 bytes (command + 3byte address)
SFR_FLASH_TCONF = 4;