拔掉USB后禁用重置程序GydF4y2Ba

13 posts / 0 new
最后一篇GydF4y2Ba
anggaranc
离线GydF4y2Ba
最后一次露面:GydF4y2Ba4年11个月前GydF4y2Ba
加入:GydF4y2Ba2016-04-05 07:26GydF4y2Ba
拔掉USB后禁用重置程序GydF4y2Ba

你好GydF4y2Ba

我使用Dev Kit Murata P2ML3656与BLE模块蓝牙类型ZYGydF4y2Ba

下载/编译后.HEX发送给Dev Kit为什么当我拔下USB电缆时,为什么这个开发套件重置不保存我的程序。GydF4y2Ba
how to disable this cofiguration?

Device:
mt_dialog.GydF4y2Ba
离线GydF4y2Ba
最后一次露面:GydF4y2Ba2 months 2 weeks ago
职员GydF4y2Ba
加入:GydF4y2Ba2015-06-08 11:34GydF4y2Ba
嗨anggaranc,GydF4y2Ba

嗨anggaranc,GydF4y2Ba

If the 580 is not supplied or reset the sysram will not retain the data, in order to reload the data to the sysram after a reset occurs you will have to use the flash that the P2ML3656 has on board, burn the .hex file into the flash using smart snippets.

谢谢mt_dialog.GydF4y2Ba

anggaranc
离线GydF4y2Ba
最后一次露面:GydF4y2Ba4年11个月前GydF4y2Ba
加入:GydF4y2Ba2016-04-05 07:26GydF4y2Ba
谢谢mt_dialog.GydF4y2Ba

谢谢mt_dialog.GydF4y2Ba

我用智能片段尝试闪光灯。我按照步骤N1-2974B:OTP内存刻录指南。GydF4y2Ba
当我刷新成功时。我试着用真实的方式检查,但显然没有成功。当我用Booter SmartSnippets再次下载时,无法按RESET按钮,您可以看到GydF4y2Ba
link :http://s31.postimg.org/5czfgep16/error2.jpg.GydF4y2Ba

使用Connection Manager进行检查:GydF4y2Ba
------------------------------------GydF4y2Ba
hex2bin v1.0.10, Copyright (C) 2012 Jacques Pelletier & contributors

最低地址= 00000000GydF4y2Ba
最高地址= 00003EEBGydF4y2Ba
PAD BYTE = FFGydF4y2Ba
8-bit Checksum = A0

工具目录:C:\ Program Files \ ConnectionManager \ Bin \ Firmware_Upload \GydF4y2Ba
Using HEX file: "C:\Program Files\ConnectionManager\bin\firmware_upload" "full_emb.hex"

---生成的jlink脚本文件---GydF4y2Ba
R.GydF4y2Ba
w2 50000012, A6
W2 50003308,2eGydF4y2Ba
loadbin“full_emb.bin”,0GydF4y2Ba
验证“full_emb.bin”,0GydF4y2Ba
R.GydF4y2Ba
GGydF4y2Ba
出口GydF4y2Ba
---GydF4y2Ba

Segger J-Link Commander v4.72('?'提供帮助)GydF4y2Ba
Compiled Jun 12 2013 15:47:30

Script file read successfully.
DLL version V4.72, compiled Jun 12 2013 15:47:08
固件:J-Link ARM Lite V8编译10月29日2014 09:03:16GydF4y2Ba
Hardware: V8.00
S / N:228206258GydF4y2Ba
Feature(s): GDB
vtarget = 3.041v.GydF4y2Ba
信息:无法衡量总IR Len。TDO是恒定的。GydF4y2Ba
信息:无法衡量总IR Len。TDO是恒定的。GydF4y2Ba
No devices found on JTAG chain. Trying to find device on SWD.
Info: Found SWD-DP with ID 0x0BB11477
信息:FpUnit:4代码(BP)插槽和0个字幕插槽GydF4y2Ba
Info: Found Cortex-M0 r0p0, Little endian.
在SWD上找不到设备。GydF4y2Ba
Cortex-M0已识别。GydF4y2Ba
JTAG速度:100 kHzGydF4y2Ba
Processing script file...

******Error: TCK (pin 9) low, but should be high. Please check target hardware.
重置延迟:0毫秒GydF4y2Ba
重置类型未知:???GydF4y2Ba

写00a6 - > 50000012GydF4y2Ba

写002e - > 50003308GydF4y2Ba

加载二进制文件... [full_emb.bin]GydF4y2Ba
将BIN数据写入目标存储器@ 0x00000000。GydF4y2Ba

加载二进制文件full_emb.binGydF4y2Ba
从目标存储器@ 0x00000000读取16108字节数据。GydF4y2Ba
Verify failed @ address 0x00000000.
预期00读取C0GydF4y2Ba
重置延迟:0毫秒GydF4y2Ba
重置类型未知:???GydF4y2Ba

Script processing completed.
-----------------------------------------------------------------------------GydF4y2Ba

检查Keil Debug Jlink SWD未列表GydF4y2Ba
link :http://s31.postimg.org/odo3l1qyj/error.png.GydF4y2Ba

我的问题是什么?GydF4y2Ba

mt_dialog.GydF4y2Ba
离线GydF4y2Ba
最后一次露面:GydF4y2Ba2 months 2 weeks ago
职员GydF4y2Ba
加入:GydF4y2Ba2015-06-08 11:34GydF4y2Ba
嗨anggaranc,GydF4y2Ba

嗨anggaranc,GydF4y2Ba

I am not aware of the documentation you refer to, i guess that you are using smart snippets and the flash option in order to interact with your flash, please make sure that the pins of the flash are connected and that you erase the flash before burning your image, also when the smart snippets prompts you for making the image bootable check yes, after the flash has been burned, then you should hit the reset button and the code will start executing. Is your program prints anything (you said that you dont get anything in Real Term) ? The connection manager is a different tool, it wont burn your flash but it will download code to your sysram. Also from your last image i can see that keil doesn't see your proccessor, please try to hit the reset button and check if keil can see your board.

谢谢mt_dialog.GydF4y2Ba

anggaranc
离线GydF4y2Ba
最后一次露面:GydF4y2Ba4年11个月前GydF4y2Ba
加入:GydF4y2Ba2016-04-05 07:26GydF4y2Ba
也许我的dev套件有问题GydF4y2Ba

也许我的dev套件有问题。现在我可以看到Keil的SWD,我可以再次运行和调试。我尝试使用带有连接JTAG的SmartSnippets的SPI闪存程序员Flash。我尝试DSPS项目GydF4y2Ba
你可以看到GydF4y2Bahttp://postimg.org/image/mfamvulhd/full//GydF4y2Ba
Connect浏览我的十六进制文件后,单击“刻录”GydF4y2Ba
但它没有工作信号蓝牙而不是在我的Android时列出时的调试和运行keil 5工作正常GydF4y2Ba

当供应时,我需要模块运行独立而无需在keil运行时GydF4y2Ba

what wrong with my configuration?
你可以看到我的配置keil文件.zip,你能解决它吗?GydF4y2Ba
https://drive.google.com/file/d/0bwakrcil3f9magvwcduwamljmk0/view?usp = sh ...GydF4y2Ba

mt_dialog.GydF4y2Ba
离线GydF4y2Ba
最后一次露面:GydF4y2Ba2 months 2 weeks ago
职员GydF4y2Ba
加入:GydF4y2Ba2015-06-08 11:34GydF4y2Ba
嗨anggaranc,GydF4y2Ba

嗨anggaranc,GydF4y2Ba

I see no problem with the .hex file you ve sent, i was able to burn it in flash on the P2ML3656 and see it advertising on the DSPS device, also i can see from your image that you make it bootable. Are you hitting the reset button after burning the flash in order for the bootloader to run and load the image ?

谢谢mt_dialog.GydF4y2Ba

anggaranc
离线GydF4y2Ba
最后一次露面:GydF4y2Ba4年11个月前GydF4y2Ba
加入:GydF4y2Ba2016-04-05 07:26GydF4y2Ba
是的,我也试过了GydF4y2Ba

是的,我也尝试并在按重置按钮后等待几分钟,但结果是相同的。你可以看到.pdf我的一步。有什么不对?GydF4y2Ba

my config board smartspipped
http://postimg.org/image/hb531vwoh/full/GydF4y2Ba

附件:GydF4y2Ba
mt_dialog.GydF4y2Ba
离线GydF4y2Ba
最后一次露面:GydF4y2Ba2 months 2 weeks ago
职员GydF4y2Ba
加入:GydF4y2Ba2015-06-08 11:34GydF4y2Ba
嗨anggaranc,GydF4y2Ba

嗨anggaranc,GydF4y2Ba

我不看到任何错误在你的聪明Snippets and since you were able to erase(在刻录图像之前,你是擦除闪光灯吗?GydF4y2Ba)GydF4y2Baand burn the flash without problem i dont think that the settings of smart snippets is the problem. Are you able to run the power profiler and check the activity of your device after reset ? If not you can try to connect to a terminal and check if the bootloader is printing rubish after a reset and with a burned SPI (that means that the bootloader is running). Also are you able to execute any other project from the flash ? you can try an example from the SDK.

谢谢mt_dialog.GydF4y2Ba

anggaranc
离线GydF4y2Ba
最后一次露面:GydF4y2Ba4年11个月前GydF4y2Ba
加入:GydF4y2Ba2016-04-05 07:26GydF4y2Ba
在点击刻录之前我点击GydF4y2Ba

在单击刻录之前,我在单击擦除所以数据空,刻录结果相同的数据未运行。是的,我还尝试闪烁,timer0,prox_reporter,ble_app_barebone在sdk中,结果相同只能使用keil运行,使用spi flash不起作用。GydF4y2Ba

您可以使用DSPS看到此运行GydF4y2Bahttp://postimg.org/image/n8kzc1o0x/full/GydF4y2Ba按按钮在Power Profiler中重置。它看起来正在运行的程序,但设备仍然无法找到。GydF4y2Ba

与Smartpsnippet还有其他方式是否有SPI Flash?GydF4y2Ba

anggaranc
离线GydF4y2Ba
最后一次露面:GydF4y2Ba4年11个月前GydF4y2Ba
加入:GydF4y2Ba2016-04-05 07:26GydF4y2Ba
can you give me tutorial step

你可以用穆塔塔德套件硬件逐步/屏幕截图给我一个步骤/屏幕截图吗?请帮我GydF4y2Ba

mt_dialog.GydF4y2Ba
离线GydF4y2Ba
最后一次露面:GydF4y2Ba2 months 2 weeks ago
职员GydF4y2Ba
加入:GydF4y2Ba2015-06-08 11:34GydF4y2Ba
嗨anggaranc,GydF4y2Ba

嗨anggaranc,GydF4y2Ba

如果使用Murata套件(也许您应该在类似的文档中解决Murata)和禁止闪存的唯一可用工具,则没有任何教程刻录到如何刻录闪光灯我在Murata Kit上的配置中附上了一个小的PDF希望你发现它有用。GydF4y2Ba

谢谢mt_dialog.GydF4y2Ba

附件:GydF4y2Ba
anggaranc
离线GydF4y2Ba
最后一次露面:GydF4y2Ba4年11个月前GydF4y2Ba
加入:GydF4y2Ba2016-04-05 07:26GydF4y2Ba
Thanks your tutorial

Thanks your tutorial

I have followed your step with jumper EN_ADBUS2, EN_ADBUS3 and EN_ADBUS5 but spi flash can't read 32kb and erese data but when i am unplug this jumper can work erase and read 32kb successfuly. after spi flash burn my hex data, i am open power profiler and click button initialize the result power profile can't running. it seems only runs on UART PORT, so I switch connection jtag to uart to see the power profiler can work, but after hit button reset the result not like your power profiler ( my result likehttp://postimg.org/image/n8kzc1o0x/full/GydF4y2Ba)GydF4y2Ba

but when run with debug keil my power profiler the result same with your picture

mt_dialog.GydF4y2Ba
离线GydF4y2Ba
最后一次露面:GydF4y2Ba2 months 2 weeks ago
职员GydF4y2Ba
加入:GydF4y2Ba2015-06-08 11:34GydF4y2Ba
嗨anggaranc,GydF4y2Ba

嗨anggaranc,GydF4y2Ba

是的电源分布器使用UART端口才能将数据发送到智能片段,因此您必须断开与JTAG接口的连接并与UART配置重新连接,似乎您的电路板无法从SPI闪存启动,您可以捕获闪存并检查是否有数据交易在涉及板和闪光灯之间的复位时,我的图片中也注意到SPI的MISO线没有通过跳线,而是通过电线或类似的东西连接。您可以用跳线替换它并检查这是什么原因导致您的麻烦。也就是说,就跳线是令人担忧的,我不认为他们有与SPI有关,而是用电路板上的FTDI芯片有关,因为你没有使用UART下载代码但是JTAG,我不能看到那些人会如何影响闪光的燃烧程序。GydF4y2Ba

谢谢mt_dialog.GydF4y2Ba