keil MDK and smart snippet

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support。We’ll be fixing bugs / optimising the searching and tagging over the coming days.
16个帖子/ 0新
Last post
Jagath.
Offline
最后一次露面:1年8个月前
加入:2018-04-19 09:28
keil MDK and smart snippet

Hello dialog team,

我们目前正在使用IBeAcon产品的DA14583设备,同时在我们的研发阶段,我们正面临着与这个SoC合作的问题,我将其列出,请支持,谢谢。

1)为什么不支持Beil MDK 5.25生成的*十六进制*输出文件的智能片段,它只支持* .bin *文件,如果是这样,如何在Windows 10 PC上使用(Hex到Bin)(任何替代方案)软件)。
2)由于SoC是新的市场,我们可以详细介绍使用Smart Scompet及其工作台的详细信息。
3) And what would be the practice for mass production on firmware burning as it looks complicated and time consuming , while burning the OTP and pressing the reset to detect and then burning the firmware, can you suggest a gang programmer will handle these sequence.

设备:
PM_DIALOG.
Offline
最后一次露面:2 days 6 hours ago
工作人员
加入:2018-02-08 11:03
嗨Jagath,

嗨Jagath,

  1. The SmartSnippets toolbox supports both HEX and BIN files in order to burn OTP/SPI flash memory. The Keil IDE generates HEX files but you are able to convert them in case you want to use BIN files.
  2. 有关使用智能片段的更多信息,我建议您查看“用户手册SmartSnippets Toolbox UM-B-083”。您可以通过单击顶部菜单中的“帮助”按钮,然后选择用户指南(PDF或HTML)来下载。
  3. Regarding the mass production, you can burn the OTP memory using the SmartSnippets toolbox, but you should handle by your own how to reset each board before burning the OTP. The reset is mandatory when burning OTP/SPI flash through UART using SmartSnippets. Otherwise you can download firmware through JTAG or by using the Production Line Tool (PLT) .You can find the PLT project in the “reference design ” tab of our support page or by clicking in the follow link:

https://support.dialog-semicondiondiondiondiondum/connectivity/reference-designs?qt-view_reference_designs__block_3=7#qt-view_reference_designs__block_3.

谢谢,PM_DIALOG.

Jagath.
Offline
最后一次露面:1年8个月前
加入:2018-04-19 09:28
嗨pm_dialog,

嗨pm_dialog,

Thank you for your immediate response, our engineers will review your suggestions and post our quires.

Jagath.
Offline
最后一次露面:1年8个月前
加入:2018-04-19 09:28
hi PM_dialog,

hi PM_dialog,

当我下载对话电池供电的IBeAcon示例程序并使用Keil 5.25构建程序,并使用DA14580开发套件调试程序与DA14583子板。该程序在此调试环境中运行正常。

但是,当我尝试使用智能片段使用UART方法时尝试将程序闪存到DA 14583的目标板时面临的问题。
问题:(闪烁后没有答案)

1) my question is, whether i have to combine the boot loader program with this dialog i beacon firmware or the dialog i beacon firmware is composed of boot loader too.
2)如果我想结合它,是任何GUI工具,都是这样做的那么在UM-B-012中的长方法。

PM_DIALOG.
Offline
最后一次露面:2 days 6 hours ago
工作人员
加入:2018-02-08 11:03
嗨Jagath,

嗨Jagath,

Could you please provide more information when you try burn the SPI flash through UART using SmartSnippet? Are you able to burn the SPI Flash successfully and the 583 can’t boot or you are not able to burn it? In addition, could you please let me know if you are able to download firmware to the SysRAM? Could you please try to burn the SPI flash with another ble example of the SDK? The 583 chip has burned bootloader and by default boots from SPI flash

谢谢,PM_DIALOG.

Jagath.
Offline
最后一次露面:1年8个月前
加入:2018-04-19 09:28
嗨pm_dialog,

嗨pm_dialog,

1)我可以成功闪烁,我也可以读取烧焦的闪光灯。583启动问题我不确定,以及任何检查它的方法。

2)我与OTP闪存有什么关系,可以感受到没有这样做.. ??,对于对话框I灯泡示例。

PM_DIALOG.
Offline
最后一次露面:2 days 6 hours ago
工作人员
加入:2018-02-08 11:03
嗨Jagath,

嗨Jagath,

您是否能够通过UART下载到Sysram时的固件?您可以检查从SDK的另一个示例下载固件时是否具有相同的问题?

谢谢,PM_DIALOG.

Jagath.
Offline
最后一次露面:1年8个月前
加入:2018-04-19 09:28
嗨PM_dialog,

嗨PM_dialog,

1)没有靴子没有发生,是的,我下载了BLE裸骨,它在我的目标板上也没有响应,SPI Flash编程方法通过UART接口。我附上了烧记报告,请找到它。

PM_DIALOG.
Offline
最后一次露面:2 days 6 hours ago
工作人员
加入:2018-02-08 11:03
嗨Jagath,

嗨Jagath,

正如我上一篇文章的那样,我的推荐只是为了直接将代码下载到Sysram,而不是通过UART接口刻录SPI闪存。所以请尝试将Sysram下载到Sysram任何示例代码到583.如需将代码下载到Sysram,您将必须为583个板构建项目(Keil IDE的顶部有一个选项,允许您这样做并从下拉菜单中选择583)。然后,您必须单击“调试”按钮并运行代码。关于您无法从Flash引导的事实,从您附加的图片,我看到闪存中刻录的图像缺少智能片段附加的可引导标题(即如果单击是的)工具提示您刻录可引导图像)。因此,当您敲打刻录时,该工具将提示您为制作图像启动,您应该单击“是”以便能够从Flash启动。

谢谢,PM_DIALOG.

Jagath.
Offline
最后一次露面:1年8个月前
加入:2018-04-19 09:28
嗨PM_dialog,

嗨PM_dialog,

正如我提到的那样,它在开发板上的调试模式下工作正常,但我的场景将在目标板上刻录相同的固件,并且在刻录SRAM上的FW将是非挥发性的.. ??。
我也厌倦了通过单击“是”的选项,仍然没有工作,并且我应该在OTP图像标题上刻录引导加载程序映像。?? ..提前谢谢。

Jagath.
Offline
最后一次露面:1年8个月前
加入:2018-04-19 09:28
Hi Pm_dialog ,

Hi Pm_dialog ,

And i'am attaching the burn report by selecting "yes" on the flash programmer.

PM_DIALOG.
Offline
最后一次露面:2 days 6 hours ago
工作人员
加入:2018-02-08 11:03
嗨Jagath,

嗨Jagath,

I recommended you to download code directly into SyRAM in order to confirm that the device you are using is capable of running a BLE enabled firmware and it is not a solution on your problem. Regarding the fact that you are not able to run the beacon code on a 583 from SPI flash, have you tried to reset the board for running the bootloader again and eventually load the firmware from the SPI flash? You should not burn anything on the OTP in order to solve your problem. Be aware that the OTP of the 583 is already burned with a 583 bootloader for boot directly from the predefined SPI pins and then checking the other pins with different interfaces. I tried to replicate your problem on my side with the beacon software on a 583 connected a Pro DevKit board and I was able to see the device advertising. If this doesn’t work on the custom board you are working on then you will have to check the booting procedure with an analyzer if something goes wrong there.

谢谢,PM_DIALOG.

Jagath.
Offline
最后一次露面:1年8个月前
加入:2018-04-19 09:28
嗨pm_dialog,

嗨pm_dialog,
we have already developed our own Firmware with the customized advertising data it works well with the target board DA14583, but not FW of dialog Ibeacon and other examples. where I'm missing.

在开发板14580上使用JTAG连接器,引脚如下,无法将设备连接到调试模式,就像DA14583的子板一样。

在J5标题引脚26 - >目标板上的SWDIO

28 --->目标板上的SWCLK

1 - > VBAT

2 - > GND

并将SW连接到VBAT - >重置

and where i have to connect the Din.

PM_DIALOG.
Offline
最后一次露面:2 days 6 hours ago
工作人员
加入:2018-02-08 11:03
嗨Jagath,

嗨Jagath,

I’m sorry but I am not in a position to understand your question, so could you please explain it a bit more? If I am able to catch what you mean, you have designed o custom PCB with the DA14583 chip and you have developed your own firmware that is working on your custom board? Although, you are not able to download any default firmware from your SDK to your custom board. Did I understand correctly? Could you please make clear which your problem is with the JTAG connector? Do you connect you custom board with any DA14580 development kit?

谢谢,PM_DIALOG.

Jagath.
Offline
最后一次露面:1年8个月前
加入:2018-04-19 09:28
嗨Dialog_PM.

嗨Dialog_PM.

我们正在使用14580 devp pro套件的帮助,我们使用具有DA14583 SOC的定制板,我们正在使用UART方法燃烧FWS SPI。自从我们使用bin文件格式,我的fw运行得很好。但是,当我尝试刻录刻录示例程序时,您的示例程序进入十六进制文件将成功刻录但程序引导似乎不执行。

要在调试模式下运行我的目标板,我尝试使其运行作为我使用示例程序的JTAG成都的子板。但面对JTAG连接的问题。如此纠正我的JTAG标题引脚。

PM_DIALOG.
Offline
最后一次露面:2 days 6 hours ago
工作人员
加入:2018-02-08 11:03
嗨Jagath,

嗨Jagath,

将固件下载到SPI Flash时,使用二进制文件格式以刻录它。但是,SmartSnippets工具箱将自动转换为二进制文件格式。

以下是使用JTAG接口编程定制板所需的连接:

  1. J4 - Pin 1 (VBAT_580) - > Vcc of the custom board.
  2. J4 - 引脚25(TMS) - >自定义板的SWDIO引脚。
  3. J4 - 引脚27(TCK) - >定制板的SW_CLK PIN。
  4. TP2 -> to the Vpp of the custom board (if OTP needs to be programmed).
  5. J4 - 引脚2(GND) - >到定制板的地面。

You are able to find more information in the«Development kits & reference designs»tab ofFrequently Asked Questions (FAQ)page of our support site. Click to the link below in order to visit the FAQ page:

https://support.dialog-semiconductor.com/guide/frequently-asked-questions

谢谢,PM_DIALOG.