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.
Tue, 2015-04-14 12:39
#1
SmartSnippets v3.4 can't load firmware file to DA14580 using UART
Hi Summer, can you tell me which development kit you are using and what the jumper settings are ?
BR JE_Dialog
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
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
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
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