Stuck in Reset

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Stuck in Reset

1,773 次查看
Satyajit_Patil
Contributor II

I have been working with S32M24x EVB and the controller is stuck in reset. I am using on board debugger.
I could see the reset led is high always and I am unable to flash anything in the controller. 

I am using design studio and I have tried by enabling "attach to running target", the on board debugger is able to attack but could not halt or reset, after some time the attachment also seem to be breaking.

I tried by directly using the "arm-none-eabi-gdb.exe" and it says the device is secured and soft reset failed.

I have also checked the hw and no component is damaged.

The flash config words in the running program are - 

.section .flash_config, "a"
.long 0xFFFFFFFF ; 8 bytes backdoor comparison key
.long 0xFFFFFFFF ;
.long 0xFFFFFFFF ; 4 bytes program flash protection bytes
.long 0xFFFF7FFE ; FDPROT:FEPROT:FOPT:FSEC(0xFE = unsecured)

 and the flash section is - 

MEMORY
{
int_flash_config : ORIGIN = 0x00000400, LENGTH = 0x00000010 
}
SECTIONS
{
.flash_config                                ALIGN(4)      : > int_flash_config
}


What would be the possible cause of this situation and ways to get the controller properly working again?

 

Thanks in advance!!!

标记 (1)
0 项奖励
回复
1 回复

1,731 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Satyajit_Patil 

Could you please check the reset signal using an oscilloscope? Measure the reset pin directly and share an image of the waveform you observe. We expect to see a signal similar to the one attached, with the reset line toggling as shown.

VaneB_0-1751479151415.png

Additionally, could you try a process that has worked for me and other customers experiencing similar behavior? To re-flash your MCU, keep the reset button pressed while trying to flash it with a blink example. It might fail and ask if you want to retry. When that happens, release the reset button and then try again to load the program under that prompt. After doing this, the program should load successfully and the board should recover.

If the issue persists after trying the steps above, please let me know.

 

BR, VaneB

0 项奖励
回复