|
SmartSnippets DA1459x SDK
|
This application, besides its main functionality described here, can be built with Software Update over the Air (SUOTA) support. Attached scripts require Python 3.
Features:
Android and iOS Renesas SUOTA can connect to device to perform software update. Those applications can be found in Play Store or Apple App Store.To install the project follow the General Installation and Debugging Procedure.
Import the project pxp_reporter from /projects/dk_apps/demos/pxp_reporter and build it in the QSPI_SUOTA or eFLASH_SUOTA configuration.
SUOTA image is a binary file with a proper header that can be sent to a target device from Android or iOS device.
Image is created automatically when the corresponding build target is selected.
To create an image manually, open command prompt, navigate to a projects/dk_apps/demos/pxp_reporter folder and run script to create the image file (note: make sure to run scripts with Python 3). In case an eFLASH_SUOTA build configuration is selected, the image that will be generated can be secure.
For secure image run the command:
python mkimage.py <build_configuration> --prod_id <product_id> -s <security_config_file> --prod_keys <keys_file>
else:
python mkimage.py <build_configuration> --prod_id <product_id>
Where:
eFLASH_SUOTA build configurations):The generated image file is the pxp_reporter.raw.1.0.0.1.img which contains a version number taken from a sw_version.h.
The image file should be copied to Android phone or tablet or to iOS device inside the SUOTA folder of the device. For iOS devices use iTunes. For Android a USB cable can be used to connect the Android device with PC in order to copy the img file or the following command can be used to send the image:
adb push <build_configuration>/pxp_reporter.raw.1.0.0.1.img /sdcard/suota
Run SUOTA Application and find your device. The name of the device should be Renesas PX Reporter. Select the desired device and press 'Update device' button. Choose the image to be uploaded. If settings on next screen are correct proceed with 'Send to device' button. When programming is finished device will reboot and start new program.
pxp_reporter (Release_QSPI_SUOTA) or (Release_eFLASH_SUOTA).program_qspi.py or program_eflash.py scripts or using the launchers program_qspi_jtag, program_qspi_serial, program_eflash_jtag or program_eflash_serial.sw_version.h file and rebuild the pxp_reporter project.mkimage.py script to create a new image.
1.8.16