查看: 7248|回复: 12

[分享] 好不容易买到几片PK60N512ZVLQ10,准备做系统板出来

[复制链接]

该用户从未签到

2

主题

15

帖子

0

新手上路

Rank: 1

积分
33
最后登录
1970-1-1
发表于 2012-2-4 21:29:29 | 显示全部楼层 |阅读模式
PCB截图.jpg LQFP144脚,做库真不容易呀,做了将近一天。
PCB画出来了,show一下
回复

使用道具 举报

该用户从未签到

2

主题

15

帖子

0

新手上路

Rank: 1

积分
33
最后登录
1970-1-1
 楼主| 发表于 2012-2-5 22:09:14 | 显示全部楼层

回复:好不容易买到几片PK60N512ZVLQ10,准备做系统板出来

 
不知道怎么传图片
回复 支持 反对

使用道具 举报

  • TA的每日心情
    难过
    2021-12-15 16:01
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]初来乍到

    305

    主题

    4701

    帖子

    0

    中级会员

    Rank: 3Rank: 3

    积分
    377
    最后登录
    2023-8-16
    发表于 2012-2-6 10:10:03 | 显示全部楼层

    RE:好不容易买到几片PK60N512ZVLQ10,准备做系统板出来

    上传附件,jpg格式的,然后选择插入附件。
    该会员没有填写今日想说内容.
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    2

    主题

    15

    帖子

    0

    新手上路

    Rank: 1

    积分
    33
    最后登录
    1970-1-1
     楼主| 发表于 2012-2-6 21:23:47 | 显示全部楼层

    RE:好不容易买到几片PK60N512ZVLQ10,准备做系统板出来

    和安班主学了招,谢谢,传图片。
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    难过
    2021-12-15 16:01
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]初来乍到

    305

    主题

    4701

    帖子

    0

    中级会员

    Rank: 3Rank: 3

    积分
    377
    最后登录
    2023-8-16
    发表于 2012-2-7 09:18:16 | 显示全部楼层

    RE:好不容易买到几片PK60N512ZVLQ10,准备做系统板出来

    如果有问题,可以在论坛留贴,我们第一时间为您解答。
    该会员没有填写今日想说内容.
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    2

    主题

    15

    帖子

    0

    新手上路

    Rank: 1

    积分
    33
    最后登录
    1970-1-1
     楼主| 发表于 2012-2-9 23:06:36 | 显示全部楼层

    回复:好不容易买到几片PK60N512ZVLQ10,准备做系统板出来

    板子做好了,发张图吧,手机照的,效果不好(主要是俺的手机不好)。
    先来个正面的
    正面处理.jpg
     
    再来个背面的
    反面处理.jpg
    今天就焊出来试试
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    5

    主题

    28

    帖子

    0

    新手上路

    Rank: 1

    积分
    24
    最后登录
    1970-1-1
    发表于 2012-2-10 09:44:35 | 显示全部楼层

    回复:好不容易买到几片PK60N512ZVLQ10,准备做系统板出来

    LZ的板子测试咋样啦!
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    2

    主题

    15

    帖子

    0

    新手上路

    Rank: 1

    积分
    33
    最后登录
    1970-1-1
     楼主| 发表于 2012-2-12 21:31:11 | 显示全部楼层

    RE:好不容易买到几片PK60N512ZVLQ10,准备做系统板出来

    这两天一直调板子,第一块K60就被锁了,用usbdm,jlink,ulink都不行,都是target is secured,提示方法都是earse mass flash。CW,MDK,IAR都用了,没有解决呀,还参考了IAR的解决方法:
    Technical Note 77989
    Permanent Device Lock/Secure of Freescale Kinetis K60Xxxx
    EW targets: ARM
    EW component: General issues
    Keywords: .icf file, linking
    Last update: April 1, 2011
    Problem
    When you create a new project from scratch for a Freescale Kinetis K60Xxxx device, using Target -> Core: "Cortex-M4", or Device -> "Freescale K60Xxxx", the default linker configuration file "generic_cortex.icf" will be selected.
    This linker configuration file may cause a permanent device secure (i.e. the device is made impossible to re-program), when you download your code to the board.
    Solution
    Use the following linker configuration file for K60Xxxx devices:
    $TOOLKIT_DIR$\examples\Freescale\K60\
    TWR-K60\GettingStarted\config\K60X_Flash.icf
    Background
    The default linker configuration file for ARM Cortex in IAR Embedded Workbench IDE places code starting at location 0. The problem is that once the code grows to encompass address 0x40C, the NVFSEC register will be programmed.
    There are two bits in the NVFSEC register that can permanently disable the mass erase functionality on the chip. These bits are called Mass Erase Enable Bits (MEEN). In this same register there are also two bits that controls the Flash security (SEC). When used in conjunction, they can permanently lock the device.
    Note that when selecting Options -> Target -> Device: Freescale K60Xxxx, the option Linker -> Config -> "Linker configuration file" is set to "generic_cortex.icf" by default.
    To change the settings, see the attached pictures on the right hand side of this page.
    Note 1:
    All example projects included in the IAR K60N512 kit overrides the default linker configuration file with either "K60X_ram.icf" or "K60X_Flash.icf", and the device lock problem does not occur.
    Note 2:
    The example projects provided with Freescale MQX includes a vector table in "vector.c" that is extended to cover the flash config area and sets the proper values.
    Note 3:
    If the device has been locked with the Flash security bits only, you can unlock the device using the J-Link Commander (jlink.exe) command:
    J-Link> unlock Kinetis
    都不好用,第一片K60就牺牲了,明天再换片吧。用过LPC111X,STM32,LM3S,都有锁片子的情况,FSL解决起来是最没数的,因为它没有ISP方式,
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    2

    主题

    15

    帖子

    0

    新手上路

    Rank: 1

    积分
    33
    最后登录
    1970-1-1
     楼主| 发表于 2012-2-12 22:17:37 | 显示全部楼层

    RE:好不容易买到几片PK60N512ZVLQ10,准备做系统板出来

    大功告成,跑起来了。以后调程序尽量在RAM下调,安全。下一步调TF卡。
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    2

    主题

    15

    帖子

    0

    新手上路

    Rank: 1

    积分
    33
    最后登录
    1970-1-1
     楼主| 发表于 2012-2-12 23:18:58 | 显示全部楼层

    RE:好不容易买到几片PK60N512ZVLQ10,准备做系统板出来

    Kinetis容易被锁住,死锁的几率比较大,在FSL的坛子里也有很多人遇到这个问题,都快把死锁看作kinetis 的bug了,看FSL的坛子:
    http://forums.freescale.com/t5/Kinetis-ARM-Cortex-M4/K60-locked/td-p/73283
    回复 支持 反对

    使用道具 举报

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

    本版积分规则

    关闭

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

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

    GMT+8, 2025-9-6 14:30 , Processed in 0.107444 second(s), 29 queries , MemCache On.

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.

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