将固件文件下载到电路板上失败

11 posts / 0 new
Last post
achao1104
Offline
Last seen:5 years 3 months ago
Master
加入:2015-12-24 10:56
将固件文件下载到电路板上失败

dialog,

my os is win7 64 bit. I previously installed smart snippets 3.6 which can work properly, I have downloaded file into flash by version 3.6, but after I installed 3.9 version, it didn't work, when I click "connect" (for downloading to flash), it reports below:
将固件文件下载到电路板上失败

I have uninstalled the 3.9 and reinstalled 3.6 back and forth for times, I can not make it work now.
how to solve it?

问候

Peter

设备:
achao1104
Offline
Last seen:5 years 3 months ago
Master
加入:2015-12-24 10:56
顺便说一下,我用了JTAG

顺便说一下,我用了JTAG

MT_dialog
Offline
Last seen:2个月2周前
工作人员
加入:2015-06-08 11:34
嗨Achao1104,

嗨Achao1104,

Are you able to do any other operations with Smart Snippets like connect to the OTP ? Also can you please try to connect via UART and check again, try to use the UART booter for instance and check if you can download code in the sysram.

Thanks MT_dialog

achao1104
Offline
Last seen:5 years 3 months ago
Master
加入:2015-12-24 10:56
我无法连接到OTP,

我无法连接到OTP,但我可以通过UART连接,而JTAG也适用于Keil。

MT_dialog
Offline
Last seen:2个月2周前
工作人员
加入:2015-06-08 11:34
嗨Achao1104,

嗨Achao1104,

Can you please check if you can download code to your SPI via UART, just remember to have the appropriare connections to your board (proper connections of the SPI and as indicated to the user manuals of the dev kit also an extra connection in p05 pin for the RX of the UART). Also, are you able to use power profiler ?

Thanks MT_dialog

achao1104
Offline
Last seen:5 years 3 months ago
Master
加入:2015-12-24 10:56
1)你能检查一下吗?

1)你能检查一下吗?you can download code to your SPI via UART,
不,我不能。
2) Also, are you able to use power profiler ?
不,我不能。
但我可以正确使用JTAG,我也可以刻录EEPROM

MT_dialog
Offline
Last seen:2个月2周前
工作人员
加入:2015-06-08 11:34
嗨Achao1104,

嗨Achao1104,

I am trying to understand if the failure of the SPI connection is due to a faulty Smart Snippets instalation (since the problem occured after a second installation of smart snippets) or due to a faulty connection, since you can burn the eeprom it doesn't sound like an installation of smart snippets problem but an SPI connection problem (are you using a dev kit or a custom board), in case you are using a custom board please check your connections (also make sure that the spi memory you are trying to use is one of the verified SPI flash memories that we support), if you are using a dev kit, a pro kit for example please check your jumper connections and check the SPI configurations in the Smart Snippets to make sure that the prorer pins are selected in the board setup option.

Also is the SPI on the board that you are trying to program allready programed? If it is, try to do the following, with no power on the board open smart snippets and go to the SPI flash programmer, when you are ready, supply voltage to the board and hit the connect button in order for the flash programmer to download via jtag and not give the chance for the chip to boot via spi. If the SPI is programmed, the da boots from there without letting the jtag to attach normally.

Regarding the installation of the Smart Snippets tool please make sure that you 've uninstalled the previous version before installing an other one.

Thanks MT_dialog

achao1104
Offline
Last seen:5 years 3 months ago
Master
加入:2015-12-24 10:56
thanks for reply. I am using

thanks for reply. I am using a custom board, and have programmed flash successfully for the first time, but can not succeed for the second. At the beginning, I suspect that it might be due to I have installed 3.9 version, but it looks not like that. I have tried to follow your steps below, but not succeed.

如果它是,尝试执行以下操作,没有电路板打开智能片段并转到SPI闪存程序员,当您准备好,电源电压向电路板并点击连接按钮,以便闪存程序员下载通过JTAG而不是赋予芯片通过SPI启动的机会。

achao1104
Offline
Last seen:5 years 3 months ago
Master
加入:2015-12-24 10:56
顺便说一下,在选择时

顺便说一下,在选择“UART / SPI模式”时,我看不到显示任何COM端口,但如果我选择“UART”模式,我可以看到COM端口。
When selecting "UART/SPI", I didn't see message showed up as talked below.

Virtual COM port / JTAG mode: there are three available modes:
In UART/SPI mode, SmartSnippets scans and lists the Virtual COM port pairs currently connected to FTDI devices. Note that in case that SmartSnippets detects more than on UART ports with location ID = 0 (usually happens when system has USB 3.0 hosts with Windows 7 or older) it can no longer distinguish between these ports in UART/SPI mode. To avoid connecting and working with a port different that the one chosen by the user, the user should switch to UART mode (see below) and select the UART port to connect to. An example of the message that shows up is:

MT_dialog
Offline
Last seen:2个月2周前
工作人员
加入:2015-06-08 11:34
嗨Achao1104,

嗨Achao1104,

我想你正在使用一个对话框的开发工具包来编写您的自定义板(哪个dev套件您有-basic,专业,专业人士)?如果您有一个基本或专业人士,那么您可以尝试使用JTAG阅读此内容吗?(为此,请将跳线放置在SPI配置中的J5标题旁边的数字中所示)。如果您能够阅读Dev套件的船上SPI而不是您的PCB上的SPI,那么它的PCB上的硬件连接与SPI或与Dev Kit的错误连接,请确保SPI You正在使用的是支持的SPI闪存之一AN-B-023.pdf. If you are not able to read even the on board SPI please check in the board setup option the SPI flash configuration pins.

If your dev kit is a basic kit there is no option for UART/SPI mode.

Thanks MT_dialog

PM_Dialog
Offline
Last seen:3 days 23 hours ago
工作人员
加入:2018-02-08 11:03
嗨peyman@azartesla.com,

你好 ,

Since you are trying to connect via the UART interface you will have to also connect the UART pins on the 583 that you are using, the Smart Snippets tool uses by default the P04 and P05 pins, so you will have to connect those pins with the UART interface. When you hit the "Connect" button and Smart Snippets asks for a reset, hit the reset so that the bootloader will start running. The tool will pick up the 0x02 that signifies the UART booting section and will consider that the reset button is pressed.

Thanks, PM_Dialog