ARMmbed / connectedhomeip

Project Connected Home over IP is a new Working Group within the Zigbee Alliance. This Working Group plans to develop and promote the adoption of a new connectivity standard to increase compatibility among smart home products, with security as a fundamental design tenet.
https://www.connectedhomeip.com
Apache License 2.0
10 stars 4 forks source link

Functional tests - flash binaries to device #165

Closed ATmobica closed 3 years ago

ATmobica commented 3 years ago

Problem

In order to flash images to the device, the best choice will be to use mbed-flasher tool. We have to check if all CHIP mbed targets are supported by mbed-flasher

Proposed Solution

Investigate mbed-flasher support for DISCO and CYPRESS boards. Check the best options/configurations for flashing.

ATmobica commented 3 years ago

The default flashing option (msd copy files) from mbed-flasher works well for both boards. It is not very fast but works. I checked the pyocd mode but there is an issue with package Incompatibilities and as we checked earlier pyocd does not work well with Cypress board. The Mbed-flasher is built-in test fixtures - when we allocating a device we check if flashing parameters are set then flash the image to it.