Unable to halt core MAC7116

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

Unable to halt core MAC7116

1,718 Views
darkleo
Contributor I

Hi


I'm working on programm for this chip.

After i'm programmed last version of flash in to the chip,  my j-link can't connect with him and showing me a message "Unable to halt core"


I'm think that i made mistake in code......


How i can halt core?

Tags (1)
0 Kudos
5 Replies

742 Views
dayve
NXP Employee
NXP Employee

Hey!

 

It sounds like you have secured the device by overwriting the flash security bits when you have programmed the flash.

 

There is a JTAG unsecure mechanism to get the device back in a usable state. This script should be available from your tools vendor.


Regards,

Dayve

0 Kudos

742 Views
darkleo
Contributor I

Hi

Can you help me find the lockout recovery script for mac71xx?

I want to know how i can unsecure chip...

Iread datasheets and understand that i need to make some operaton duing reset to unsecure chip...

May be you can show me script?

 

Thnak you.

0 Kudos

742 Views
darkleo
Contributor I

Hi

Thanks for answer

I'm know about secure bits... Device guaranted is not secured....

I'm modified the flash memory... and restart the chip...

To make JTAG Lockout recovery i need to be connected to chip! but i can't becouse 'Unable to halt core'

Chip maked illegal instruction or call for out of memory....

0 Kudos

742 Views
aj_xx
Contributor I

I am making code also for mac.

 

At the beginning I had same problem "Unable to halt arm core..." with J-Link.

 

"Device guaranted is not secured...."

When my processor were stuck, I didn't do anything to secure processor.

I think problem was related to my code... ?

 

My way to solve the problem was replace the microcontroller. (at the beginning I did it three times)

Somebody may have better solution but I didn't find it....

 

 

When I got interrupts and flash writing working, I haven't had this problem any more....

0 Kudos

742 Views
dayve
NXP Employee
NXP Employee

Are you able to put the MCU into serial boot mode and see if it will enter debug in this mode?

0 Kudos