DA14583 UART boot sequence

6 posts / 0 new
Last post
paul.deboer
Offline
Last seen:1 year 2 months ago
Joined:2014-06-03 10:57
DA14583 UART boot sequence

Dear Dialog,

I'm currently struggling to get the PLTD running against the DA14583. The UART boot doesn't seem to work in our setup (RX goes high by PLTD but no answer from the DA14583 on the TX).
The time that RX is high is about 355ms after VBAT is applied, the TX remains low for 400ms after VBAT is applied, after that it appears that our own code in flash is booted.
There is no advanced bootloader in OTP as 0x47F10 reads 0x00000000.

在我们的硬件德西gn, we connected the UART lines to P0-0 and P0-1. According to the UM-B-012, the bootloader in OTP should sequentially go through UART configuration 0 till 3 to probe the RX line.

I was looking into the secondary bootloader project:

DA14580_581_583_SDK_3.0.10.1\tools\secondary_bootloader\secondary_bootloader.uvprojx

or

DA1458x_SDK\5.0.3\utilities\secondary_bootloader\secondary_bootloader.uvprojx

and noticed that the 'int main (void)' function only sets the UART to P0_4/P0_5. I cannot seem to find the code where it loops over the UART configurations. Am I missing something or does the bootloader project not reflect what is in OTP or does the DA14583 only allow UART boot through P0_4/P0_5?

Device:
MT_dialog
Offline
Last seen:1 month 3 weeks ago
Staff
Joined:2015-06-08 11:34
Hi paul,

Hi paul,

The 583 bootloader that is burned in the OTP, is different than the bootloader that is placed in the SDK, the proper booting procedure of the 583 is the one described in the Secondary bootloader document and the 583 and should scan the indicated UART port/pins pair. Perhaps you could remove the power of the 583 internal SPI and check how the devive will behave.

Thanks MT_dialog

paul.deboer
Offline
Last seen:1 year 2 months ago
Joined:2014-06-03 10:57
Removing the power from SPI

Removing the power from SPI flash is hard, it requires me to do some destructive testing. What's easier and with the same result should be erasing the SPI flash through SmartSnippets JTAG connection. I'll give that a go tomorrow.

paul.deboer
Offline
Last seen:1 year 2 months ago
Joined:2014-06-03 10:57
Thanks for the confirmation

Thanks for the confirmation that the code doesn't reflect what is in OTP.
I've erased the SPI flash of the DA14583 and that makes no difference in behavior.

MT_dialog
Offline
Last seen:1 month 3 weeks ago
Staff
Joined:2015-06-08 11:34
Hi paul,

Hi paul,

It seems a bit unlikely for the bootloader not to run, are you absolutely certain that you have connected the RX/TX wires properly on the PLT tool ?

Thanks MT_dialog

paul.deboer
Offline
Last seen:1 year 2 months ago
Joined:2014-06-03 10:57
搞懂了,看来是我的

搞懂了,看来是我的device was broken somehow although jtag worked. Another device booted up nicely through uart.

Topic locked