fix(bootloader): skip XMC startup for vendor ID 0x46

Chips with RDID vendor 0x46 are not XMC and should not enter the XMC
startup flow via the RDID fast path.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
C.S.M
2026-08-11 19:18:51 +08:00
parent 6a9c44fe7e
commit 8d3e6ebe02

View File

@@ -912,6 +912,12 @@ static IRAM_ATTR bool is_xmc_chip_strict(uint32_t rdid)
uint32_t mfid = BYTESHIFT(rdid, 1);
uint32_t cpid = BYTESHIFT(rdid, 0);
// xmc vendor id begin with 0x46 means that it's a D-series chip
// which did not need the startup flow
if (vendor_id == 0x46) {
return true;
}
if (vendor_id != XMC_VENDOR_ID_1) {
return false;
}