NXPS32k144EVB issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NXPS32k144EVB issue

270 Views
Sami2098
Contributor I

Hello

i am using nxps32k144evb board when i try to flash code using s32 design studio following issue occure and if i press retry same window again appear one this i notices when i connect jflash 

Sami2098_0-1782720837787.png

Connecting ... - Connecting via USB to probe/ programmer device 0 - Probe/ Programmer firmware: J-Link V9 compiled May 7 2021 16:26:12 - Probe/ Programmer S/N: 69408845 - Device "S32K144" selected. - Target interface speed: 4000 kHz (Fixed) - VTarget = 3.288V - InitTarget() start - SWD selected. Executing JTAG -> SWD switching sequence. - Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set. For debugger connection the device needs to be unsecured. Note: Unsecuring will trigger a mass erase of the internal flash. - Executing default behavior previously saved in the registry. - Device will be unsecured now. - Timeout while unsecuring device. Erase never stops. - InitTarget() end - Took 2.15s - Found SW-DP with ID 0x2BA01477 - DPIDR: 0x2BA01477 - CoreSight SoC-400 or earlier - Scanning AP map to find all available APs - AP[2]: Stopped AP scan as end of AP map has been reached - AP[0]: AHB-AP (IDR: 0x24770011) - AP[1]: JTAG-AP (IDR: 0x001C0000) - Iterating through AP map to find AHB-AP to use - AP[0]: Skipped. Could not read CPUID register - AP[1]: Skipped. Not an AHB-AP - Attach to CPU failed. Executing connect under reset. - DPIDR: 0x2BA01477 - CoreSight SoC-400 or earlier - Scanning AP map to find all available APs - AP[2]: Stopped AP scan as end of AP map has been reached - AP[0]: AHB-AP (IDR: 0x24770011) - AP[1]: JTAG-AP (IDR: 0x001C0000) - Iterating through AP map to find AHB-AP to use - AP[0]: Skipped. Could not read CPUID register - AP[1]: Skipped. Not an AHB-AP - Could not find core in Coresight setup - InitTarget() start - SWD selected. Executing JTAG -> SWD switching sequence. - Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set. For debugger connection the device needs to be unsecured. Note: Unsecuring will trigger a mass erase of the internal flash. - Executing default behavior previously saved in the registry. - Device will be unsecured now. - Timeout while unsecuring device. Erase never stops. - InitTarget() end - Took 2.15s - Found SW-DP with ID 0x2BA01477 - DPIDR: 0x2BA01477 - CoreSight SoC-400 or earlier - Scanning AP map to find all available APs - AP[2]: Stopped AP scan as end of AP map has been reached - AP[0]: AHB-AP (IDR: 0x24770011) - AP[1]: JTAG-AP (IDR: 0x001C0000) - Iterating through AP map to find AHB-AP to use - AP[0]: Skipped. Could not read CPUID register - AP[1]: Skipped. Not an AHB-AP - Attach to CPU failed. Executing connect under reset. - DPIDR: 0x2BA01477 - CoreSight SoC-400 or earlier - Scanning AP map to find all available APs - AP[2]: Stopped AP scan as end of AP map has been reached - AP[0]: AHB-AP (IDR: 0x24770011) - AP[1]: JTAG-AP (IDR: 0x001C0000) - Iterating through AP map to find AHB-AP to use - AP[0]: Skipped. Could not read CPUID register - AP[1]: Skipped. Not an AHB-AP - Could not find core in Coresight setup - ERROR: Failed to connect. Could not establish a connection to target. - ERROR: Connect failed

0 Kudos
Reply
1 Reply

201 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Most likely causes:

  1. Flash security is set in the Flash Configuration Field.
    On S32K144, the security state comes from the Flash Secure Register FSEC , which is loaded from the flash security byte in the Flash Configuration Field at reset; the device is secure when SEC is not 0b10 .

  2. Mass erase is required but is being blocked.
    S32K144 can normally be unsecured by Mass Erase or Verify Backdoor Access Key , if those paths are enabled by the relevant FSEC bits . However, if CSEc was enabled by partitioning ,  mass erase is blocked , even if mass erase appears enabled in MEEN/MEEM https://community.nxp.com/t5/S32K/Device-is-secure/td-p/1744921

  3. If CSEc is enabled, recovery requires the CSEc debug-auth flow.
    The documented recovery path is to destroy the CSEc partition using CMD_DBG_CHAL and CMD_DBG_AUTH with knowledge of MASTER_ECU_KEY ; after that, mass erase becomes available again . If the key is not known and the device is secured with CSEc blocking mass erase, there is no recovery path for that device https://community.nxp.com/t5/S32K/Erased-whole-flash-of-the-S32K144/td-p/2036891

What I would try, in order:

  • If this board ever ran CSEc / secure boot / EEPROM-partitioning examples: assume CSEc partitioning may be involved. Use the MASTER_ECU_KEY flow if you have the key: CMD_DBG_CHAL  CMD_DBG_AUTH → destroy CSEc partition → mass erase.
  • If CSEc was not intentionally enabled: try a basic J-Link recovery once more with very low SWD speed, power-cycle, reset asserted/released correctly, and unlock Kinetis . This only works when mass erase is actually allowed;  unlock Kinetis should work if mass erase is enabled. https://community.nxp.com/t5/S32K/S32K148-Unsecurity/m-p/1182938
  • If you still have any way to connect using a PEmicro/OpenSDA-style flow: it may be worth trying because NXP notes that PEmicro tools erase using Erase Flash Block , while J-Link uses mass erase when loading a new project; that distinction can matter when CSEc blocks mass erase.
  • If reset is physically held low: fix that first. A target stuck in reset can also prevent core attach, but your log’s repeated security/mass-erase timeout is the stronger clue.

Bottom line: this looks like a security/CSEc/mass-erase-blocked condition , not a normal connection-speed problem. If CSEc is enabled and you do not have the MASTER_ECU_KEY , the practical answer is usually to replace the MCU.

The decisive branch is whether CSEc partitioning was enabled: with the MASTER_ECU_KEY , destroy the CSEc partition and erase; without it, the secured S32K144 is likely unrecoverable.

 

Best Regards,
Robin

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2387593%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ENXPS32k144EVB%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2387593%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%3CBR%20%2F%3E%3CBR%20%2F%3Ei%20am%20using%20nxps32k144evb%20board%20when%20i%20try%20to%20flash%20code%20using%20s32%20design%20studio%20following%20issue%20occure%20and%20if%20i%20press%20retry%20same%20window%20again%20appear%20one%20this%20i%20notices%20when%20i%20connect%20jflash%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sami2098_0-1782720837787.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Sami2098_0-1782720837787.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F390553iDDA8045A802CB9BE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Sami2098_0-1782720837787.png%22%20alt%3D%22Sami2098_0-1782720837787.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EConnecting%20...%20-%20Connecting%20via%20USB%20to%20probe%2F%20programmer%20device%200%20-%20Probe%2F%20Programmer%20firmware%3A%20J-Link%20V9%20compiled%20May%207%202021%2016%3A26%3A12%20-%20Probe%2F%20Programmer%20S%2FN%3A%2069408845%20-%20Device%20%22S32K144%22%20selected.%20-%20Target%20interface%20speed%3A%204000%20kHz%20(Fixed)%20-%20VTarget%20%3D%203.288V%20-%20InitTarget()%20start%20-%20SWD%20selected.%20Executing%20JTAG%20-%26gt%3B%20SWD%20switching%20sequence.%20-%20%3CSTRONG%3EProtection%20bytes%20in%20flash%20at%20addr.%200x400%20-%200x40F%20indicate%20that%20readout%20protection%20is%20set.%3C%2FSTRONG%3E%20For%20debugger%20connection%20the%20device%20needs%20to%20be%20unsecured.%20Note%3A%20Unsecuring%20will%20trigger%20a%20mass%20erase%20of%20the%20internal%20flash.%20-%20Executing%20default%20behavior%20previously%20saved%20in%20the%20registry.%20-%20Device%20will%20be%20unsecured%20now.%20-%20Timeout%20while%20unsecuring%20device.%20Erase%20never%20stops.%20-%20InitTarget()%20end%20-%20Took%202.15s%20-%20Found%20SW-DP%20with%20ID%200x2BA01477%20-%20DPIDR%3A%200x2BA01477%20-%20CoreSight%20SoC-400%20or%20earlier%20-%20Scanning%20AP%20map%20to%20find%20all%20available%20APs%20-%20AP%5B2%5D%3A%20Stopped%20AP%20scan%20as%20end%20of%20AP%20map%20has%20been%20reached%20-%20AP%5B0%5D%3A%20AHB-AP%20(IDR%3A%200x24770011)%20-%20AP%5B1%5D%3A%20JTAG-AP%20(IDR%3A%200x001C0000)%20-%20Iterating%20through%20AP%20map%20to%20find%20AHB-AP%20to%20use%20-%20AP%5B0%5D%3A%20Skipped.%20Could%20not%20read%20CPUID%20register%20-%20AP%5B1%5D%3A%20Skipped.%20Not%20an%20AHB-AP%20-%20Attach%20to%20CPU%20failed.%20Executing%20connect%20under%20reset.%20-%20DPIDR%3A%200x2BA01477%20-%20CoreSight%20SoC-400%20or%20earlier%20-%20Scanning%20AP%20map%20to%20find%20all%20available%20APs%20-%20AP%5B2%5D%3A%20Stopped%20AP%20scan%20as%20end%20of%20AP%20map%20has%20been%20reached%20-%20AP%5B0%5D%3A%20AHB-AP%20(IDR%3A%200x24770011)%20-%20AP%5B1%5D%3A%20JTAG-AP%20(IDR%3A%200x001C0000)%20-%20Iterating%20through%20AP%20map%20to%20find%20AHB-AP%20to%20use%20-%20AP%5B0%5D%3A%20Skipped.%20Could%20not%20read%20CPUID%20register%20-%20AP%5B1%5D%3A%20Skipped.%20Not%20an%20AHB-AP%20-%20Could%20not%20find%20core%20in%20Coresight%20setup%20-%20InitTarget()%20start%20-%20SWD%20selected.%20Executing%20JTAG%20-%26gt%3B%20SWD%20switching%20sequence.%20-%20Protection%20bytes%20in%20flash%20at%20addr.%200x400%20-%200x40F%20indicate%20that%20readout%20protection%20is%20set.%20For%20debugger%20connection%20the%20device%20needs%20to%20be%20unsecured.%20Note%3A%20Unsecuring%20will%20trigger%20a%20mass%20erase%20of%20the%20internal%20flash.%20-%20Executing%20default%20behavior%20previously%20saved%20in%20the%20registry.%20-%20Device%20will%20be%20unsecured%20now.%20-%20Timeout%20while%20unsecuring%20device.%20Erase%20never%20stops.%20-%20InitTarget()%20end%20-%20Took%202.15s%20-%20Found%20SW-DP%20with%20ID%200x2BA01477%20-%20DPIDR%3A%200x2BA01477%20-%20CoreSight%20SoC-400%20or%20earlier%20-%20Scanning%20AP%20map%20to%20find%20all%20available%20APs%20-%20AP%5B2%5D%3A%20Stopped%20AP%20scan%20as%20end%20of%20AP%20map%20has%20been%20reached%20-%20AP%5B0%5D%3A%20AHB-AP%20(IDR%3A%200x24770011)%20-%20AP%5B1%5D%3A%20JTAG-AP%20(IDR%3A%200x001C0000)%20-%20Iterating%20through%20AP%20map%20to%20find%20AHB-AP%20to%20use%20-%20AP%5B0%5D%3A%20Skipped.%20Could%20not%20read%20CPUID%20register%20-%20AP%5B1%5D%3A%20Skipped.%20Not%20an%20AHB-AP%20-%20Attach%20to%20CPU%20failed.%20Executing%20connect%20under%20reset.%20-%20DPIDR%3A%200x2BA01477%20-%20CoreSight%20SoC-400%20or%20earlier%20-%20Scanning%20AP%20map%20to%20find%20all%20available%20APs%20-%20AP%5B2%5D%3A%20Stopped%20AP%20scan%20as%20end%20of%20AP%20map%20has%20been%20reached%20-%20AP%5B0%5D%3A%20AHB-AP%20(IDR%3A%200x24770011)%20-%20AP%5B1%5D%3A%20JTAG-AP%20(IDR%3A%200x001C0000)%20-%20Iterating%20through%20AP%20map%20to%20find%20AHB-AP%20to%20use%20-%20AP%5B0%5D%3A%20Skipped.%20Could%20not%20read%20CPUID%20register%20-%20AP%5B1%5D%3A%20Skipped.%20Not%20an%20AHB-AP%20-%20Could%20not%20find%20core%20in%20Coresight%20setup%20-%20ERROR%3A%20Failed%20to%20connect.%20Could%20not%20establish%20a%20connection%20to%20target.%20-%20ERROR%3A%20Connect%20failed%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2388129%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20NXPS32k144EVB%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2388129%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%0A%3CP%20class%3D%22%22%3EMost%20likely%20causes%3A%3C%2FP%3E%0A%3COL%20class%3D%22%22%3E%0A%3CLI%20class%3D%22%22%3E%0A%3CP%20class%3D%22%22%3E%3CSTRONG%20class%3D%22%22%3EFlash%20security%20is%20set%20in%20the%20Flash%20Configuration%20Field.%3C%2FSTRONG%3E%3CBR%20%2F%3EOn%20S32K144%2C%20the%20security%20state%20comes%20from%20the%20Flash%20Secure%20Register%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3EFSEC%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%2C%20which%20is%20loaded%20from%20the%20flash%20security%20byte%20in%20the%20Flash%20Configuration%20Field%20at%20reset%3B%20the%20device%20is%20secure%20when%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3ESEC%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eis%20not%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3E0b10%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%20class%3D%22%22%3E%0A%3CP%20class%3D%22%22%3E%3CSTRONG%20class%3D%22%22%3EMass%20erase%20is%20required%20but%20is%20being%20blocked.%3C%2FSTRONG%3E%3CBR%20%2F%3ES32K144%20can%20normally%20be%20unsecured%20by%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%20class%3D%22%22%3EMass%20Erase%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eor%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%20class%3D%22%22%3EVerify%20Backdoor%20Access%20Key%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%2C%20if%20those%20paths%20are%20enabled%20by%20the%20relevant%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3EFSEC%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ebits%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E.%20However%2C%20if%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%20class%3D%22%22%3ECSEc%20was%20enabled%20by%20partitioning%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%2C%20%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%20class%3D%22%22%3Emass%20erase%20is%20blocked%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%2C%20even%20if%20mass%20erase%20appears%20enabled%20in%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3EMEEN%2FMEEM%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FDevice-is-secure%2Ftd-p%2F1744921%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FDevice-is-secure%2Ftd-p%2F1744921%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%20class%3D%22%22%3E%0A%3CP%20class%3D%22%22%3E%3CSTRONG%20class%3D%22%22%3EIf%20CSEc%20is%20enabled%2C%20recovery%20requires%20the%20CSEc%20debug-auth%20flow.%3C%2FSTRONG%3E%3CBR%20%2F%3EThe%20documented%20recovery%20path%20is%20to%20destroy%20the%20CSEc%20partition%20using%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3ECMD_DBG_CHAL%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3ECMD_DBG_AUTH%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ewith%20knowledge%20of%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3EMASTER_ECU_KEY%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3B%20after%20that%2C%20mass%20erase%20becomes%20available%20again%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E.%20If%20the%20key%20is%20not%20known%20and%20the%20device%20is%20secured%20with%20CSEc%20blocking%20mass%20erase%2C%20there%20is%20no%20recovery%20path%20for%20that%20device%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FErased-whole-flash-of-the-S32K144%2Ftd-p%2F2036891%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FErased-whole-flash-of-the-S32K144%2Ftd-p%2F2036891%3C%2FA%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%20class%3D%22%22%3EWhat%20I%20would%20try%2C%20in%20order%3A%3C%2FP%3E%0A%3CUL%20class%3D%22%22%3E%0A%3CLI%20class%3D%22%22%3E%3CSTRONG%20class%3D%22%22%3EIf%20this%20board%20ever%20ran%20CSEc%20%2F%20secure%20boot%20%2F%20EEPROM-partitioning%20examples%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eassume%20CSEc%20partitioning%20may%20be%20involved.%20Use%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3EMASTER_ECU_KEY%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eflow%20if%20you%20have%20the%20key%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3ECMD_DBG_CHAL%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%E2%86%92%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3ECMD_DBG_AUTH%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%E2%86%92%20destroy%20CSEc%20partition%20%E2%86%92%20mass%20erase.%3C%2FLI%3E%0A%3CLI%20class%3D%22%22%3E%3CSTRONG%20class%3D%22%22%3EIf%20CSEc%20was%20not%20intentionally%20enabled%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etry%20a%20basic%20J-Link%20recovery%20once%20more%20with%20very%20low%20SWD%20speed%2C%20power-cycle%2C%20reset%20asserted%2Freleased%20correctly%2C%20and%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3Eunlock%20Kinetis%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E.%20This%20only%20works%20when%20mass%20erase%20is%20actually%20allowed%3B%20%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3Eunlock%20Kinetis%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eshould%20work%20if%20mass%20erase%20is%20enabled.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K148-Unsecurity%2Fm-p%2F1182938%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K148-Unsecurity%2Fm-p%2F1182938%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22%22%3E%3CSTRONG%20class%3D%22%22%3EIf%20you%20still%20have%20any%20way%20to%20connect%20using%20a%20PEmicro%2FOpenSDA-style%20flow%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eit%20may%20be%20worth%20trying%20because%20NXP%20notes%20that%20PEmicro%20tools%20erase%20using%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%20class%3D%22%22%3EErase%20Flash%20Block%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%2C%20while%20J-Link%20uses%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%20class%3D%22%22%3Emass%20erase%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ewhen%20loading%20a%20new%20project%3B%20that%20distinction%20can%20matter%20when%20CSEc%20blocks%20mass%20erase.%3C%2FLI%3E%0A%3CLI%20class%3D%22%22%3E%3CSTRONG%20class%3D%22%22%3EIf%20reset%20is%20physically%20held%20low%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efix%20that%20first.%20A%20target%20stuck%20in%20reset%20can%20also%20prevent%20core%20attach%2C%20but%20your%20log%E2%80%99s%20repeated%20security%2Fmass-erase%20timeout%20is%20the%20stronger%20clue.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22%22%3EBottom%20line%3A%20this%20looks%20like%20a%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%20class%3D%22%22%3Esecurity%2FCSEc%2Fmass-erase-blocked%20condition%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%2C%20not%20a%20normal%20connection-speed%20problem.%20If%20CSEc%20is%20enabled%20and%20you%20do%20not%20have%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3EMASTER_ECU_KEY%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%2C%20the%20practical%20answer%20is%20usually%20to%20replace%20the%20MCU.%3C%2FP%3E%0A%3CP%20class%3D%22%22%3E%3CMARK%20class%3D%22bg-%5B%23FEE3A4%5D%20font-medium%22%3EThe%20decisive%20branch%20is%20whether%20CSEc%20partitioning%20was%20enabled%3A%20with%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%20class%3D%22%22%3EMASTER_ECU_KEY%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%2C%20destroy%20the%20CSEc%20partition%20and%20erase%3B%20without%20it%2C%20the%20secured%20S32K144%20is%20likely%20unrecoverable.%3C%2FMARK%3E%3C%2FP%3E%0A%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22%22%3EBest%20Regards%2C%3CBR%20%2F%3ERobin%3C%2FP%3E%3C%2FLINGO-BODY%3E