Which DA16600 image should I use for the basic FreeRTOS UART AT-CMD build?

Introduction:

We have a custom board that uses a RA6M4 MCU to control a DA16600 over a UART using the AT commands. The device is working fine and I can use AT commands to make connections to our AWS implementation.  I was test driving different DA16600 builds to explore the DA16600 AWS implementation.  Now I want to go back to just the standard DA16600 AT command image, but I can't identify which image to use.

The images that are available that work with my hardware implementation seem to also implement a demo application.  I'm about to dig into enabling DPM power management and want to make sure the image I'm using is not doing anything I don't expect it to.

My Question:

Is there a DA16600 image that does not implement any demo code that I can use?

---------------------------------------------------------------------------------------------------------------------------------------------

Details on how I tried to find an image:

New DA16600 Image (FreeRTOS v3.2.8.0):

I went to the DA16600MOD page, and downloaded the DA16200 DA16600 FreeRTOS SDK Image v3.2.8.0.  

Inside this zip file there are 7 additional zip files:

I attempted to load and verify each of the images contained in the download hopping to find the correct image . . . 

DA16200_IMG_FreeRTOS_ATCMD_SPI_EVK_v3.2.8.0_4MB

  • Not compatible with my hardware

DA16200_IMG_FreeRTOS_ATCMD_SPI_SPARKFUN_v3.2.8.0_4MB

  • Not compatible with my hardware

DA16200_IMG_FreeRTOS_QFN_v3.2.8.0_4MB

  • Does not contain an image for the AT25SL321 flash that's on my DA16600

DA16600_IMG_FreeRTOS_ATCMD_SPI_EVK_v3.2.8.0_4MB

  • Not compatible with my hardware

DA16600_IMG_FreeRTOS_ATCMD_UART2_EVK_v3.2.8.0_4MB

  • The file name suggests that this is the correct image for me to use.  This image does work with my RA6 implementation

******************************************************

* DA16600 SDK Information

* ---------------------------------------------------

*

* - CPU Type : Cortex-M4 (120MHz)

* - OS Type : FreeRTOS 10.4.3

* - Serial Flash : 4 MB

* - SDK Version : V3.2.8.0 GEN-ATCMD

* - F/W Version : FRTOS-GEN01-01-f017bfdf51-006558

* - F/W Build Time : Aug 10 2023 14:09:33

* - Boot Index : 0

*

******************************************************

  • However, it seems this image implements a gas leak demo, see debug below . . . 


Start of UDP Socket sample, gas leak event(0)

iot_sensor connected to server

DA16600_IMG_FreeRTOS_QFN_v3.2.8.0_4MB

  • This image is not compatible with our hardware implementation, no UART AT command control.

******************************************************

* DA16600 SDK Information

* ---------------------------------------------------

*

* - CPU Type : Cortex-M4 (120MHz)

* - OS Type : FreeRTOS 10.4.3

* - Serial Flash : 4 MB

* - SDK Version : V3.2.8.0 GEN

* - F/W Version : FRTOS-GEN01-01-f017bfdf51-006558

* - F/W Build Time : Aug 10 2023 13:55:45

* - Boot Index : 0

*

******************************************************

  • However, this image also implements some demo application.

Start of UDP Socket sample, gas leak event(0)

iot_sensor connected to server

>>> Hello World #2 ( network dependent application ) !!!

Just as a reference I captured the DA16600 firmware image that shipped on the DA16600 from a second device.

******************************************************

* DA16600 SDK Information

* ---------------------------------------------------

*

* - CPU Type : Cortex-M4 (120MHz)

* - OS Type : FreeRTOS 10.4.3

* - Serial Flash : 4 MB

* - SDK Version : V3.2.5.0 GEN-ATCMD

* - F/W Version : FRTOS-GEN01-01-1f66deb8b-006084

* - F/W Build Time : Feb 28 2023 17:57:29

* - Boot Index : 0

*

******************************************************

  • It appears that this image also has demo code running . . . 

[combo][iot_sensor]

is_provisioned = 1

is_sensor_started = 0

Parents
  • Hi Brian,

    Thank you for posting your question online.

    I was test driving different DA16600 builds to explore the DA16600 AWS implementation.  Now I want to go back to just the standard DA16600 AT command image, but I can't identify which image to use.
    I went to the DA16600MOD page, and downloaded the DA16200 DA16600 FreeRTOS SDK Image v3.2.8.0.  

    With none of these images you are going to be able to test the AWS implementation.
    For AWS please download this SDK or the pre-compiled image and follow the readme file: 


    My Question:

    Is there a DA16600 image that does not implement any demo code that I can use?

    You will have to open the FreeRTOS SDK and compile the getting_started project for DA16600MOD. Then you can take the generated image files and burn your board with them. 


    Best Regards,
    OV_Renesas

  • Today I installed the Dialog SDK (DA16200_DA16600_SDK_FreeRTOS_v3.2.8.0_1) and installed some of the examples.  I can't seem to find the code base for the AT CMD build.  I also noticed this statement in the UM-WI-056 document "DA16200 DA16600 FreeRTOS Getting Started Guide"  

    If the Wi-Fi solution being developed is based on a host MCU that uses the DA16200/DA16600 only as a Wi-Fi communication interface through AT Commands, then a prebuilt firmware image can be used to develop that solution.

    This implies that there is a production firmware load for the AT CMD build.  Can you either point me to the source code for the AT CMD project, or identify a production load that does not implement any demo code?

    Thank you,

    Brian

  • Hi Brian,

    Thank you for the replies.

    This implies that there is a production firmware load for the AT CMD build.  Can you either point me to the source code for the AT CMD project, or identify a production load that does not implement any demo code?

    All the available examples can be considered AT CMD compatible.
    Please refer on UM-WI-003, on section 4.1 How to Include AT Command Feature in SDK , page: 26

    The most examples have a small demo running. So, you can get on the getting_started example and enable the AT commands feature.
    On the getting_started project, go and define the __SUPPORT_ATCMD__ definition on the config_generic_sdk.h file:

    Then compile and download the Image on your board. 
    By default the AT commands are going to be on UART1. 
    If you want to enable UART2, SPI or SDIO for the AT commands please refer on the UM-WI-003.
    If you have any issues feel free to ask!

    Best Regards,
    OV_Renesas

  • Thank you for the details.  I've successfully built, loaded and used the clean image!

Reply Children
No Data