Hello, I am trying to program my IOT sensor devel kit by following the document UM-B-063. I am programming it
在UART模式下,使用所提供的MINIUSB电缆。我将十六进制文件加载到SPI闪存程序员中
and hit the "connect" button. It prompted me to press the reset button on the board which I did. I then received the
以下错误:
[info @ 16-06-02 15:42:57]报头记录已从十六进制文件wrbl_sfl_583.hex中删除。
[info @ 16-06-02 15:42:57]从文件wrbl_sfl_583.hex读取32688字节。
[info @ 16-06-02 15:43:44]固件文件c:\ users \ craig \ smartsnippets \资源\ flash_programmer.bin已被选中以下载。
[信息@ 16-06-02 15:43:44]与COM5端口的连接已成功打开。
[INFO @16-06-02 15:43:44] Started download procedure...
[动作@ 16-06-02 15:43:45]请按电路板上的硬件重置按钮开始下载过程。
[错误@ 16-06-02 15:44:00]超时:重置信号未检测到超过16000毫秒。
[信息@ 16-06-02 15:44:00]成功断开了Port Com5端口。
[info @ 16-06-02 15:44:00]将固件文件下载到电路板上失败。
[INFO @16-06-02 15:44:00] Failed configuring SPI Flash ports and pins.
Flash Programmer屏幕中的引脚配置设置为:
Uart
P0_4,P0_5,57600 BD,P1-2
spi.
CLK P2.0
CS P2.3.
味噌p2.4
MOSI P2.9
I2C.
SCL P0.2.
SDA P0.3.
关于什么可能出错的想法?
嗨克雷格,
您正在尝试使用接口板对IOT进行编程?您选择了正确的UART端口吗?当您首先要按重置按钮时,请尝试打开和关闭电路板。另请确保您使用的是智能片段的最终版本。你的配置似乎可以。
谢谢mt_dialog.
是使用物联网接口板。今天再次尝试了两个小时没有运气:
Using: IOT Interface Board
Smart Snippets Ver 3.9
Jlink Ver 6.0.2601.5.
端口设置9600,8位,无奇偶校验,1个停止位,
设备“正常工作”在Windows设备管理器中
I have the interface board on and the Vdd LED is on. I have tried to download with the
IOT传感器在开启和关闭位置(说明说明它在关闭位置
但是图片在上面显示了它。我仍然与上一个相同的错误
电子邮件。有任何想法吗?非常沮丧......
嗨克雷格,
请确保当聪明的片段开始you select the proper UART port that your dev kit is attached, you have to select the Jlink CDC UART Port (i ve attached some pictures for your reference). Also when you hit the reset button on the interface board, can you see the D4 led lighting up (this indicates that the reset button is pressed and should be lit when you hit the reset button) ? Additionally please try instead of hitting the reset button switching the board off and then on again by using the switch.
谢谢mt_dialog.
你好,我放弃了上一块板,并从Mouser下了一个新的董事会。我解开了董事会,再恰好是你的
instructions. I do have the UART port set correctly and verified this using the device manager in windows. Here is what I have done in
除了你的指示:
1. The small IOT Sensor is installed CENTERED in the 10 pin connector (the only thing I have heard about this is from your video as
视频表示您应该将其置于以中心插入,所以我已插入它,以便销钉全部适合在开口中
没有销露在连接器的两侧。
2.每UM-B-063 Page 13中删除电池。物联网传感器上的开关转向关闭或朝向朝向
以前提到的连接器。
3. The large IOT board is turned off, connected via USB and then turned on.
4.加载智能片段,采用适当的USB选择,选择SPI闪光灯设施和连接按钮
被按下。提示后,我试图按下重置按钮,没有任何反应,我也试过你注意到他的重置按钮
then flip the power switch on the large IOT board. Nothing happened. Finally I tried a couple combinations of the two and nothing
happened.
我还应该注意到这个董事会程序很好地使用Keil所以它正在这样做......克雷格
嗨克雷格,
When you are about to program using the IoT you should see the small led on the sensor to light up a bit (thats an indication that the sensor has power), also when you hit the
reset button or the interface board is off you should see the led d4 to light up. Can you see any of these indications ?
尝试击中重置按钮(无论设备是否被编程)当您按下复位按钮时,传感器上的蓝色LED应亮起一点。如果没有,有些东西是
wrong with the reset signal, you can also probe the RST pin on J18 and check if you hit the reset button you see a pulse.
此外,您还可以尝试使用FTDI芯片检查此问题是否是与ON ATMEL相关的东西。将FTDI连接到J18 UTX / URX和USB以提供
来自正常连接的功率等。然后打开智能片段并连接到FTDI的虚拟COM端口。
谢谢mt_dialog.
您好,感谢您的输入。相对于你的注意:
“你应该看到传感器上的小LED照亮一点”检查
“also when you hit the reset button or the interface board is off you should see the led d4 to light up" CHECK
“when you hit the reset button the blue led on the sensor should light up a bit." CHECK
Yet still I get the timeout notice.
这里是有趣的,如果我使用JTAG引导智能片段而不是UART模式,我进入
the SPI FLASH PROGRAMMER screen everything appears to be working. In fact I erased the flash which worked and I burned the
通过先前编译的HEX和开发板上的循环电源闪存,在iPhone和一切都打开了应用程序
was working.... So I guess I will just boot up into Smart Snippets using the JTAG option from now on.. (unless you tell me otherwise)
因为它似乎有效。
“
嗨克雷格,
You can use only the JTAG option, there isn't any downside and this can't affect the burning of your image to your SPI flash, it just seems weird the fact that you can't program via UART, i mean that the programming via UART doesn't require any special handling on the IoT (jumpers, wires, etc), i suppose that this has something to do with the UART of the Atmel on board. If you ever want to find out, use an FTDI to bypass to Atmel's UART.
谢谢mt_dialog.
Hi, Thanks for your helpl Do you have any documents on how to use FTDI to bypass or can you give me some details.
Many thanks. Craig
嗨克雷格,
没有与此相关的文档,只需将FTDI芯片连接到电路板右侧的UTX和URX引脚,将您的FTDI的RX和TX引脚插入您的电路板通过USB。打开智能片段并使用FTDI的COM端口而不是Atmel处理器。您应该能够连接和刻录设备的SPI闪光灯。
谢谢mt_dialog.
如果在文档中捕获了CRAIG无法使用UART模式或在入门指南某处捕获CRAIG的事实传感器的学习曲线非常陡峭,对该板/芯片的新人的每一点帮助都将有所帮助。
Hi aj8uppal,
The fact that Craig faced that issue doesn't mean that you can't program the IoT via UART, also exactly what would you like to be documented ? That specific issue could not be replicated by Dialog or any other customer, as far as i know, and thats why isn't mentioned anywhere, it could be due to a damaged board or a driver installation. Are you facing a similar issue ?
谢谢mt_dialog.