Programing custom board using 1-Wire with DevKit Pro

Hello Team,

SDK:  6.0.16.1144

Module: DA14531MOD

Development Kit: DevKit Pro.

I am having DA14531MOD custom board with P0_5 exposed to program it as I am using SWDIO and SWCLK as GPIO by disabling its SWD using:

SetBits16(SYS_CTRL_REG, DEBUGGER_ENABLE, 0);

I followed the description as mentioned in AN-B-072 to use 1-Wire UART programming, but I could program DA14531MOD daughter board connected to DevKit Pro. However, I want to burn the flash on my custom board. I have tried to power it from the DevKit Pro and connected custom board P0_5 to DevKit Pro P25 on J2 but could not make it. When I choose Board -> Device Info/Detect Device it askes to press RESET and it never detecting that I pressed the reset. It working fine with DA14531OD Daughter board though.

I do not have direct UART module like FTDI at the moment in my hand to try out as I am out of office but I have DevKit Pro. So, I would like to use DevKit Pro itself. Where I need to connect the P0_5 of my custom board to DevKit Pro.

I looked into multiple forum questions but all talks about AN-B-072 and using FTDI but not DevKit Pro to Custom board.

Thanks & Regards

Harish.

Parents
  • Hi Harish,

    Thank you for posting  your question online.
    Can you make sure that you have not downloaded any FW previously on your custom board that disables the HW Reset pin?
    The HW Reset pin is disabled by the following function:

    /**
     ****************************************************************************************
     * @brief Disable hardware reset functionality on P00.
     ****************************************************************************************
     */
    __STATIC_FORCEINLINE void GPIO_Disable_HW_Reset(void)
    {
        SetWord16(HWR_CTRL_REG, 1);
    }

    You can also probe a logic analyzer on the P0_0 (HW reset Pin) and on P0_5 (1-Wire UART) to see the activity when trying to program your board.

    You could also use the SWD interface, program your custom board but after that you will not be able to access it again via SWD. 

    I followed the description as mentioned in AN-B-072 to use 1-Wire UART programming, but I could program DA14531MOD daughter board connected to DevKit Pro. However, I want to burn the flash on my custom board. I have tried to power it from the DevKit Pro and connected custom board P0_5 to DevKit Pro P25 on J2 but could not make it. When I choose Board -> Device Info/Detect Device it askes to press RESET and it never detecting that I pressed the reset. It working fine with DA14531OD Daughter board though.

    For the DA14531MOD Daughter board we are following this configuration of the Dev Kit Pro in order to program it via 1-Wire UART.

    By placing the jumpers on J1, we Connect a 1kΩ resistor between Rx-Tx and we use P0_5.
    So, please refer on UM-B-141:

    Try to add a 1kΩ resistor between P0_6 and P0_5.

    Kind Regards,
    OV_Renesas

  • Hi OV_Renesas,

    Thank you for looking into it and replying.

    Can you make sure that you have not downloaded any FW previously on your custom board that disables the HW Reset pin?

    I have not disabled REST pin. The reset functionality is working fine when I burn using SWD(SWDIO/SWCLK) and also the current burnt code is working fine and RESET also working fine.

    You could also use the SWD interface, program your custom board but after that you will not be able to access it again via SWD

    Yes, I would like to use 1-WIre permanently on my custom board so even if it does not work with SWD it is fine.

    I followed the same jumper settings as mentioned in 5.9.1. As mentioned I could do program on Daughterboard so these jumper settings are correct. The problem is programming custom board. I have already connected the MB2_5 to P0_5 on my custom board as mentioned in the Table-5 in UM-B-141 and Table-4. But still it was not detecting the RESET event when I press the RESET button on custom board. 

    So, my connections are correct as you suggested. And also I have SWD pins as well and I could program through them without any problem on my custom board(I still did not disabled SWD pins on my custom board hence its working fine). 

    I will connect Logic Analyzer on P0_5 and REST on my custom board and will see what is happening on those pins.

    Thanks,

    Harish.

  • Hi OV_Renesas,

    One more point I observed is in your the P0_5 is starting with HIGH and as soon as the RST is triggered its pulling LOW and again pulling HIGH.

    However, I in my capture, the P0_5 is kept low and as after RST is triggered it came HIGH and a LOW spike and again HIGH.

    In my application that is already existed in the flash, I am using P0_5 as EN pin of a sensor. In user_periph_setup I configured P0_5 as LOW by default. Does it give any problem? Can I use P0_5 in my application when I use 1-Wire UART programming mode?

    The reason for moving to 1-Wire programming is I need more I/Os hence I have disabled SWD(SWDIO and SWCLK) and using as GPIO and would like to use P0_5 as well in my application. Please let me know if I should not be using P0_5 in my application or I can use it and  no problem in programming it using 1-Wire UART.

    Thanks,

    Harish

  • Hi OV_Renesas,

    Again I have tried different ways to check further.

    I have removed all the external connections from SWDIO, SWCLK, and P0_5 and created two programming ports one with SWD/JTAG and another one with 1-Wire with P0_5.

    I have used Blinky example code for burning the code with both JTAG and 1-Wire methods.

    1. With SWD/JTAG, I connected my custom board to DevKit Pro using SWDIO, SWCLK and I could burn the code and the LED on the custom board is blinking as per the code.

    2. The same Blinky.HEX, now I have used FTDI module with 1-Wire to P0_5. I could connect using "Connect" in SmartSnippets Toolbox and could burn the code as well. First, it said it could burn the code but reset failed - "Failed to send a reset command to the board. Replug the board to start the application.". When I tried a second time, it could burn, and reset also succeeded. However, the code is not functional, and LED on my custom board was not blinking at all. Just for information in both ways, I have used the same Blinky HEX file. I have attached both the SmartSnippets console log and Blinky HEX file.

    From the above test, I could confirm that my custom board is working fine from a functional perspective as it worked when I burned the code using SWD/JTAG but not worked only with 1-Wire programming method.

    Sorry for the multiple replies, I keep on trying different ways as I am lost here and completely blocked and could not proceed further. 1-Wire is the only hope as I need to use SWDIO and SWCLK as GPIO on my custom board due to limited I/O ports available on this module.

      

    Thanks,

    Harish.

    blinky_531.zip

    connect-and-burn-3.log
    [INFO     SPI Flash Programmer@23-05-23 22:20:52] Copying file: C:\workspace\Electronics\tools\renesas\SDK_6.0.16.1144\DA145xx_SDK\6.0.16.1144\projects\target_apps\peripheral_examples\blinky\Keil_5\out_DA14531\Objects\blinky_531.hex to C:\Users\Harish\AppData\Local\Temp\\input1.hex.
    [INFO     SPI Flash Programmer@23-05-23 22:20:53] Converting file input1.hex to bin.
    [INFO     Flash Code@23-05-23 22:20:53] Read 3728 bytes from file C:\Users\Harish\AppData\Local\Temp\\input1.bin.
    [INFO     Flash Code@23-05-23 22:20:55] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-23 22:20:55] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-23 22:20:55] Started download procedure...
    [INFO     Booter@23-05-23 22:20:57] Successfully disconnected from port COM8.
    [INFO     SPI Flash Programmer@23-05-23 22:20:57] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-23 22:20:57] Successfully disconnected from port COM8.
    [INFO     SPI Flash Programmer@23-05-23 22:20:57] Successfully configured SPI ports and pins.
    [INFO     Flash Code@23-05-23 22:20:57] Successfully downloaded firmware file to the board.
    [INFO     Flash Code@23-05-23 22:21:01] Started burning memory with 3728 bytes of data at address 0x00.
    [INFO     SPI Flash Programmer@23-05-23 22:21:01] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-23 22:21:01] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-23 22:21:01] Write 3728 bytes at offset 0x00
    [INFO     Flash Code@23-05-23 22:21:01] Memory burning completed successfully.
    [INFO     Flash Code@23-05-23 22:21:01] Reading memory to refresh table contents....
    [INFO     Flash Code@23-05-23 22:21:01] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-23 22:21:02] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-23 22:21:02] Read 3728 bytes from offset 0x00
    [INFO     Flash Code@23-05-23 22:21:02] Reading has finished. Read 3728 bytes.
    [ERROR    General@23-05-23 22:21:02] COM8 is in use. Please replug the board and try again.
    [ERROR    General@23-05-23 22:21:02] Failed connecting to port COM8.
    [WARNING  Flash Code@23-05-23 22:21:02] Failed to send reset command to the board. Replug the board to start application.
    [INFO     Flash Code@23-05-23 22:22:10] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-23 22:22:10] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-23 22:22:10] Started download procedure...
    [ACTION   Flash Code@23-05-23 22:22:11] Please press the hardware reset button on the board to start the download process.
    [INFO     Flash Code@23-05-23 22:22:11] Reset detected
    [INFO     Booter@23-05-23 22:22:13] Successfully disconnected from port COM8.
    [INFO     SPI Flash Programmer@23-05-23 22:22:13] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-23 22:22:13] Successfully disconnected from port COM8.
    [INFO     SPI Flash Programmer@23-05-23 22:22:13] Successfully configured SPI ports and pins.
    [INFO     Flash Code@23-05-23 22:22:13] Successfully downloaded firmware file to the board.
    [INFO     Flash Code@23-05-23 22:22:15] Started burning memory with 3728 bytes of data at address 0x00.
    [INFO     SPI Flash Programmer@23-05-23 22:22:15] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-23 22:22:16] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-23 22:22:16] Write 3728 bytes at offset 0x00
    [INFO     Flash Code@23-05-23 22:22:16] Memory burning completed successfully.
    [INFO     Flash Code@23-05-23 22:22:16] Reading memory to refresh table contents....
    [INFO     Flash Code@23-05-23 22:22:16] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-23 22:22:16] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-23 22:22:16] Read 3728 bytes from offset 0x00
    [INFO     Flash Code@23-05-23 22:22:16] Reading has finished. Read 3728 bytes.
    [INFO     General@23-05-23 22:22:16] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-23 22:22:16] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-23 22:22:16] Successfully sent reset command. If application won't start replug the board.
    

  • Hi Harish,

    Thank you for the replies.
    Glad you were able to perform 1-Wire UART programming. 
    Let me share a more detailed logic analyzer trace of the procedure.
    When I have SmartSnippets Toolbox set for 1-Wire UART Programming and Press the Connect Button:


    And if we zoom in, we can see the P0_5 we can see the Start of Heading (SOH) byte (0x01) with some Header bytes as well being transferred:


    After that, we trigger the RST pin 

    And we can see on P0_5 the Start of Text (STX) bytes 0x02:

    After that there is a lot of activity on the P0_5 and on the end we receive the ACK byte of 0x06:

    Are you able to see the STX and ACK bytes on P0_5?
    You said you were able to use 1-Wire UART programming, the RST pin was connected to GND?

    Replug the board to start the application.". When I tried a second time, it could burn, and reset also succeeded. However, the code is not functional, and LED on my custom board was not blinking at all. Just for information in both ways, I have used the same Blinky HEX file. I have attached both the SmartSnippets console log and Blinky HEX file.

    Could you please try to connect (after having preformed 1-WIre UART programming) and Read the contents of the SPI Flash? Could you compare it with the original .hex file if it is corrupted?
    After you have performed 1-Wire UART programming, the RST pin should not be connected to GND since it works as the MOSI pin for the SPI Flash as well:
    From the DA14531MOD Datasheet:

    In my application that is already existed in the flash, I am using P0_5 as EN pin of a sensor. In user_periph_setup I configured P0_5 as LOW by default. Does it give any problem? Can I use P0_5 in my application when I use 1-Wire UART programming mode?

    Yes, you can use the P0_5 is your application for any reason and perform 1-Wire UART programming as well. When you press the RST pin the ROM bootloader is executed, and the Pins are on their default state which can be found on the DA14531MOD datasheet, on chapter 3. Pinout, page: 7


    Kind Regards,
    OV_Renesas

  • Hi OV_Renesas,

    Thank you for the detailed logic analyzer trace. I will cross-check with my logic analyzer trace.

    Could you please try to connect (after having preformed 1-WIre UART programming) and Read the contents of the SPI Flash? Could you compare it with the original .hex file if it is corrupted?

    Sure, I will compare both of them.

    Yes, you can use the P0_5 is your application for any reason and perform 1-Wire UART programming as well. When you press the RST pin the ROM bootloader is executed, and the Pins are on their default state which can be found on the DA14531MOD datasheet, on chapter 3. Pinout, page: 7

    This good to know that I can use the pins for my own purpose even though they have special functionality, Is this true with SWDIO and SWCLK as well? As, this raises the basic question and root for this entire thread. Initially I was using SWDI and SWCLK and was very happy with programming and testing on my custom board, However, when I started using SWDIO and SWCLK in my application, I was facing issues of not able to program when my external device is connected and could not use them as INT Wake-up controller as well(I am having conversation over another thread: da14531---sensor-values-reading-for-a-long-time-without-ble-advertise---does-not-trigger-the-callback-by-wkupct_register_callback). And also I saw in other thread that I need to disable SWD functionality in my code and hence I started using 1-Wire method, any way I will continue that thread separately. Or if you are the one who is handling that thread as well, you can suggest me the best method.

    After you have performed 1-Wire UART programming, the RST pin should not be connected to GND since it works as the MOSI pin for the SPI Flash as well:

    I have connected RST(P0_0) pin to GND via 10K resistor and to +ve via 4.7K resistor as shown below:

    Is this fine having pull-down resistor to GND? If not how we can have a GND rail only during the programming but not after that. Should we have a mechanism to have this grounded when the programming plug is inserted and disconnect from GND when it is removed? Do you have any recommended reference schematic how to use 1-Wire programming port on custom boards? AS custom boards are pretty common than using DaughterBoard, so, I guess you might have some reference design, please suggest from the best practices.

    And just for the information, the same circuit, like having RST connected to GND via 10K was working when I burned the code via JTAG. In this case it is able to load from the Flash via SPI hence I assume this 10K pull down will not give any problem. Please correct me if my understanding is not correct.

     

    Thanks,

    Harish.

  • Hi OV_Renesas,

    I could program using 1-Wire, I have not changed any thing and same configuration as earlier. Only thing that I observed is, I have to erase the content every time before writing new code to make it work. 

    I have tried Blinky multiple times and it worked all the times. I compared Blinky HEX file with content read from the module and both data matched, in fact code is also executing fine.

    I have tried burning my custom code, and then again it started giving error connecting and now I cannot connect and cannot do any further operations like erase, read, burn as its not connecting at all.

    Yes, you can use the P0_5 is your application for any reason and perform 1-Wire UART programming as well. When you press the RST pin the ROM bootloader is executed, and the Pins are on their default state which can be found on the DA14531MOD datasheet, on chapter 3. Pinout, page: 7

    In my custom application, I am using P0_5 and pulling low in periph_init(). I feel, this is giving problem to initiate 1-Wire protocol.

      

    In my circuit, the P0_5 is directly connected to EN pin of the sensor which is LOW initially. I will make it HIGH only when other sensor gives INT, hence its always LOW. Always LOW can be seen in the above logic analyzer capture.

    By the way, I have disconnected all sensors and and kept only module and its basic components on my custom board and also I have used Daughter Board and no external sensors are connected for the below test. 

    I have tried two custom boards and Daughter Board as well and the same behavior. What I mean is:

    1. Burn Blinky HEX file with SST with 1-Wire - worked - LED blinks.

    2. Again erase and burn Blinky - Worked - LED blinks.

    3. Erase and Burn my custom code - Worked - LED blinks 3 times as I have like that in my custom code along with making P0_5 LOW in the code.

    4. Tried to "Connect" using SST, but failed(Both my custom board and Daughter Board).

    The console error:

    I have attached the complete console log where it has success burn and failure burn console logs as well.

    complete-console.log
    [INFO     Flash Code@23-05-24 19:31:38] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 19:31:39] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 19:31:39] Started download procedure...
    [ACTION   Flash Code@23-05-24 19:31:40] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 19:31:46] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�19:31:46]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 19:31:46] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 19:31:46] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 19:31:46] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 19:43:17] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 19:43:17] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 19:43:17] Started download procedure...
    [ACTION   Flash Code@23-05-24 19:43:18] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 19:43:25] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�19:43:25]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 19:43:25] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 19:43:25] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 19:43:25] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 19:43:30] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 19:43:30] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 19:43:30] Started download procedure...
    [ACTION   Flash Code@23-05-24 19:43:31] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 19:43:38] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�19:43:38]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 19:43:38] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 19:43:38] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 19:43:38] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 19:58:51] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 19:58:52] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 19:58:52] Started download procedure...
    [ACTION   Flash Code@23-05-24 19:58:53] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 19:58:59] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�19:58:59]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 19:58:59] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 19:58:59] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 20:00:00] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 20:00:00] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 20:00:00] Started download procedure...
    [ACTION   Flash Code@23-05-24 20:00:01] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 20:00:08] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�20:00:08]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 20:00:08] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 20:00:08] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 20:00:46] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 20:00:46] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 20:00:46] Started download procedure...
    [ACTION   Flash Code@23-05-24 20:00:47] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 20:00:54] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�20:00:54]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 20:00:54] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 20:00:54] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 20:01:34] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 20:01:34] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 20:01:34] Started download procedure...
    [ACTION   Flash Code@23-05-24 20:01:35] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 20:01:42] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�20:01:42]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 20:01:42] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 20:01:42] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 20:02:06] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 20:02:06] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 20:02:06] Started download procedure...
    [ACTION   Flash Code@23-05-24 20:02:07] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 20:02:14] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�20:02:14]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 20:02:14] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 20:02:14] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 20:02:16] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 20:02:16] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 20:02:16] Started download procedure...
    [ACTION   Flash Code@23-05-24 20:02:17] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 20:02:24] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�20:02:24]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 20:02:24] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 20:02:24] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 20:02:29] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 20:02:30] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 20:02:30] Started download procedure...
    [ACTION   Flash Code@23-05-24 20:02:31] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 20:02:37] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�20:02:37]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 20:02:37] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 20:02:37] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 21:46:13] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 21:46:13] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 21:46:13] Started download procedure...
    [ACTION   Flash Code@23-05-24 21:46:14] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 21:46:21] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�21:46:21]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 21:46:21] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 21:46:21] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 21:54:18] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 21:54:18] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 21:54:18] Started download procedure...
    [ACTION   Flash Code@23-05-24 21:54:19] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 21:54:26] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�21:54:26]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 21:54:26] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 21:54:26] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 21:54:32] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 21:54:32] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 21:54:32] Started download procedure...
    [ACTION   Flash Code@23-05-24 21:54:33] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 21:54:40] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�21:54:40]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 21:54:40] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 21:54:40] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 21:54:56] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 21:54:56] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 21:54:56] Started download procedure...
    [ACTION   Flash Code@23-05-24 21:54:57] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 21:55:04] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�21:55:04]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 21:55:04] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 21:55:04] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:05:02] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:05:02] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:05:02] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:05:03] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:05:10] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:05:10]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:05:10] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:05:10] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:05:10] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:07:57] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:07:57] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:07:57] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:07:58] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:08:05] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:08:05]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:08:05] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:08:05] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:08:05] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:08:18] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [ERROR    Flash Code@23-05-24 22:08:18] COM8 is in use. Please replug the board and try again.
    [ERROR    Flash Code@23-05-24 22:08:18] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:08:22] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:08:22] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:08:22] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:08:23] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:08:30] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:08:30]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:08:30] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:08:30] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:08:30] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:16:14] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:16:14] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:16:14] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:16:15] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:16:22] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:16:22]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:16:22] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:16:22] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:16:22] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:17:50] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:17:51] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:17:51] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:17:52] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:17:58] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:17:58]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:17:58] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:17:58] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:17:58] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:18:03] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:18:03] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:18:03] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:18:04] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:18:11] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:18:11]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:18:11] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:18:11] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:18:11] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:18:48] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [ERROR    Flash Code@23-05-24 22:18:48] COM8 is in use. Please replug the board and try again.
    [ERROR    Flash Code@23-05-24 22:18:48] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:18:51] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:18:51] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:18:51] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:18:52] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:18:59] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:18:59]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:18:59] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:18:59] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:18:59] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:19:13] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:19:13] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:19:13] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:19:14] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:19:21] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:19:21]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:19:21] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:19:21] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:19:21] Failed downloading firmware file to the board.
    [ERROR    Flash Code@23-05-24 22:19:21] Error while waiting to receive STX from FTDI device.
    [INFO     Flash Code@23-05-24 22:42:36] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:42:36] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:42:36] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:42:37] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:42:44] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:42:44]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:42:44] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:42:44] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:42:44] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:42:45] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:42:46] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:42:46] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:42:47] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:42:53] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:42:53]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:42:53] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:42:53] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:42:53] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:42:56] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:42:56] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:42:56] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:42:57] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:43:04] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:43:04]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:43:04] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:43:04] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:43:04] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:43:27] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:43:27] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:43:27] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:43:28] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:43:35] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:43:35]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:43:35] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:43:35] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:43:35] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:43:36] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:43:37] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:43:37] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:43:38] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:43:44] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:43:44]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:43:44] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:43:44] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:43:44] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:57:16] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:57:16] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:57:16] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:57:17] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:57:24] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:57:24]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:57:24] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:57:24] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:57:24] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 22:58:03] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 22:58:03] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 22:58:03] Started download procedure...
    [ACTION   Flash Code@23-05-24 22:58:04] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 22:58:11] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�22:58:11]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 22:58:11] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 22:58:11] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 22:58:11] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 23:03:10] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 23:03:10] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 23:03:10] Started download procedure...
    [ACTION   Flash Code@23-05-24 23:03:11] Please press the hardware reset button on the board to start the download process.
    [INFO     Flash Code@23-05-24 23:03:12] Reset detected
    [INFO     Booter@23-05-24 23:03:13] Successfully disconnected from port COM8.
    [INFO     SPI Flash Programmer@23-05-24 23:03:13] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:03:13] Successfully disconnected from port COM8.
    [INFO     SPI Flash Programmer@23-05-24 23:03:13] Successfully configured SPI ports and pins.
    [INFO     Flash Code@23-05-24 23:03:13] Successfully downloaded firmware file to the board.
    [ERROR    Flash Code@23-05-24 23:03:19] Length to erase (End - Start address) is 0 bytes. Please correct Start/End address and try again.
    [INFO     SPI Flash Programmer@23-05-24 23:05:41] Copying file: C:\workspace\Electronics\tools\renesas\SDK_6.0.16.1144\DA145xx_SDK\6.0.16.1144\projects\target_apps\peripheral_examples\blinky\Keil_5\out_DA14531\Objects\blinky_531.hex to C:\Users\Harish\AppData\Local\Temp\\input1.hex.
    [INFO     SPI Flash Programmer@23-05-24 23:05:41] Converting file input1.hex to bin.
    [WARNING  OTP Image@23-05-24 23:05:41] 4 0xFF bytes added at the end of read data for padding.
    [INFO     Flash Code@23-05-24 23:05:41] Read 3728 bytes from file C:\Users\Harish\AppData\Local\Temp\\input1.bin.
    [INFO     Flash Code@23-05-24 23:05:51] Started erasing from 0x00 to 0x10000 (17 sectors)
    [INFO     Flash Code@23-05-24 23:05:51] Connection to COM8 port has successfully opened.
    [ERROR    Flash Code@23-05-24 23:06:01] Timeout while waiting to receive the most significant byte of packet length (10000 msecs)
    [INFO     Booter@23-05-24 23:06:01] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 23:06:01] Memory erasing failed.
    [INFO     Flash Code@23-05-24 23:06:22] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [ERROR    Flash Code@23-05-24 23:06:22] COM8 is in use. Please replug the board and try again.
    [ERROR    Flash Code@23-05-24 23:06:22] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 23:06:25] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 23:06:25] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 23:06:25] Started download procedure...
    [ACTION   Flash Code@23-05-24 23:06:26] Please press the hardware reset button on the board to start the download process.
    [INFO     Flash Code@23-05-24 23:06:27] Reset detected
    [INFO     Booter@23-05-24 23:06:28] Successfully disconnected from port COM8.
    [INFO     SPI Flash Programmer@23-05-24 23:06:28] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:06:28] Successfully disconnected from port COM8.
    [INFO     SPI Flash Programmer@23-05-24 23:06:28] Successfully configured SPI ports and pins.
    [INFO     Flash Code@23-05-24 23:06:28] Successfully downloaded firmware file to the board.
    [INFO     Flash Code@23-05-24 23:06:30] Started erasing from 0x00 to 0x10000 (17 sectors)
    [INFO     Flash Code@23-05-24 23:06:33] Read 16384 bytes from offset 0x00
    [INFO     Flash Code@23-05-24 23:06:33] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:06:35] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:06:35] Read 16384 bytes from offset 0x4000
    [INFO     Flash Code@23-05-24 23:06:35] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:06:37] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:06:37] Read 16384 bytes from offset 0x8000
    [INFO     Flash Code@23-05-24 23:06:37] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:06:39] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:06:39] Read 16384 bytes from offset 0xC000
    [INFO     Flash Code@23-05-24 23:06:39] Verification succeeded. 65536 bytes read for verification.
    [INFO     Flash Code@23-05-24 23:06:39] Reading memory to refresh table contents...
    [INFO     Flash Code@23-05-24 23:06:39] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:06:41] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:06:41] Read 16384 bytes from offset 0x00
    [INFO     Flash Code@23-05-24 23:06:41] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:06:43] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:06:43] Read 16384 bytes from offset 0x4000
    [INFO     Flash Code@23-05-24 23:06:43] Reading has finished. Read 32768 bytes.
    [INFO     Flash Code@23-05-24 23:07:09] Started burning memory with 3728 bytes of data at address 0x00.
    [INFO     SPI Flash Programmer@23-05-24 23:07:09] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:07:10] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:07:10] Write 3728 bytes at offset 0x00
    [INFO     Flash Code@23-05-24 23:07:10] Memory burning completed successfully.
    [INFO     Flash Code@23-05-24 23:07:10] Reading memory to refresh table contents....
    [INFO     Flash Code@23-05-24 23:07:10] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:07:10] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:07:10] Read 3728 bytes from offset 0x00
    [INFO     Flash Code@23-05-24 23:07:10] Reading has finished. Read 3728 bytes.
    [INFO     General@23-05-24 23:07:10] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:07:10] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:07:10] Successfully sent reset command. If application won't start replug the board.
    [INFO     SPI Flash Programmer@23-05-24 23:11:15] Copying file: C:\workspace\Electronics\tools\renesas\SDK_6.0.16.1144\DA145xx_SDK\6.0.16.1144\projects\target_apps\ble_examples\ble_app_sleepmode\Keil_5\out_DA14531\Objects\ble_app_sleepmode_531.hex to C:\Users\Harish\AppData\Local\Temp\\input1.hex.
    [INFO     SPI Flash Programmer@23-05-24 23:11:15] Converting file input1.hex to bin.
    [WARNING  OTP Image@23-05-24 23:11:15] 4 0xFF bytes added at the end of read data for padding.
    [INFO     Flash Code@23-05-24 23:11:15] Read 32164 bytes from file C:\Users\Harish\AppData\Local\Temp\\input1.bin.
    [WARNING  Flash Code@23-05-24 23:11:15] Size of data of file C:\Users\Harish\AppData\Local\Temp\\input1.bin is larger than the maximum allowed to be written to memory (16384 bytes).
    [INFO     Flash Code@23-05-24 23:11:19] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [ERROR    Flash Code@23-05-24 23:11:19] COM8 is in use. Please replug the board and try again.
    [ERROR    Flash Code@23-05-24 23:11:19] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 23:11:21] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 23:11:21] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 23:11:21] Started download procedure...
    [ACTION   Flash Code@23-05-24 23:11:22] Please press the hardware reset button on the board to start the download process.
    [INFO     Flash Code@23-05-24 23:11:23] Reset detected
    [INFO     Booter@23-05-24 23:11:24] Successfully disconnected from port COM8.
    [INFO     SPI Flash Programmer@23-05-24 23:11:24] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:11:25] Successfully disconnected from port COM8.
    [INFO     SPI Flash Programmer@23-05-24 23:11:25] Successfully configured SPI ports and pins.
    [INFO     Flash Code@23-05-24 23:11:25] Successfully downloaded firmware file to the board.
    [INFO     Flash Code@23-05-24 23:11:27] Started erasing from 0x00 to 0xE90 (1 sectors)
    [INFO     Flash Code@23-05-24 23:11:27] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:11:27] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:11:27] Memory erasing completed successfully.
    [INFO     Flash Code@23-05-24 23:11:27] Reading memory to verify its contents after erase...
    [INFO     Flash Code@23-05-24 23:11:27] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:11:28] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:11:28] Read 3728 bytes from offset 0x00
    [INFO     Flash Code@23-05-24 23:11:28] Verification succeeded. 3728 bytes read for verification.
    [INFO     Flash Code@23-05-24 23:11:28] Reading memory to refresh table contents...
    [INFO     Flash Code@23-05-24 23:11:28] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:11:28] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:11:28] Read 3728 bytes from offset 0x00
    [INFO     Flash Code@23-05-24 23:11:28] Reading has finished. Read 3728 bytes.
    [INFO     Flash Code@23-05-24 23:11:50] Started burning memory with 32164 bytes of data at address 0x00.
    [INFO     SPI Flash Programmer@23-05-24 23:11:50] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:11:52] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:11:52] Write 16384 bytes at offset 0x00
    [INFO     SPI Flash Programmer@23-05-24 23:11:52] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:11:54] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:11:54] Write 15780 bytes at offset 0x4000
    [INFO     Flash Code@23-05-24 23:11:54] Memory burning completed successfully.
    [INFO     Flash Code@23-05-24 23:11:54] Reading memory to refresh table contents....
    [INFO     Flash Code@23-05-24 23:11:54] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:11:56] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:11:56] Read 16384 bytes from offset 0x00
    [INFO     Flash Code@23-05-24 23:11:56] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:11:58] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:11:58] Read 15780 bytes from offset 0x4000
    [INFO     Flash Code@23-05-24 23:11:58] Reading has finished. Read 32164 bytes.
    [INFO     General@23-05-24 23:11:58] Connection to COM8 port has successfully opened.
    [INFO     Booter@23-05-24 23:11:58] Successfully disconnected from port COM8.
    [INFO     Flash Code@23-05-24 23:11:58] Successfully sent reset command. If application won't start replug the board.
    [INFO     Flash Code@23-05-24 23:12:16] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 23:12:16] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 23:12:16] Started download procedure...
    [ACTION   Flash Code@23-05-24 23:12:17] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 23:12:24] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�23:12:24]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 23:12:24] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 23:12:24] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 23:12:24] Failed downloading firmware file to the board.
    [INFO     Flash Code@23-05-24 23:12:27] Firmware File C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.22\common_resources\SupportPackages\DA1453x\toolbox_resources/common/flash_programmer_531.bin has been selected for downloading.
    [INFO     Flash Code@23-05-24 23:12:27] Connection to COM8 port has successfully opened.
    [INFO     Flash Code@23-05-24 23:12:27] Started download procedure...
    [ACTION   Flash Code@23-05-24 23:12:28] Please press the hardware reset button on the board to start the download process.
    [ERROR    Flash Code@23-05-24 23:12:35] Timeout: Reset signal not detected for more than 8000 msecs.
    [INFO�����Flash�Code@23-05-24�23:12:35]�Please�try�again.�If�problem�persists�refer�to�User�Manual�AN-B-072�(https://www.renesas.com/kr/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces)�and�check�jumper�settings.�For�booting�from�2-wire�UART��(P0_0�and�P0_1)�see�Figure�10.�For�booting�from�1-wire�UART�P0_5�see�Figure�6.
    [INFO     Booter@23-05-24 23:12:35] Successfully disconnected from port COM8.
    [ERROR    Flash Code@23-05-24 23:12:35] Error while writing to the board.
    [ERROR    Flash Code@23-05-24 23:12:35] Failed downloading firmware file to the board.
    

    Thanks,

    Harish.  

  • Hi Harish,

    Thank you for the replies. 
    Glad you are able to make progress on how to use 1-Wire UART programming on your custom board.

    Initially I was using SWDI and SWCLK and was very happy with programming and testing on my custom board, However, when I started using SWDIO and SWCLK in my application, I was facing issues of not able to program when my external device is connected and could not use them as INT Wake-up controller as well

    When you want to use the SWDIO and SWCLK pins as part of your project you should disable the debugger and re-configure these pins as GPIOs. Please refer here:https://lpccs-docs.renesas.com/DA14531_FAQs/Software.html#can-i-remap-swd-pins-to-gpios
    However, if you want to be able to reprogram your device via JTAG you should reconfigure those pins as the SWD interface. 

    This good to know that I can use the pins for my own purpose even though they have special functionality, Is this true with SWDIO and SWCLK as well?

    When the DA14531 device is reset (HW or SW reset) the Pins will go on their default state until the project source code starts running. In their default state, the SWDIO and SWCLK are enabled, this can be seen on the BootROM Sequence and on the Pinout on the datasheet. 
    However, as you can see on AN-B-072, on chapter 4.1 Timing Diagram of the Booting Sequence, page:6


    As you can see, it takes only a few ms until the project source code is actually loaded and executed. So you will have a really tight window (almost non existent for human reflex) to connect to the enabled debugger, same applies for P0_5 when performing 1-Wire UART programming.

    And just for the information, the same circuit, like having RST connected to GND via 10K was working when I burned the code via JTAG. In this case it is able to load from the Flash via SPI hence I assume this 10K pull down will not give any problem

    You are correct. there is not an issue if you have a pull down resistor to GND connected to RST (P0_0).
    From the DA14531MOD datasheet:

    Generally, the P0_0 should not be connected to GND when accessing the SPI Flash since it is used. However, it is common to see noise or leakage current on custom boards, so by adding an extra PD resistor and connecting to GND can solve this issue as you did. 

    I could program using 1-Wire, I have not changed any thing and same configuration as earlier. Only thing that I observed is, I have to erase the content every time before writing new code to make it work. 

    My apologies for not clarifying this part. Yes, each time you try to burn your FW into the SPI Flash you should first erase the SPI flash.

    In my custom application, I am using P0_5 and pulling low in periph_init(). I feel, this is giving problem to initiate 1-Wire protocol.

    Yes, that seems to be the issue when you are trying to connect via SST. Since the P0_5 is being used for the EN pin of the sensor and therefore has to be low. Do you need to have the P0_5 configured for the sensor the whole time or only when the sensor is configured and you want to use it as an input on the wake-up controller? 
    You could configure the P0_5 only when the sensor is being used/when you are waiting for an interrupt signal to trigger the wake-up controller.
    You can also perform 1-wire UART programming with P0_3.
    Edit: You can perform 1-Wire UART programming via P0_3 but P0_3 is not exposed on the module, so do not take it into account. 

    Kind Regards,
    OV_Renesas

  • Hi OV_Renesas,

    Thank you for the detailed explanation.

    I think, now I am almost there to achieve what I want with my custom board.

    Do you need to have the P0_5 configured for the sensor the whole time or only when the sensor is configured and you want to use it as an input on the wake-up controller? 

    Yes, as of now I am using it all the time by pulling it to LOW from the application startup and will make it HIGH only when a sensor is to be made active.

    However, as P0_5 was used in system programming and my code is interfering with it, let me exchange this with another pin, like P0_6, and use this P0_5 as UART, so that I need not held it LOW for a long time.

    I will try and will update you.

    You can also perform 1-wire UART programming with P0_3.
    Edit: You can perform 1-Wire UART programming via P0_3 but P0_3 is not exposed on the module, so do not take it into account. 

    Yes, even when I read the documentation I was very happy that I can use P0_3 1-Wire to reprogram my module but then I realized DA14531MOD does not expose it.

    And now, as for my two custom boards, I have disabled SWD and burned the code with 1-Wire once, now I am not able to use either 1-Wire or SWD to reprogram them. I will use the other boards as I have ample for testing, however, wondering what is the other way to make these work back by erasing the existing code? Now, I need to look for 2-wire programming(yet to read the documentation) at least to make them usable again.

    Thanks,

    Harish.

  • Hi Harish,

    Thank you for the reply.

    And now, as for my two custom boards, I have disabled SWD and burned the code with 1-Wire once, now I am not able to use either 1-Wire or SWD to reprogram them.

    You could try the two following scenarios:
    1) Connect your pressure sensor and the moment the EN pin is triggered to High the P0_5 will be available, and you should be able to connect via SST and try to erase the Flash.
    2) You can connect P0_5 to High manually, then press connect on SST and instantly remove the P0_5 from High and press the RST button. There is a good chance that the Connect will go through and you are going to be able to erase the SPI Flash.

    Now, I need to look for 2-wire programming(yet to read the documentation) at least to make them usable again

    I am afraid you will not be able to use 2-Wire UART programming for the DA14531MOD. For 2-Wire UART programming we are using P0_0 and P0_1, both of them are being used by the SPI Flash and the P0_1 is not exposed in the module. 
    In order to use 2-Wire UART programming you will have to set different Pins for the SPI Flash Pins, but on the DA14531MOD the SPI pins are fixed and not exposed so it will not be possible.

    I will try and will update you.

    Please try it and share any feedback.

    Kind Regards,
    OV_Renesas

  • Hi OV_Renesas,

    2) You can connect P0_5 to High manually, then press connect on SST and instantly remove the P0_5 from High and press the RST button. There is a good chance that the Connect will go through and you are going to be able to erase the SPI Flash.

    Thanks a lot for the options. Option-1 is very hard as you also understand making immediate action manually is very hard and in fact I have tried in any case but could not succeed as expected.

    However, this second method worked and I could erase existing code and now I am able to burn my custom boards with 1-Wire, thank you for this wonderful work around.

    Now let me see if I swap P0_5 and P0_6 in my code whether I should be able to use my code and burn the new code as well. I will let you know once I test it. 

    Thank you and Kind Regards,

    Harish

  • Hi Harish,

    Thank you for the reply and for trying our suggestions. 
    Glad you were able to perform 1-Wire UART programming for your custom board.
    If you found any answer helpful, you can verify them to help others in the community as well.
    If you have any other issue, feel free to raise a new ticket.

    Kind Regards,
    OV_Renesas

Reply
  • Hi Harish,

    Thank you for the reply and for trying our suggestions. 
    Glad you were able to perform 1-Wire UART programming for your custom board.
    If you found any answer helpful, you can verify them to help others in the community as well.
    If you have any other issue, feel free to raise a new ticket.

    Kind Regards,
    OV_Renesas

Children
  • Hi OV_Renesas,

    I am trying out with my custom board, even though 1-Wire programming works, as of now it is on luck basis as it works("Connect" itself ) 2 or 3 times only out of 10 times when I press RST button. So, I am still trying out to make it work all the times.

    I have debug statements that emits data over UART and they may be interfering 1-Wire communication initiation. This is what my assumption, however even I have tried with Blinky HEX file and same I could not succeed all the time. Some, times it says "CRC mismatch":

    And some times:

    And another attempt immediately after this worked:

      

    So, this is so fragile and could not rely on it completely.

    Any more suggestions to make it work all the time. Do I need any Pulll-Down resistor on P0_5 or any other thing that I need to do? 

    Once I get a point where it will work all the time, I can confirm and can update here as that will be help full for all as what precautions others should take if ever they face these kind of issue.

    Thanks,

    Harish

  • Hi Harish,

    Thank you for the reply.
    The SST is a Development Tool and we cannot guarantee that it will work 100% of the time. 
    I understand the frustration when trying to burn your FW into your board and does not work all the time. 
    If you want to rely 100% on a tool for production, we will have to suggest our Production Line Tool Kit.
    With PLT you can program and test up to 16 devices at the same time. Please refer on the PLT product page for more information.

    Do I need any Pulll-Down resistor on P0_5 or any other thing that I need to do? 

    No, you do not need to add any PD resistor on P0_5. 
    You could try to work with Command Interface Line. The SST basically is a UI for the CLI.
    Please refer on UM-B-083 for more information on the Command Line Implementation. 
    You can find all the available commands and examples on how to use them. 

    Did you receive the CRC mismatch error while trying to connect or when you tried to Burn your FW into the SPI Flash? 
    The FTDI error is probably due to the FTDI module you are working with.

    Kind Regards,
    OV_Renesas

  • Hi OV_Renesas,

    Sorry for the late reply as I was checking multiple options to make it work but no success yet.

    The SST is a Development Tool and we cannot guarantee that it will work 100% of the time. 

    I can understand this is a software application and may have bugs, but not working 80% of the time is not acceptable. In fact, I do not think this tool is the problem as I was using JTAG and this is working 100% with my custom board and even with 1-Wire it was working some times but now almost always coming as CRC error, so some thing else is wrong that the SST tool itself which we are not able to identify here. Once we identify the root cause of the issue SST will work happily without any glitches. I am very hopeful for this.

    If you want to rely 100% on a tool for production, we will have to suggest our Production Line Tool Kit.

    I feel this will not solve the problem as we have not identified the root cause of the issue yet.

    You could try to work with Command Interface Line. The SST basically is a UI for the CLI.

    I have tried with CLL as well and the behavior is same. This is expected as CLI is just another interface of the SST. And just for information I have tried JTAG interface with CLI as well and it works 100%. Issue is only with 1-Wire interface.

    Did you receive the CRC mismatch error while trying to connect or when you tried to Burn your FW into the SPI Flash? 

    The CRC error was coming while trying to "Connect" itself.

    The FTDI error is probably due to the FTDI module you are working with.

    I have tried with DevKit Pro as well and the behavior is same, means I got CRC error. So, I feel there is not issue with FTDI module as behavior is same.

    Here is my jumper settings and wire connections on DevKit Pro:

     

    Thanks,

    Harish

  • Hi OV_Renesas,

    [NOTE: I am sorry, while replying, my reply was not posted and gave messages saying that moderation is required and hence I replied again by highlighting your comments in blue color. And these posts that require moderations will neither post here or nor reach your team unfortunately. This issue I always face on your forum while replying and never solved this]

    Sorry for the late reply as I was checking multiple options to make it work but no success yet.

    The SST is a Development Tool and we cannot guarantee that it will work 100% of the time.

    I can understand this is a software application and may have bugs, but not working 80% of the time is not acceptable. In fact, I do not think this tool is the problem as I was using JTAG and this is working 100% with my custom board and even with 1-Wire it was working some times but now almost always coming as CRC error, so some thing else is wrong that the SST tool itself which we are not able to identify here. Once we identify the root cause of the issue SST will work happily without any glitches. I am very hopeful for this.

    If you want to rely 100% on a tool for production, we will have to suggest our <a href="">www.renesas.com/.../da14580prodtlkt-bluetooth-low-energy-soc-16-site-production-line-tool-kit">Production Line Tool Kit

    I feel this will not solve the problem as we have not identified the root cause of the issue yet.

    You could try to work with Command Interface Line. The SST basically is a UI for the CLI.

    I have tried with CLL as well and the behavior is same. This is expected as CLI is just another interface of the SST. And just for information I have tried JTAG interface with CLI as well and it works 100%. Issue is only with 1-Wire interface.

    Did you receive the CRC mismatch error while trying to connect or when you tried to Burn your FW into the SPI Flash? 

    The CRC error was coming while trying to "Connect" itself.

    The FTDI error is probably due to the FTDI module you are working with.

    I have tried with DevKit Pro as well and the behavior is same, means I got CRC error. So, I feel there is not issue with FTDI module as behavior is same

    Here is my jumper settings and wire connections on DevKit Pro:

    Console output:

    Thanks,

    Harish

  • Hi OV_Renesas,

    Just for information:

    I have tried to erase chip and tried to connect it worked and I burned the Blinky could connect and burn the code. After that while Blinky code is running, I could connect and burn as many times as I want that means SST UI mode and CLI mode is working fine.

    However, as soon as my code was burnt once, it cannot "connect" and getting  error.

    So, there must be some thing wrong in using the UART port. However, as you suggested earlier, I can use UART in my code without impacting but looks like this is not true.

    Actually I am not using standard periph_init() to initialize UART but not writing anything to UART on startup, so the communication will not give any problem but UART initialization code exists and not sure whether that will impact or not.

    Thanks,

    Harish

  • Hi Harish,

    Thank you for the reply.
    I have also approved your Answer and it is not visible to everyone. 
    I have personally checked, and you are not in the Moderated list, so I do not know why your posts keeps on getting on this list. 
    Regarding the CRC error:
    The protocol required to establish successful communication and to download the SW image into the RAM is shown in AN-B-072, Table 7, page:31

    And the Boot Flow can be seen on the image below:

    Since you are able to use 1-Wire UART programming with other FW (blinky) but not with your FW, it is plausible that there is the reason of this issue.
    You are only using P0_5 as your UART2 Pin? The pin P0_5 is not being used for any other reason inside your project?
    Would it be possible to connect a logic analyzer on the P0_5 and share the capture? We would like to see the initial bytes being transmitted.
    Would it be possible to share the .hex file of your project so I could try to replicate this issue on my side? If you do not want to share your project publicly, you can raise a private ticket and share it there. 

    Kind Regards,
    OV_Renesas

  • Hi OV_Renesas,

    Just to conclude on it, as I am NOT able to use this 1-Wire UART programming reliably, even after multiple attempts to fix the issue, I am discarding this approach and looking for an alternative, and hence no more investigation is required here.

    Thanks a lot for your continuous support.

    Kind Regards,

    Harish.