erasing the page FF and page FD ?

cancel
Showing results for 
Search instead for 
Did you mean: 

erasing the page FF and page FD ?

246 Views
Contributor I

Dear:

After erasing the page FF and page FD

when I launch the debug, the following error happen:

Communication with the target failed:  The target MCU has no clock or wrong BDM clock speed is used or derivative is secured.

 

 

 

 

0 Kudos
10 Replies

215 Views
NXP TechSupport
NXP TechSupport

Hi,

Page FF covers global 0x7F_C000 – 0x7F_FFFF address range that includes the Flash configuration filed and the Flash Security byte.

danielmartynek_1-1600850777524.png

I assume the MCU is secure, please try the Unsecure command.

danielmartynek_2-1600850785676.png

Thank you,

BR, Daniel

 

0 Kudos

211 Views
Contributor I

Thanks! Your answer is very helpful for me.

Unsecure is failure as follow:

image.png

Using default configuration: (Bus clk maybe 40MHz)

image.png

0 Kudos

203 Views
NXP TechSupport
NXP TechSupport

Hi,

Can you take a look at the project and read what was written to the ECLKDIV / FCLKDIV registers?

What is the frequency of the oscillator?

 

Thanks,

BR, Daniel

 

 

0 Kudos

196 Views
Contributor I

ECLKDIV/FCLKDIV = 0x28

OSCCLK = 8MHz

0 Kudos

170 Views
Contributor I

Yes!

0 Kudos

186 Views
NXP TechSupport
NXP TechSupport

Hi,

Have you tried with CLKDIV = 0x28 = 40?

 

BR, Daniel

0 Kudos

169 Views
Contributor I

Hi, yes

It is still failure!

0 Kudos

104 Views
NXP TechSupport
NXP TechSupport

Hi,

If you use a PE Micro debugger or OSBDM, please use the Unsecure12 PE Micro tool:

http://www.pemicro.com/downloads/download_file.cfm?download_id=16

 

It should unlock the MCU.

 

Thank you,

BR, Daniel

 

0 Kudos

234 Views
NXP TechSupport
NXP TechSupport

Hello,

Which MCU do you use?

 

Thanks,

BR, Daniel

0 Kudos

226 Views
Contributor I
Hi, MCU is MC9S12XDG128MAL
0 Kudos