Firmware loading using OTP

⚠️
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.
13个帖子/ 0新
Last post
Rajapurerohit
Offline
Last seen:8 months 2 weeks ago
Joined:2017-04-20 09:17
Firmware loading using OTP

Hello Dialog_Support,

我的项目是在最后阶段。我想使用OTP下载自定义板上的固件。
任何人都可以帮助我从硬件和过程通过OTP下载.hex文件的引脚。
Are there any changes i have to do it in firmware file.

感谢致敬
rohit.

关键词:
设备:
MT_dialog
Offline
Last seen:2 months 9 hours ago
Staff
Joined:2015-06-08 11:34
嗨rajapurerohit,

嗨rajapurerohit,

您必须通过JTAG或VIA UART连接到580,智能代码段工具将允许您访问OTP并刻录您创建的.hex文件。工具为了刻录OTP是OTP程序员。在FW方面,确保已未定义的cfg_development_debug,如果您想定义CFG_Boot_From_Otp。

Thanks MT_dialog

Rajapurerohit
Offline
Last seen:8 months 2 weeks ago
Joined:2017-04-20 09:17
你好mt_dialog,

你好mt_dialog,
Thank you for the response.
Will follow the mentioned steps.

感谢致敬
rohit.

Rajapurerohit
Offline
Last seen:8 months 2 weeks ago
Joined:2017-04-20 09:17
你好mt_dialog,

你好mt_dialog,

If we use UART then which UART pins are recommended for OTP programming.

感谢致敬
rohit.

MT_dialog
Offline
Last seen:2 months 9 hours ago
Staff
Joined:2015-06-08 11:34
嗨rajapurerohit,

嗨rajapurerohit,

UART引脚,在引导过程中的580检查是标准的,每个引脚的每个引脚都有标准的波特率(您可以从AN-B-001文档检查引脚和相应的波特率)。可以使用任何引脚,以便下载FW以便编程OTP

Thanks MT_dialog

Rajapurerohit
Offline
Last seen:8 months 2 weeks ago
Joined:2017-04-20 09:17
你好mt_dialog,

你好mt_dialog,

Thank you for the response.
I have referred the document for UART pins.
现在我的问题是,在OTP编程期间,在文档UM-B-049中提到了Connect J3跳线。确实需要跟随我的定制板。

2nd thing is, i am bit confuse between VPP and 6.8V supply . Can you please explain me in detail regarding the same.

感谢致敬
rohit.

MT_dialog
Offline
Last seen:2 months 9 hours ago
Staff
Joined:2015-06-08 11:34
嗨rajapurerohit,

嗨rajapurerohit,

为了刻录OTP,您需要编程电压,即J3跳线确实,它在VPP引脚上应用了6.8V电源,以便燃烧OTP,是的,您应该将这种电压应用于此类电压您的客户设计VPP为了编程580.关于VPP和6.8V,您希望有关究竟是什么呢?

Thanks MT_dialog

Rajapurerohit
Offline
Last seen:8 months 2 weeks ago
Joined:2017-04-20 09:17
Thank you the response.

Thank you the response.

对于OTP编程,我完成了以下连接:(UART连接)
Mother board Custom board
VPP VPP.
GND GND
VDD VDD.
po_4 p0_4
P0_5 PO_5

After connecting both board pins, I have tried programming OTP using SmartSnippets but i am getting RST errors,
@Reset signal not detected for more than 16000 msecs.
@ Failed downloading firmware file to the board.

上面的程序是否正确?如果是,那么为什么我无法读取RST引脚。
请帮忙me to resolve the issue, it's very urgent and necessary for me to resolve issue.

感谢致敬
rohit.

MT_dialog
Offline
Last seen:2 months 9 hours ago
Staff
Joined:2015-06-08 11:34
嗨rajapurerohit,

嗨rajapurerohit,

Regarding your connections you mention that you connect the P04 of the motherboard to the P04 of the custom board, if you would like to use the FTDI of the motherboard then you have to connect the pins of your custom board to the RX/TX pins of the FTDI that the Dialog motherboard has. The P04 and P05 pins since there is no 580 on the daugher board slot are not connected anywhere. Please also have a look at your other post.

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bl...

Thanks MT_dialog

Rajapurerohit
Offline
Last seen:8 months 2 weeks ago
Joined:2017-04-20 09:17
你好mt_dialog,

你好mt_dialog,

我没有明白这一点,
如果您想使用主板的FTDI,那么您必须将您的自定义板的引脚连接到对话框主板的FTDI的Rx / Tx引脚。
意味着如何连接这些引脚?
Is there any FTDI pin provision on motherboard to connect Tx/Rx of custom board pins.

And regarding my flash related post
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bl...
I am not getting where to check it.
意味着我打开SmartSnippet并使用终端工具并在日志中开始,我得到的开始,@booter com端口成功打开。
I didn't get what exactly do you mean.
Please explain me if i am configuring something wrong or following wrong procedure to burn .HEX using OTP or SPI_Flash.

Thanks and Ragards
rohit.

MT_dialog
Offline
Last seen:2 months 9 hours ago
Staff
Joined:2015-06-08 11:34
嗨rajapurerohit,

嗨rajapurerohit,

您所拥有的定制板应该公开580可以从其启动的引脚,以便访问那些引脚,您需要一个串行设备,允许您与设备交互,最重要的是FTDI电缆。Pro主板上有一个FTDI板载,因此您可以使用它来访问定制板的引脚。主板上的FTDI的Tx / Rx引脚横跨P04和P05,主板曝光,以便编程连接在Pro Kit的子板的插槽上的设备。因此,您将不得不按照女儿进行相同的连接。请检查Pro主板原理图,清楚地了解我正在描述的内容。

智能代码段(选择UART接口时)通过UART连接并下载接受命令的特殊FW以刻录OTP的闪存(即在击中连接按钮时会发生的情况,SS PROMTS URIP按重置)。如果连接P04和P05引脚A FTDI电缆并打开终端,您应该看到终端上打印的垃圾,这意味着583正在寻找从智能片段引导的设备,即智能片段看到和下载“特殊”固件的下载。

Thanks MT_dialog

Rajapurerohit
Offline
Last seen:8 months 2 weeks ago
Joined:2017-04-20 09:17
嗨mt_dialog,

嗨mt_dialog,

谢谢响应,它可以帮助批量检测自定义板RESET PIN。
Now i am able detect reset pin, but i am getting the error to write on OTP. I have attached the screenshot. Is there anything do i need to setup in smartsnippets board file.

关于SPI_FLASH我正在获取以下错误日志,
[INFO SPI Flash Programmer @17-11-03 12:53:15] Firmware File F:\DiaSemi\SmartSnippetsStudio\Toolbox\common_resources\flash_programmer.bin has been selected for downloading.
[信息SPI Flash Programmer @ 17-11-03 12:53:15]连接到COM6端口已成功打开。
[INFO SPI Flash Programmer @17-11-03 12:53:15] Started download procedure...
[ACTION SPI Flash Programmer @17-11-03 12:53:16] Please press the hardware reset button on the board to start the download process.
[INFO SPI Flash Programmer @17-11-03 12:53:17] Reset detected
[INFO Booter @17-11-03 12:53:18] Successfully disconnected from port COM6.
[INFO SPI Flash Programmer @17-11-03 12:53:19] Connection to COM6 port has successfully opened.
[INFO Booter @17-11-03 12:53:19] Successfully disconnected from port COM6.
[信息SPI Flash Programmer @ 17-11-03 12:53:19]成功下载了固件文件到电路板。
[信息SPI Flash Programmer @ 17-11-03 12:53:19]成功配置了SPI闪存端口和引脚。
[INFO SPI Flash Programmer @17-11-03 12:53:33] Connection to COM6 port has successfully opened.
[INFO Booter @17-11-03 12:53:33] Successfully disconnected from port COM6.
[INFO SPI Flash Programmer @17-11-03 12:53:33] SPI Memory erasing completed successfully.
(信息SPI Flash程序员@17-11-03 12:53:33]意图ding memory to verify its contents after erase...
[INFO SPI Flash Programmer @17-11-03 12:53:33] Connection to COM6 port has successfully opened.
[INFO Booter @17-11-03 12:53:33] Successfully disconnected from port COM6.
[错误SPI Flash Programmer @ 17-11-03 12:53:33]验证在地址0x00时失败
(信息SPI Flash程序员@17-11-03 12:53:33]意图ding memory to refresh memory contents....
[INFO SPI Flash Programmer @17-11-03 12:53:33] Connection to COM6 port has successfully opened.
[INFO Booter @17-11-03 12:53:33] Successfully disconnected from port COM6.
(信息SPI Flash程序员@17-11-03 12:53:33]意图ding has finished. Read 32768 bytes.
[INFO SPI Flash Programmer @17-11-03 12:53:52] Started burning memory with 25064 bytes of data at address 0x00000.
[INFO SPI Flash Programmer @17-11-03 12:53:52] Connection to COM6 port has successfully opened.
[INFO Booter @17-11-03 12:53:59] Successfully disconnected from port COM6.
[信息SPI Flash Programmer @ 17-11-03 12:53:59]内存刻录成功完成。
[INFO SPI Flash Programmer @17-11-03 12:53:59] Reading memory to verify SPI FLash memory contents after burn...
[信息SPI Flash Programmer @ 17-11-03 12:53:59]连接到COM6端口已成功打开。
[INFO Booter @17-11-03 12:54:06] Successfully disconnected from port COM6.
[ERROR SPI Flash Programmer @17-11-03 12:54:06] SPI FLash memory verification failed. Error at address 0x00

请帮忙

感谢致敬
rohit.

Attachment:
MT_dialog
Offline
Last seen:2 months 9 hours ago
Staff
Joined:2015-06-08 11:34
嗨rajapurerohit,

嗨rajapurerohit,

从智能片段工具,我看到这是一个583,这意味着OTP的一部分随着583引导加载程序已经全部束彩布,这意味着它以来,它无法将图像刻录到OTP,但只有一个高级引导加载程序要指定额外的引导程序(请检查UM-B-012_DA14580_581_583的辅助引导加载程序)。底线是您无法将应用程序映像刻录到583的OTP,只有一个额外的引导加载程序。您从工具中获得的错误是您尝试刻录的图像对于剩余的OTP内存量非常大。

Thanks MT_dialog