SmartSnippets v3.4 can't load firmware file to DA14580 using UART

6 posts / 0 new
Last post
summer20100514
Offline
Last seen:4 years 5 months ago
Guru
Joined:2014-12-30 05:01
SmartSnippets v3.4 can't load firmware file to DA14580 using UART

Hi, I am using SmartSnippets v3.4 to write one SPI FLASH header using UART, but it can't load firmware to DA14580. I choose J-LINK instead, and it works well. Could you please tell me why I can't use UART to download firmware?
[INFO @15-04-14 19:35:09] Firmware File C:\Users\SUMMER\SmartSnippets\resources\flash_programmer.bin has been selected
(信息@15-04-14 19:35:09]COM3连接端口has successfully opened.
[INFO @15-04-14 19:35:09] Started download procedure...
[ACTION @15-04-14 19:35:10] Please press the hardware reset button on the board to start the download process.
[INFO @15-04-14 19:35:13] Reset detected
[INFO @15-04-14 19:35:24] Failed downloading firmware file to DA14580.

JE_Dialog
Offline
Last seen:2 days 11 hours ago
Staff
Joined:2013-12-05 14:02
Hi Summer, can you tell me

Hi Summer, can you tell me which development kit you are using and what the jumper settings are ?

BR JE_Dialog

summer20100514
Offline
Last seen:4 years 5 months ago
Guru
Joined:2014-12-30 05:01
Hi, I use one board which isn

Hi, I use one board which isn't designed by Dialog. Here are my jumper settings however.
[SPI FLASH]
#define SPI_GPIO_PORT GPIO_PORT_0
#define SPI_CLK_PIN GPIO_PIN_0
#define SPI_CS_PIN GPIO_PIN_3
#define SPI_DI_PIN GPIO_PIN_5
#define SPI_DO_PIN GPIO_PIN_6
[UART]
#define UART_GPIO_PORT GPIO_PORT_0
#define UART_TXD_PIN GPIO_PIN_4
#define UART_RXD_PIN GPIO_PIN_7

dudi_g
Offline
Last seen:4 years 2 months ago
Joined:2015-04-16 08:13
Hi,

Hi,
Same problem here. J-link works good, but UART fails (also using SmartSnippets).
Somtimes it stuck on "[INFO @15-04-29 15:46:27] Started download procedure..."
and sometimes we get this message after it "[ACTION @15-04-14 19:35:10] Please press the hardware reset button on the board to start the download process."

Thanks,
Dudi

summer20100514
Offline
Last seen:4 years 5 months ago
Guru
Joined:2014-12-30 05:01
change the jumper setting to

change the jumper setting to this, and everything works fine.
#define UART_GPIO_PORT GPIO_PORT_0
#define UART_TX_PIN GPIO_PIN_4
#define UART_RX_PIN GPIO_PIN_5

JE_Dialog
Offline
Last seen:2 days 11 hours ago
Staff
Joined:2013-12-05 14:02
Hi Dudi, did you try 3.7 ? we

Hi Dudi, did you try 3.7 ? we've had several releases since 3.4 each with bug fixes and continuous improvement. Which board are you using ?

BR JE_Dialog