something-big-is-coming.jpg

8 posts / 0 new
Last post
nagendra81
Offline
Last seen: 5 days 2 hours ago
Joined: 2018-07-16 05:58
Which is best method JTAG or UART

Hi ,

I have used DA14583 chip set for custom application. which is best method to flash the device using jtag or Uart ?

Is there any difference in programming ? For production programming also which is best method ? why dialog gives two options ?

Is there any specific reason ..?

Device: 
PM_Dialog
Offline
Last seen: 24 min 25 sec ago
Staff
Joined: 2018-02-08 11:03
Hi nagendra81,

Hi nagendra81,

The JTAG interface is faster that the UART interface, because it is directly connected with Cortex-M0 through SWD When JTAG connection is used, the file is automatically downloaded, without the need to press the reset button, but when using UART a reset is needed. Please check the Production Line Tool (PLT) from our support portal. This tool has been designed for production test and programming unit that enables you to reduce cost and increase throughput in volume test & programming of units centered around the DA1458x family. You could find more information about this tool under the following link:

https://support.dialog-semiconductor.com/connectivity/reference-design/production-line-tool

Thanks, PM_Dialog

nagendra81
Offline
Last seen: 5 days 2 hours ago
Joined: 2018-07-16 05:58
Hi PM_Dailog ,

Hi PM_Dailog ,

I checked the production line tool, in that flashing using Uart method. is it right ..? then why uart method using in PLT board?

why not Jtag method ..? is there any jtag method support PLT Board is available ? for fast production programming .

PM_Dialog
Offline
Last seen: 24 min 25 sec ago
Staff
Joined: 2018-02-08 11:03
Hi nagendra81,

Hi nagendra81,

Yes, the PLT is using only UART for flashing the DUTs. There is no specific reason why the PLT has only the UART interface.  A possible reason is that the JTAG is not working correctly when the traces in the PSB are too long, but I will check it with the hardware team and I will get back to you if there is an important reason why we are not using it.

Thanks, PM_Dialog

Kinjan Patel
Offline
Last seen: 3 weeks 6 days ago
Joined: 2018-06-14 19:28
Hello,

Hello,

Does this mean, using JTAG interface from DA14583 does not need reset signal connection from JTAG device?
I am using Segger J-Link, Does that need Reset signal connection to DA14583?

Thanks
Kinjan

PM_Dialog
Offline
Last seen: 24 min 25 sec ago
Staff
Joined: 2018-02-08 11:03
Hi Kinjan Patel,

Hi Kinjan Patel,

The JTAG interface does not need reset signa connection from the DA14583. Please check the FAQs, in the Development kits & reference designs section, there is a question "How to program a custom board using a development kit (basic or pro)". As you can see, you have not to connect the reset signal when using our development board to program a custom board, so in your custom PCB this connection is not needed.

https://support.dialog-semiconductor.com/guide/faq-dev-kits-ref-designs

 

Thanks, PM_Dialog

Kinjan Patel
Offline
Last seen: 3 weeks 6 days ago
Joined: 2018-06-14 19:28
Hello Dialog team,

Hello Dialog team,

My custom design with DA14583 chip did not program through JTAG only because reset was not connected. I tried with SDK 5.0.4 and program was succesfull only after reset line connected between J-Link and DA14583. Attached error log when reset was not connected.

Additionally DA14583 requires inverter on reset line between DA14583 and J-Link. Refer below link:
https://wiki.segger.com/DA14583_series

Is my understanding correct that DA14583 cannot program without reset connection?

Regards
Kinjan

Attachment: 
PM_Dialog
Offline
Last seen: 24 min 25 sec ago
Staff
Joined: 2018-02-08 11:03
Hi Kinjan Patel,

Hi Kinjan Patel,

The reset connection between JTAG and DA14583 is not needed. As I am able to see from the attached pdf, you device cannot be connected, that’s why you are not able to program it through JTAG. Could you please try to software reset it from SEGGER J-Link Commander? Also, could you please clarify if the SPI flash is empty or you have burnt it with a firmware? If you have programmed the SPI flash with a BLE application, perhaps the device is in sleep mode and you will not be able to connect the JTAG.

Thanks, PM_Dialog