查看: 3498|回复: 3

[求助] 【KinetisV2.2核心板申请】+MCU lock and unlock

[复制链接]

该用户从未签到

1

主题

1

帖子

0

新手上路

Rank: 1

积分
6
最后登录
1970-1-1
发表于 2012-9-16 10:05:39 | 显示全部楼层 |阅读模式
 一下内容来源于我的工作邮件,是关于Kinetis锁芯片和解锁的一些信息,希望对大家有用:
主题: RE: How to unlock K60 after it is locked

 

Greetings all,
 
I have run into this 2 other times in the last year and did not get clarity on what the cause was in either case.  There have been two ways that I have been able to recover.  First was to use the erase_all_pins.jlk script as I see you have attempted.  The second was to create an empty project (I used CodeWarrior) and had CodeWarrior perform a mass-erase prior to the download. 
 
To get to the bottom of what is going on, could you send me the following files from your project:
 
1.       The linker configuration file (.lcf)
2.       The vectors.c and vectors.h files
3.       A generated mapfile.
 
The Kinetis devices have the memory protection and security register located between 0x400 and 0x417.  We need to ensure that your projects are properly reserving this space so that it is not used for program code or data.
 
Also, can you please send all of the device markings (part number, version, batch) for the devices that have experience this problem.
 
There are two activities we need to accomplish:
1.       Try all known approaches to recover the devices you are working with presently
2.       Fix your projects so that this will not happen again!
 
I have already discussed this with the factory, and they will help me get to the bottom of this – we just need the information requested above!
 
Best regards,
 
Mike Maas


Subject: RE: How to unlock K60 after it is locked

 

Daniel,
 
Larry is looking into with our Freescale FAE, Mike Maas.  See attached email.
I’m carboning Mike on this email as well in case this information is helpful to him.
We haven’t seen the lockup issue here, but we don’t have as many towers running
as you do at SMZ.
 
MikeW
 
Subject: How to unlock K60 after it is locked

 

Hi MikeW,
        
         Recently at SMZ site SW team met a headache problem. When we debugged on the Hermes circuit board, the main processor K60 was locked several times. Sometimes we can unlock it by using below methods.
1.     First one: Input “unlock Kinetis” command by the J-Link Command tool.
2.     Second one: Hold reset key which connects to the reset pin of kinetis, retry download
3.     Third one: We got an erase_all_pin.jlk file on internet. Its operation procedure is as below.
(1)   The version of IAR should be over 6.3
(2)   Install the simulating driver Setup_JLinkARM_V436.zip
(3)   Copy the erase_all_pin.jlk to the installation folder for your Segger JLink ARM “C:\Program Files\SEGGER\JLinkARM_V436i”
(4)   Hold the reset key
(5)   Power on the circuit board
(6)   Use the CMD tool of PC to change directory to “C:\Program Files\SEGGER\JLinkARM_V436i”, then execute the script by typing “jlink.exe erase_all_pin.jlk”
                                                  
(7)   Release reset key
 
But this time although we tried all these three kinds of methods, we still cannot unlock the K60. As I know, the china agent of Freescale which is FutureElectronic also ever met such problems. And they also don’t know how to unlock K60.
The root cause may be we didn’t use a correct linker file (icf). But current we just had a little knowledge about it.
 
Do you know how to unlock it? As I know, St. Paul site has a good relationship with Freescale. Can you get some helps from Freescale directly? And if possible, you can also ask Freescale site to provide some related material about the linker file so that we don’t make the same mistake at later developing.
 
Thanks & Regards
Daniel Sun
 
我知道答案 目前已有2人回答
回复

使用道具 举报

该用户从未签到

37

主题

327

帖子

1

高级会员

Rank: 4

积分
886
最后登录
2023-7-19
发表于 2012-9-17 14:27:22 | 显示全部楼层

RE:【KinetisV2.2核心板申请】+MCU lock and unlock

我这有lock了的板子。。
回复 支持 反对

使用道具 举报

该用户从未签到

0

主题

5

帖子

0

新手上路

Rank: 1

积分
0
最后登录
1970-1-1
发表于 2012-9-18 10:09:11 | 显示全部楼层

RE:【KinetisV2.2核心板申请】+MCU lock and unlock

免费申请?
回复 支持 反对

使用道具 举报

该用户从未签到

37

主题

327

帖子

1

高级会员

Rank: 4

积分
886
最后登录
2023-7-19
发表于 2012-9-20 18:07:59 | 显示全部楼层

RE:【KinetisV2.2核心板申请】+MCU lock and unlock

发现第一次lock了, 以后就解不开了。至今不清楚第一次lock的原因到底是啥
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条

Archiver|手机版|小黑屋|恩智浦技术社区

GMT+8, 2025-7-19 02:06 , Processed in 0.098987 second(s), 24 queries , MemCache On.

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.

快速回复 返回顶部 返回列表