DA16200 getting reboot

I was working with the DA16200 controller, unfortunately it is getting reboot often.

Happy to hear the solution for this from you guys.

Thanks in advance Slight smile...

  • Hi Sri,

    Thank you for posting your question online.
    Have you modified the SDK source code?
    It seems you are trying to change the CPU clock speed whenever you wake-up. 
    In order for this to take effect it will require a reboot.
    You should make sure you are only changing the CPU clock speed once and not constantly at every wake-up event.

    Best Regards,
    OV_Renesas

  • Hi Team Renesas,

    Yes, I do change the SDK but not the clock speed and the same SDK was working fine in the past.

    I'm trying to change the code in it but can't able to do it so.

    Is there any other way to make it enter into the RTOS download mode other than the 'loady' command so that I can upload some other code in it.

    Best Regards,

    Sri.

  • Hi Team Renesas,

    I have gone through the Getting_Start_Guide : 4.5.1 Using uart_program_da16200 in Console Terminal.

    It guided to run uart_program_da16200.exe and to upload the FBOOT and FRTOS through the console.

    While doing it I got hit with an error "Device is not in MROM! Please confirm the device is in MROM".

    What does it expect to do to cleat this and make it run error free.

    I'm attaching the image of this error that I faced. Thank you.

    Best Regards,

    Sri.

  • Hi Sri,

    Thank you for the replies.

    While doing it I got hit with an error "Device is not in MROM! Please confirm the device is in MROM".

    What does it expect to do to cleat this and make it run error free.

    It is trying to enter into the MROM menu in order to utilize the 'loady' commands and download the new firmware image.

    Yes, I do change the SDK but not the clock speed and the same SDK was working fine in the past.

    I'm trying to change the code in it but can't able to do it so.

    Which SDK version are you using?
    Is this a custom board or one of our EVKs?
    The check_system_clock message you are witnessing on UART0 is called inside the system_launcher function on the da16x_initialize.c file. Have you made any modifications there?
    Please find attached the Teraterm_ESC_REPEAT.zip file. It contains a ttl script you can use on Tera Term in order to try and get into the MROM state.
    Instructions on how to use it:
    1) Open Tera Term, select COM port of UART0 and set Serial Port at 230400 baud rate.
    2) Click on Control--> Macro option

    3) Select the teraterm_test-esc-repeat.ttl file 
    4)It should continuously showcase da16200 (on my case da16600):

    5) End the Macro


    6) Type Reset and get into the MROM menu:

    7) I would suggest you initially run the 'sflash erase 0 400000' command to remove everything from the Flash and then download your new images.

    Best Regards,
    OV_Renesas6114.Teraterm_ESC_REPEAT.zip

  • Hi OV_Renesas,

    I'm using the EVK with the SDK v3.2.8.1

    No I haven't changed anything in this .c file

    The check_system_clock message you are witnessing on UART0 is called inside the system_launcher function on the da16x_initialize.c file. Have you made any modifications there?

    Here I can't able to enter the reset command because the message is keep on printing on the screen.

    Can't able to enter into the MROM menu.

  • Hi Sri,

    Thank you for the reply.

    I'm using the EVK with the SDK v3.2.8.1

    Which EVK version do you have?
    Please refer on the UM-WI-056, on section 4.2 DA16200 EVB v11.0, page:9 and check the default position of the switches. For some reason it is constantly resetting via a System Reset.
    If you do not have the EVB v11.0 please refer on Appendix A Old Versions of EVB, on page:73.
    Make sure that the switches are placed on the default configuration. 

    Here I can't able to enter the reset command because the message is keep on printing on the screen.

    I updated the Tera Term script. Please try the new attached ttl. 
    I hope with this you will be able to get into the MROM menu.
    5582.teraterm_test-esc-repeat.zip

    Best Regards,
    OV_Renesas

  • Hi OV_Renesas,

    Thank you for your reply.

    This is the board that I'm working with.

    I updated the Tera Term script. Please try the new attached ttl. 
    I hope with this you will be able to get into the MROM menu.

    After using this ttl, continuously showcasing of da16200 also stopped and not displaying on the screen.

    This message is again keep on printing.

    Best Regards,
    Sri.

  • Hi Sri,

    Thank you for the reply and the feedback.

    This is the board that I'm working with.

    From the Schematic of the SparkFun board I could see the following:

    If you have any J-Link debugger available, you can follow the instructions on UM-WI-056, on section 5.7.3 Programming Firmware Images Using SEGGER J-Link. Please try and use the 
    jlink_erase_all_win(linux/py): Erase all area of the flash launcher.


    After using this ttl, continuously showcasing of da16200 also stopped and not displaying on the screen.

    If you do not have access on any J-Link probes please give a try on the updated ttl script attached.
    teraterm_test-esc-repeatv_2.zip

    Best Regards,
    OV_Renesas