12个职位/0个新职位
最后一篇文章
克雷格·弗拉纳根
离线
最后一次见到:1年11个月前
已加入:2016-04-25 20:17
iot and smart snippets

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 flash程序员中
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\u sfl\u 583.hex中删除。
[INFO@16-06-02 15:42:57]从wrbl\u sfl\u 583.hex文件读取32688字节。
[INFO@16-06-02 15:43:44]固件文件C:\Users\Craig\SmartSnippets\resources\flash_程序员.bin已选择下载。
[INFO@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毫秒未检测到复位信号。
[INFO@16-06-02 15:44:00]已成功从端口COM5断开连接。
[INFO@16-06-02 15:44:00]无法将固件文件下载到主板。
[INFO @16-06-02 15:44:00] Failed configuring SPI Flash ports and pins.

闪存编程器屏幕中的引脚配置设置为:
Uart
P0\ U 4、P0\ U 5、57600 Bd、P1-2
SPI公司
CLK P2.0
碳钢P2.3
味噌P2.4
MOSI P2.9
I2C
症状自评量表P0.2
SDA P0.3

有没有关于什么地方会出错的想法?

Device:
MT\u对话框
离线
最后一次见到:1个月3周前
工作人员
已加入:2015-06-08 11:34
嗨,克雷格,

嗨,克雷格,

你想用接口板编程物联网?您是否选择了正确的UART端口?当提示你按复位按钮时,试着打开和关闭电路板。另外,请确保您使用的是智能代码段的最终版本。您的配置似乎还可以。

谢谢你的对话

克雷格·弗拉纳根
离线
最后一次见到:1年11个月前
已加入:2016-04-25 20:17
是,使用物联网接口

是的,使用物联网接口板。今天又试了两个小时,运气不好:
Using: IOT Interface Board
Smart Snippets Ver 3.9
jlink版本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
物联网传感器处于打开和关闭位置(说明书上说将其置于关闭位置
但图片显示它处于打开位置)。我仍然得到与上一次相同的错误
电子邮件。有什么想法吗?很沮丧。。。

MT\u对话框
离线
最后一次见到:1个月3周前
工作人员
已加入:2015-06-08 11:34
嗨,克雷格,

嗨,克雷格,

请确保当聪明的片段开始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.

谢谢你的对话

附件:
克雷格·弗拉纳根
离线
最后一次见到:1年11个月前
已加入:2016-04-25 20:17
你好,我放弃了

你好,我放弃了上一个板,从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第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.

我还应该注意到,这个董事会的程序很好地使用基尔,所以它是这样工作的方式…克雷格

MT\u对话框
离线
最后一次见到:1个月3周前
工作人员
已加入:2015-06-08 11:34
嗨,克雷格,

嗨,克雷格,

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芯片来检查这个问题是否与机载Atmel有关。将FTDI连接到J18 UTX/URX和usb以提供
正常连接的电源等。然后打开智能代码段并连接到FTDI的虚拟com端口。

谢谢你的对话

克雷格·弗拉纳根
离线
最后一次见到:1年11个月前
已加入:2016-04-25 20:17
Hello Thank you for your

你好,谢谢你的意见。相对于您的笔记:
“你应该看到传感器上的小发光二极管亮了一点”检查
"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
flash与以前编译的十六进制和循环电源的开发板上,打开了我的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)
因为它似乎有用。

"

MT\u对话框
离线
最后一次见到:1个月3周前
工作人员
已加入:2015-06-08 11:34
嗨,克雷格,

嗨,克雷格,

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.

谢谢你的对话

克雷格·弗拉纳根
离线
最后一次见到:1年11个月前
已加入:2016-04-25 20:17
Do you have any documents on

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

MT\u对话框
离线
最后一次见到:1个月3周前
工作人员
已加入:2015-06-08 11:34
嗨,克雷格,

嗨,克雷格,

没有与此相关的文档,只需将FTDI芯片连接到主板右侧的UTX和URX引脚,插入FTDI的RX和TX引脚,并通过USB为主板供电。打开智能代码段并从FTDI使用COM端口,而不是从Atmel处理器。您应该能够连接并烧录设备的SPI闪存。

谢谢你的对话

AJ8以上
离线
最后一次见到:2 years 4 months ago
已加入:2016-07-26 04:48
Shouldn't the fact that Craig

Craig不能使用UART模式编程这一事实不应该在文档或某个地方的入门指南中记录下来吗?传感器的学习曲线相当陡峭,对这个板/芯片的新来者的每一点帮助都会有所帮助。

MT\u对话框
离线
最后一次见到:1个月3周前
工作人员
已加入:2015-06-08 11:34
Hi aj8uppal,

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 ?

谢谢你的对话