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!!!