Hi,
I have custom DA14683 boards and got problem to loading firmware.
I program my custom board by using DA14683 development kit Pro
JTAG interface
J3-SWCLK/ADC7/P2_4 - > SW_CLK pin of custom board.
J3-SWDIO/ADC4/P0_6 - > SWDIO pin of custom board.
UART interface
J4-ADC0/P1_2 - > UART_TX of custom board.
J3-P2_3 - > UART_RX of custom board.
Power in
J4 - VBAT+ - > VBAT of the custom board.
J4 - GND - > GND of the custom board.
K2 - RST - > to the RST pin of the custom board. (active high)
SmartSnippets Toolbox version 4.83
When I press detect device, it's unable to detect the DA14683.
When I select Jtag and DA14683-00 then press open, the log window output
[INFO General @20-06-22 21:36:02] Could not measure total IR len. TDO is constant high.
[INFO General @20-06-22 21:36:02] Could not measure total IR len. TDO is constant high.
[INFO General @20-06-22 21:36:02] Could not measure total IR len. TDO is constant high.
[INFO General @20-06-22 21:36:02] Could not measure total IR len. TDO is constant high.
[INFO General @20-06-22 21:36:02] Could not measure total IR len. TDO is constant high.
[ERROR General @20-06-22 21:36:02] Could not read memory address 0x50003200 with function JLINKARM_ReadMemHW
[ERROR General @20-06-22 21:36:02] No known chip found while opening JLink connection. Terminating proccess...
I had debug by uart output message, When I press detect device on SmartSnippets Toolbox window
the terminial can output as below message.
DA14683BB
DA14683BB
DA14683BB
DA14683BB
Is DA14683 chip need to initialize and load a bootloader before on custom board?
Any methods on how I could debug this issue or what could cause this?
Thanks
kuda
Hi kuda,
Could you please try to program your custom board with any of the SDK demos? I would recommend first erasing the QSPI flash through the SmartSnippets Studio (by executing either the erase_qspi_serial_win or erase_qspi_jtag_win python script ) and then program it (by executing either the program_qspi_serial_win or program_qspi_jtag_win python script ). For instance, please try to use the proximity reporter examples of the SDK and check if it works correctly. Are you able to see the device start advertising?
I would suggest to use our latest SDK1.0.14 and have a clean SDK directory without the .metadata folder.
Please let me know with the results.
Thanks, PM_Dialog
Hi! PM_Dialog ,
The test firmware is ble_peripheral.bin( examples of the SDK ),
SmartSnippets Toolbox version 4.83
When I press detect device, it's unable to detect the DA14683.
When I select Jtag and DA14683-00 then press open, the log window output
[INFO General @20-06-24 22:00:23] Could not measure total IR len. TDO is constant high.
[ERROR General @20-06-24 22:00:23] Could not read memory address 0x50003200 with function JLINKARM_ReadMemHW
[ERROR General @20-06-24 22:00:23] No known chip found while opening JLink connection. Terminating proccess...
I try to press connect, it always output error message,please find the attached file.
[ERROR QSPI Flash @20-06-24 22:07:21] Failed connecting to JLinkGDBServer on localhost: 2331.
Error: communication with GDB Server socket failed. Please try again.
So I can't set erase_qspi command, have another way the execute erase_qspi command?
This message is "comunicate QSPI and can't detect spiFlash " error?
my custom board flash is W25Q80EWUXIE TR.
Or another error? ex: clock jitter? or something?
TKS. kuda
Hi kuda,
Can you please check that you are usign the corect flash driver?
Thanks, PM_Dialog
HI!
It can be program by select uart + spi mode in SmartSnippets Toolbox version 4.83.
But da14683 still can't program by select JTAG.
TKS.
kuda
Hi kuda,
In the initial pup-up window (when opening the SS Toolbox), are you able to detect the JTAG SN number?
If yes, once the “Connect” button is pressed, what is the result?
Can you also try to program the board via SmartSnippets Studio by expecting the appropriate python scripts?
Thanks, PM_Dialog
Hi!
I program my custom board by using DA14683 development kit Pro.
The kit can detect the JTAG SN number, please find the attached file page1.
当我按下连接按钮,请找到attached file page2. the log message as below.
[INFO General @20-06-29 21:03:57] Could not measure total IR len. TDO is constant high.
[INFO General @20-06-29 21:03:57] Could not measure total IR len. TDO is constant high.
[INFO General @20-06-29 21:03:57] Could not measure total IR len. TDO is constant high.
[INFO General @20-06-29 21:03:57] Could not measure total IR len. TDO is constant high.
[INFO General @20-06-29 21:03:57] Could not measure total IR len. TDO is constant high.
(错误一般@20-06-29 21:03:57]不能读memory address 0x50003200 with function JLINKARM_ReadMemHW
[ERROR General @20-06-29 21:03:57] No known chip found while opening JLink connection. Terminating proccess...
[INFO QSPI Flash @20-06-29 21:04:05] Read 97648 bytes from file ble_peripheral.bin.
[INFO QSPI Flash @20-06-29 21:04:07] Successfully prepared and loaded bootable image file.
[ERROR QSPI Flash @20-06-29 21:04:09] Failed connecting to JLinkGDBServer on localhost: 2331. Error: communication with GDB Server socket failed. Please try again.
I try program the custom board via SmartSnippets Studio , please find the attached file page3.
kuda
Hi kuda,
Can you please try to erase the QSPI flash throught the CLI programmer? Did you include the correct flash drivers?
Thanks, PM_Dialog