真假芯片?关于MK60DN512ZVLL10不能启动

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

真假芯片?关于MK60DN512ZVLL10不能启动

19,775 Views
sagajun
Contributor I

有个产品上用到了MK60DN512ZVLL10。是两年前的设计,已经出货过上千个,一直都工作正常。

去年公司换供应商,试产了100块板。出现 程序能烧录,但是不运行,当时是换了芯片 解决了问题。

最近又出现同样情况,公司没有从以前代理商买芯片,是电子市场的供应商给提供的。又出现了程序可以烧录,但是程序不能运行。

这两次出问题的时候,检查过芯片,丝印都是MK60DN512ZVLL10 4N30D,和正常的芯片完全一样的,芯片也看不出来丝印被修改的痕迹。最下面一行丝印内容有所不同。

具体分析问题的情况如下:

1. 这次焊的100块板子,随机试了10片左右,都是程序可以正常烧录(Ulink2烧录,和平时调试程序一样)。但是不能正常运行。

2. 从以前旧板上拆芯片下来,换到这次的板子上,程序可以正常烧录,运行也正常。

3. 在不能运行的板子上,用ulink2调试进去后,发现程序停在startup_vector.s的两句(见附件截图):

其中在下面程序第二行和第三行循环。

Init_Ram  ldr     r0,=0xC520
                ldr     r1,=0x40052000
               strh    r0,[r1,#0x0e]
               ldr     r0,=0xD928
               strh    r0,[r1,#0x0e]
               ldr     r0,=0x01D2
              strh    r0,[r1,#0x00]

这几句程序是unlock watchdog,并初始化watchdog。

4. 在不能运行的板子上,换了一个很简单的指示灯闪烁程序,又是可以下载并正常运行的。

所以现在不清楚 到底是这次芯片的问题,还是程序配置不对?

如果说是程序问题,但换了以前芯片又是正常的。如果说是芯片问题,用简单的程序又可以运行。

请尽快帮忙分析下,生产等着用,谢谢。

Labels (1)
Tags (2)
0 Kudos
8 Replies

19,483 Views
nxf56274
NXP Employee
NXP Employee

Hi,

你的指示灯的启动文件和实际应用的板子程序的启动文件是不是一样的?把看门狗那段汇编代码注释后,看看是否仍然不能启动?

0 Kudos

19,482 Views
sagajun
Contributor I

指示灯的启动文件和实际应用的板子程序的启动文件是不一样的。

注释掉也不能启动

zhanggj@lelink-iot.com

发件人: nxf56274

发送时间: 2019-12-03 16:52

收件人: 工 张

主题: Re: - Re: 真假芯片?关于MK60DN512ZVLL10不能启动

NXP Community

Re: 真假芯片?关于MK60DN512ZVLL10不能启动

reply from Da Li in Kinetis Microcontrollers - View the full discussion

Hi,

你的指示灯的启动文件和实际应用的板子程序的启动文件是不是一样的?把看门狗那段汇编代码注释后,看看是否仍然不能启动?

Reply to this message by replying to this email, or go to the message on NXP Community

Start a new discussion in Kinetis Microcontrollers by email or at NXP Community

Following Re: 真假芯片?关于MK60DN512ZVLL10不能启动 in these streams: Inbox

This email was sent by NXP Community because you are a registered user.

You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences

0 Kudos

19,483 Views
nxf56274
NXP Employee
NXP Employee

那么程序debug有没有看出来卡在哪里

0 Kudos

19,483 Views
sagajun
Contributor I

你好,

会不会是芯片版本的区别?

MK60DN512ZVLL10和MK60DN512VLL10的区别在于初始化?

请见附件选型表。

但我们正常的芯片和这次的芯片,丝印都是MK60DN512ZVLL10。

zhanggj@lelink-iot.com

发件人: nxf56274

发送时间: 2019-12-03 17:19

收件人: 工 张

主题: Re: - Re: 真假芯片?关于MK60DN512ZVLL10不能启动

NXP Community

Re: 真假芯片?关于MK60DN512ZVLL10不能启动

reply from Da Li in Kinetis Microcontrollers - View the full discussion

那么程序debug有没有看出来卡在哪里

Reply to this message by replying to this email, or go to the message on NXP Community

Start a new discussion in Kinetis Microcontrollers by email or at NXP Community

Following Re: 真假芯片?关于MK60DN512ZVLL10不能启动 in these streams: Inbox

This email was sent by NXP Community because you are a registered user.

You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences

0 Kudos

19,483 Views
nxf56274
NXP Employee
NXP Employee

继续把 bne init_ram1这一段也注释掉,看看卡在哪里,如果还卡,贴一下debug图,还有启动文件贴一下,还有正常led的启动文件。

0 Kudos

19,483 Views
sagajun
Contributor I

你好,

又测试了一下:

1. 注释掉初始化的几段,还是报错。具体看附件贴图。

2. 我附上我们批量生产用的startup_MK60D10.s(已经注释了初始化部分)和system_MK60D10.c。

3. 也附上可以正常运行的 另外新建的简单的LED闪烁程序工程(只用看main文件,其它程序都没用到)。

4. 我们今天更换了一个芯片MK60DN512VLL10来替换不能正常运行的MK60DN512ZVLL10,程序可以正常运行了。

麻烦帮忙分析下,这次贴片了一批,返工成本就高了。

我的电话13524445871,如果方便,请随时电话联系。邮件太慢了。

谢谢

zhanggj@lelink-iot.com

发件人: nxf56274

发送时间: 2019-12-04 14:22

收件人: 工 张

主题: Re: - Re: 真假芯片?关于MK60DN512ZVLL10不能启动

NXP Community

Re: 真假芯片?关于MK60DN512ZVLL10不能启动

reply from Da Li in Kinetis Microcontrollers - View the full discussion

继续把 bne init_ram1这一段也注释掉,看看卡在哪里,如果还卡,贴一下debug图,还有启动文件贴一下,还有正常led的启动文件。

Reply to this message by replying to this email, or go to the message on NXP Community

Start a new discussion in Kinetis Microcontrollers by email or at NXP Community

Following Re: 真假芯片?关于MK60DN512ZVLL10不能启动 in these streams: Inbox

This email was sent by NXP Community because you are a registered user.

You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences

0 Kudos

19,483 Views
nxf56274
NXP Employee
NXP Employee

比对两种芯片内存数据,结果如何?

0 Kudos

19,483 Views
sagajun
Contributor I

你好,

注释掉watchdog的初始化,会报错。

具体调试报错信息,见附件截图。

zhanggj@lelink-iot.com

发件人: nxf56274

发送时间: 2019-12-03 17:19

收件人: 工 张

主题: Re: - Re: 真假芯片?关于MK60DN512ZVLL10不能启动

NXP Community

Re: 真假芯片?关于MK60DN512ZVLL10不能启动

reply from Da Li in Kinetis Microcontrollers - View the full discussion

那么程序debug有没有看出来卡在哪里

Reply to this message by replying to this email, or go to the message on NXP Community

Start a new discussion in Kinetis Microcontrollers by email or at NXP Community

Following Re: 真假芯片?关于MK60DN512ZVLL10不能启动 in these streams: Inbox

This email was sent by NXP Community because you are a registered user.

You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences

0 Kudos