Pelion Device Ready example for Advantech WISE-1570 (MTB_ADV_WISE_1570)

Committer:
Juho Eskeli
Date:
Fri Jan 25 14:38:52 2019 +0200
Revision:
0:2b6d1f2f42fa
Child:
1:75f7384f9a0b
Pelion Device Ready example for MTB_ADV_WISE_1570

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Juho Eskeli 0:2b6d1f2f42fa 1 # Pelion Device Ready example for MTB_ADV_WISE_1570 (Advantech WISE-1570)
Juho Eskeli 0:2b6d1f2f42fa 2
Juho Eskeli 0:2b6d1f2f42fa 3 This application is targetted at Advantech WISE-1570. Specifically MTB_ADV_WISE_1570 which is a reference design using the WISE-1570 module. It is built on mbedOS and uses the "mbed-cloud-client" library to handle the Pelion Platform connection, registration and LWM2M resources. The application simulates a button press every 5 seconds and relays the packet to Arm Pelion IoT platform.
Juho Eskeli 0:2b6d1f2f42fa 4
Juho Eskeli 0:2b6d1f2f42fa 5 The current version of the example uses: Mbed OS v5.11.0 and Pelion Cloud Client v2.1.1.
Juho Eskeli 0:2b6d1f2f42fa 6
Juho Eskeli 0:2b6d1f2f42fa 7 # Pre-requisites:
Juho Eskeli 0:2b6d1f2f42fa 8 1. Hardware:
Juho Eskeli 0:2b6d1f2f42fa 9 * Module Testbed v. 2.0.0 (MTB)
Juho Eskeli 0:2b6d1f2f42fa 10 * Module Carrier Advantech WISE-1570 v1.0.0. The Module carrier includes 64Mb SPI flash which is used by the Pelion Cloud Client.
Juho Eskeli 0:2b6d1f2f42fa 11 * WISE-1570 sensor node with antenna
Juho Eskeli 0:2b6d1f2f42fa 12 * A micro USB cable
Juho Eskeli 0:2b6d1f2f42fa 13 * A NB-IoT SIM
Juho Eskeli 0:2b6d1f2f42fa 14
Juho Eskeli 0:2b6d1f2f42fa 15 2. Software:
Juho Eskeli 0:2b6d1f2f42fa 16 * DAPLink for MTB. Download the latest release from https://github.com/ARMmbed/DAPLink/releases. Instructions for flashing and using DAPLink can be found from: https://github.com/ARMmbed/DAPLink/blob/master/docs/USERS-GUIDE.md. The file name is 0250_lpc11u35_mtb_wise1570_0x0000.bin.
Juho Eskeli 0:2b6d1f2f42fa 17 * mbed CLI - https://github.com/ARMmbed/mbed-cli
Juho Eskeli 0:2b6d1f2f42fa 18 * Pelion account for API keys & developer certificate.
Juho Eskeli 0:2b6d1f2f42fa 19
Juho Eskeli 0:2b6d1f2f42fa 20 # Getting started:
Juho Eskeli 0:2b6d1f2f42fa 21
Juho Eskeli 0:2b6d1f2f42fa 22 1. Import this example to your local machine.
Juho Eskeli 0:2b6d1f2f42fa 23
Juho Eskeli 0:2b6d1f2f42fa 24 2. Move into the example directory and run the command ``` mbed deploy ``` to get all the sources downloaded & added to the current directory.
Juho Eskeli 0:2b6d1f2f42fa 25 * Login to your Pelion Cloud account on a browser & follow the steps below:
Juho Eskeli 0:2b6d1f2f42fa 26 * Navigate to Device identity > Certificates
Juho Eskeli 0:2b6d1f2f42fa 27 * Select the certificate created by your account admin and click on "Download Developer C file"
Juho Eskeli 0:2b6d1f2f42fa 28 * Save the file mbed_cloud_dev_credentials.c to the location of the example directory. You have to overwrite the contents of the existing file there.
Juho Eskeli 0:2b6d1f2f42fa 29
Juho Eskeli 0:2b6d1f2f42fa 30 3. Select UDP (default) or TCP to be used by Pelion Cloud Client in mbed_app.json.
Juho Eskeli 0:2b6d1f2f42fa 31 * For UDP set ```"mcc_transport_mode" : 2```
Juho Eskeli 0:2b6d1f2f42fa 32 * For TCP set ```"mcc_transport_mode" : 0```
Juho Eskeli 0:2b6d1f2f42fa 33
Juho Eskeli 0:2b6d1f2f42fa 34 4. Run the command ``` mbed compile -t GCC_ARM -m MTB_ADV_WISE_1570 ``` to compile the application. The application has been tested to work with all three compilers GCC_ARM, ARM, IAR.
Juho Eskeli 0:2b6d1f2f42fa 35
Juho Eskeli 0:2b6d1f2f42fa 36 5. Flash the compiled binary to your device. Open a serial terminal at 115200, 8-N-1 & observe the output.
Juho Eskeli 0:2b6d1f2f42fa 37
Juho Eskeli 0:2b6d1f2f42fa 38 6. The device starts the example, connects to network & after a few moments connects & registers to Pelion Cloud. It then prints out a device ID. Make a note of this.
Juho Eskeli 0:2b6d1f2f42fa 39
Juho Eskeli 0:2b6d1f2f42fa 40 * You can now check your simulated button counter's value in the Pelion portal as well.
Juho Eskeli 0:2b6d1f2f42fa 41 * Navigate to "Device Directory" in the portal and click on your device's device ID (step 5). This will open up a new drawer on the page.
Juho Eskeli 0:2b6d1f2f42fa 42 * Scroll down to LWM2M resource "Button_count" and click on it.
Juho Eskeli 0:2b6d1f2f42fa 43 * A new window opens and you will be able to see the counter & a graph increment every time the resource value increments.
Juho Eskeli 0:2b6d1f2f42fa 44
Juho Eskeli 0:2b6d1f2f42fa 45 7. Congratulations, your device is now connected to Pelion IoT platform. Please proceed to the FW update section now.
Juho Eskeli 0:2b6d1f2f42fa 46
Juho Eskeli 0:2b6d1f2f42fa 47 # Demonstrate a remote Firmware update:
Juho Eskeli 0:2b6d1f2f42fa 48
Juho Eskeli 0:2b6d1f2f42fa 49 1. Now you need to setup Mbed OS on the device to receive FW updates:
Juho Eskeli 0:2b6d1f2f42fa 50 * Login to your Pelion Cloud portal.
Juho Eskeli 0:2b6d1f2f42fa 51 * Create an API device key (Access Management -> API Keys -> Create a new API key)
Juho Eskeli 0:2b6d1f2f42fa 52 * Ensure you copy the API key generated as this is visible only once.
Juho Eskeli 0:2b6d1f2f42fa 53
Juho Eskeli 0:2b6d1f2f42fa 54 2. Install the `CLOUD_SDK_API_KEY`
Juho Eskeli 0:2b6d1f2f42fa 55
Juho Eskeli 0:2b6d1f2f42fa 56 `mbed config -G CLOUD_SDK_API_KEY ak_1MDE1...<snip>`
Juho Eskeli 0:2b6d1f2f42fa 57
Juho Eskeli 0:2b6d1f2f42fa 58 3. Initialize the certificates for your application:
Juho Eskeli 0:2b6d1f2f42fa 59
Juho Eskeli 0:2b6d1f2f42fa 60 ``` mbed dm init -d "<your company name in Pelion DM>" --model-name "<product-model-identifier>" -q --force ```
Juho Eskeli 0:2b6d1f2f42fa 61
Juho Eskeli 0:2b6d1f2f42fa 62 The domain name must have a ".com" as a mandatory requirement and the model name can be an string of your choice.
Juho Eskeli 0:2b6d1f2f42fa 63
Juho Eskeli 0:2b6d1f2f42fa 64 ### Note the use of --force as this option overrides the defaults provided in the application. This is a mandatory parameter.
Juho Eskeli 0:2b6d1f2f42fa 65
Juho Eskeli 0:2b6d1f2f42fa 66 ## IMPORTANT: You must initialize the certificates before you flash the device as these certificates need to be embedded within the device in order for it to receive remote updates.
Juho Eskeli 0:2b6d1f2f42fa 67
Juho Eskeli 0:2b6d1f2f42fa 68 4. With the certificates initialized, there will now be a ".update-certificates" directory created within the application's root directory.
Juho Eskeli 0:2b6d1f2f42fa 69
Juho Eskeli 0:2b6d1f2f42fa 70 5. Now, compile the application:
Juho Eskeli 0:2b6d1f2f42fa 71 ``` mbed compile -t GCC_ARM -m MTB_ADV_WISE_1570 ```
Juho Eskeli 0:2b6d1f2f42fa 72
Juho Eskeli 0:2b6d1f2f42fa 73 6. Program your device with the .hex file just generated. You can either drag-drop via the GUI of your OS or you can use the corresponding copy command from the terminal for your OS.
Juho Eskeli 0:2b6d1f2f42fa 74
Juho Eskeli 0:2b6d1f2f42fa 75 7. Open a serial terminal application such as PuTTY and observe the output. You will notice the device boots up, connects to the network, starts Pelion Cloud Client and registers to the Cloud.
Juho Eskeli 0:2b6d1f2f42fa 76
Juho Eskeli 0:2b6d1f2f42fa 77 8. Once the device registers, make a note of the device ID assigned to the device.
Juho Eskeli 0:2b6d1f2f42fa 78
Juho Eskeli 0:2b6d1f2f42fa 79 9. Modify the main.cpp in the source directory to add a small printf statement - this is already provided in the code. So, you can un-comment this line in order to demo a FW update.
Juho Eskeli 0:2b6d1f2f42fa 80
Juho Eskeli 0:2b6d1f2f42fa 81 10. Use the mbed tool to perform a remote update on the device:
Juho Eskeli 0:2b6d1f2f42fa 82
Juho Eskeli 0:2b6d1f2f42fa 83 ``` mbed dm update device -D <device ID> -t GCC_ARM -m MTB_ADV_WISE_1570 ```
Juho Eskeli 0:2b6d1f2f42fa 84
Juho Eskeli 0:2b6d1f2f42fa 85 where device ID is the one obtained from step 8.
Juho Eskeli 0:2b6d1f2f42fa 86
Juho Eskeli 0:2b6d1f2f42fa 87 ### Note for UDP the update campaign needs to be started in 30 second window after registering. In case you miss this window, just reboot the device, wait for it to register + 30 seconds, and the update should start. This is required because with UDP the only way to start update campaign is to forcibly trigger re-registration to cloud. This is implemented in the main.cpp and only used when UDP is enabled.
Juho Eskeli 0:2b6d1f2f42fa 88
Juho Eskeli 0:2b6d1f2f42fa 89 11. You will notice from the serial terminal that the device gets a request to update the FW, then this is authorized, then the download of the new FW starts, finishes and the bootloader verifies the authencity of the new FW, installs it on the device and reboots.
Juho Eskeli 0:2b6d1f2f42fa 90
Juho Eskeli 0:2b6d1f2f42fa 91 12. You will now notice the new printf statement appear on the device logs which indicates that the newly built application binary is now installed and running on the device i.e. the device has been remotely updated.
Juho Eskeli 0:2b6d1f2f42fa 92
Juho Eskeli 0:2b6d1f2f42fa 93 The success logs should look like the below on a serial terminal, although your device *will* be assigned a different device ID and will have a different IP address.
Juho Eskeli 0:2b6d1f2f42fa 94
Juho Eskeli 0:2b6d1f2f42fa 95 ```
Juho Eskeli 0:2b6d1f2f42fa 96 mbed sterm -b 115200 -r
Juho Eskeli 0:2b6d1f2f42fa 97
Juho Eskeli 0:2b6d1f2f42fa 98 [BOOT] Mbed Bootloader
Juho Eskeli 0:2b6d1f2f42fa 99 [BOOT] ARM: 00000000000000000000
Juho Eskeli 0:2b6d1f2f42fa 100 [BOOT] OEM: 00000000000000000000
Juho Eskeli 0:2b6d1f2f42fa 101 [BOOT] Layout: 0 8007698
Juho Eskeli 0:2b6d1f2f42fa 102 [BOOT] Active firmware integrity check:
Juho Eskeli 0:2b6d1f2f42fa 103 [BOOT] SHA256: 8A9C5CDF457A2EFD94A36FEC10934C292516249D93F899691000D5E2BD75B2DE
Juho Eskeli 0:2b6d1f2f42fa 104 [BOOT] Version: 1547631154
Juho Eskeli 0:2b6d1f2f42fa 105 [BOOT] Slot 0 is empty
Juho Eskeli 0:2b6d1f2f42fa 106 [BOOT] Active firmware up-to-date
Juho Eskeli 0:2b6d1f2f42fa 107 [BOOT] Application's start address: 0x8008400
Juho Eskeli 0:2b6d1f2f42fa 108 [BOOT] Application's jump address: 0x802E5C5
Juho Eskeli 0:2b6d1f2f42fa 109 [BOOT] Application's stack address: 0x10008000
Juho Eskeli 0:2b6d1f2f42fa 110 [BOOT] Forwarding to application...
Juho Eskeli 0:2b6d1f2f42fa 111
Juho Eskeli 0:2b6d1f2f42fa 112 Starting Simple Pelion Device Management Client example
Juho Eskeli 0:2b6d1f2f42fa 113 Connecting to the network...
Juho Eskeli 0:2b6d1f2f42fa 114 Connected to the network successfully. IP address: 10.41.80.23
Juho Eskeli 0:2b6d1f2f42fa 115 Initialized Pelion Client. Registering...
Juho Eskeli 0:2b6d1f2f42fa 116 Simulated button clicked 1 times
Juho Eskeli 0:2b6d1f2f42fa 117 Simulated button clicked 2 times
Juho Eskeli 0:2b6d1f2f42fa 118 Simulated button clicked 3 times
Juho Eskeli 0:2b6d1f2f42fa 119 Simulated button clicked 4 times
Juho Eskeli 0:2b6d1f2f42fa 120 Simulated button clicked 5 times
Juho Eskeli 0:2b6d1f2f42fa 121 Simulated button clicked 6 times
Juho Eskeli 0:2b6d1f2f42fa 122 Simulated button clicked 7 times
Juho Eskeli 0:2b6d1f2f42fa 123 Simulated button clicked 8 times
Juho Eskeli 0:2b6d1f2f42fa 124 Simulated button clicked 9 times
Juho Eskeli 0:2b6d1f2f42fa 125 Simulated button clicked 10 times
Juho Eskeli 0:2b6d1f2f42fa 126 Connected to Pelion Device Management. Endpoint Name: 01685603810f00000000000100100300
Juho Eskeli 0:2b6d1f2f42fa 127 Simulated button clicked 11 times
Juho Eskeli 0:2b6d1f2f42fa 128 Simulated button clicked 12 times
Juho Eskeli 0:2b6d1f2f42fa 129 Simulated button clicked 13 times
Juho Eskeli 0:2b6d1f2f42fa 130 Simulated button clicked 14 times
Juho Eskeli 0:2b6d1f2f42fa 131 Simulated button clicked 15 times
Juho Eskeli 0:2b6d1f2f42fa 132 Simulated button clicked 16 times
Juho Eskeli 0:2b6d1f2f42fa 133 Firmware download requested
Juho Eskeli 0:2b6d1f2f42fa 134 Authorization granted
Juho Eskeli 0:2b6d1f2f42fa 135 Simulated button clicked 17 times
Juho Eskeli 0:2b6d1f2f42fa 136 Downloading: [\ ] 0 %Simulated button clicked 18 times
Juho Eskeli 0:2b6d1f2f42fa 137 Downloading: [\ ] 0 %Simulated button clicked 19 times
Juho Eskeli 0:2b6d1f2f42fa 138 Downloading: [\ ] 1 %Simulated button clicked 20 times
Juho Eskeli 0:2b6d1f2f42fa 139 Downloading: [\ ] 1 %Simulated button clicked 21 times
Juho Eskeli 0:2b6d1f2f42fa 140 Downloading: [+- ] 2 %Simulated button clicked 22 times
Juho Eskeli 0:2b6d1f2f42fa 141 Downloading: [+- ] 2 %Simulated button clicked 23 times
Juho Eskeli 0:2b6d1f2f42fa 142 Downloading: [+- ] 3 %Simulated button clicked 24 times
Juho Eskeli 0:2b6d1f2f42fa 143 Downloading: [+- ] 3 %Simulated button clicked 25 times
Juho Eskeli 0:2b6d1f2f42fa 144 Downloading: [++\ ] 4 %Simulated button clicked 26 times
Juho Eskeli 0:2b6d1f2f42fa 145 Downloading: [++\ ] 4 %Simulated button clicked 27 times
Juho Eskeli 0:2b6d1f2f42fa 146 Downloading: [++\ ] 5 %Simulated button clicked 28 times
Juho Eskeli 0:2b6d1f2f42fa 147 Downloading: [++\ ] 5 %Simulated button clicked 29 times
Juho Eskeli 0:2b6d1f2f42fa 148 Downloading: [+++\ ] 6 %Simulated button clicked 30 times
Juho Eskeli 0:2b6d1f2f42fa 149 Downloading: [+++\ ] 6 %Simulated button clicked 31 times
Juho Eskeli 0:2b6d1f2f42fa 150 Downloading: [+++\ ] 7 %Simulated button clicked 32 times
Juho Eskeli 0:2b6d1f2f42fa 151 Downloading: [+++\ ] 7 %Simulated button clicked 33 times
Juho Eskeli 0:2b6d1f2f42fa 152 Downloading: [++++/ ] 8 %Simulated button clicked 34 times
Juho Eskeli 0:2b6d1f2f42fa 153 Downloading: [++++| ] 8 %Simulated button clicked 35 times
Juho Eskeli 0:2b6d1f2f42fa 154 Downloading: [++++| ] 9 %Simulated button clicked 36 times
Juho Eskeli 0:2b6d1f2f42fa 155 Downloading: [++++| ] 9 %Simulated button clicked 37 times
Juho Eskeli 0:2b6d1f2f42fa 156 Downloading: [+++++| ] 10 %Simulated button clicked 38 times
Juho Eskeli 0:2b6d1f2f42fa 157 Downloading: [+++++| ] 10 %Simulated button clicked 39 times
Juho Eskeli 0:2b6d1f2f42fa 158 Downloading: [+++++| ] 11 %Simulated button clicked 40 times
Juho Eskeli 0:2b6d1f2f42fa 159 Downloading: [++++++/ ] 12 %Simulated button clicked 41 times
Juho Eskeli 0:2b6d1f2f42fa 160 Downloading: [++++++/ ] 12 %Simulated button clicked 42 times
Juho Eskeli 0:2b6d1f2f42fa 161 Downloading: [++++++/ ] 13 %Simulated button clicked 43 times
Juho Eskeli 0:2b6d1f2f42fa 162 Downloading: [++++++/ ] 13 %Simulated button clicked 44 times
Juho Eskeli 0:2b6d1f2f42fa 163 Downloading: [+++++++/ ] 14 %Simulated button clicked 45 times
Juho Eskeli 0:2b6d1f2f42fa 164 Downloading: [+++++++/ ] 14 %Simulated button clicked 46 times
Juho Eskeli 0:2b6d1f2f42fa 165 Downloading: [+++++++/ ] 15 %Simulated button clicked 47 times
Juho Eskeli 0:2b6d1f2f42fa 166 Downloading: [+++++++/ ] 15 %Simulated button clicked 48 times
Juho Eskeli 0:2b6d1f2f42fa 167 Downloading: [++++++++- ] 16 %Simulated button clicked 49 times
Juho Eskeli 0:2b6d1f2f42fa 168 Downloading: [++++++++\ ] 16 %Simulated button clicked 50 times
Juho Eskeli 0:2b6d1f2f42fa 169 Downloading: [++++++++\ ] 17 %Simulated button clicked 51 times
Juho Eskeli 0:2b6d1f2f42fa 170 Downloading: [++++++++\ ] 17 %Simulated button clicked 52 times
Juho Eskeli 0:2b6d1f2f42fa 171 Downloading: [+++++++++- ] 18 %Simulated button clicked 53 times
Juho Eskeli 0:2b6d1f2f42fa 172 Downloading: [+++++++++\ ] 18 %Simulated button clicked 54 times
Juho Eskeli 0:2b6d1f2f42fa 173 Downloading: [+++++++++\ ] 19 %Simulated button clicked 55 times
Juho Eskeli 0:2b6d1f2f42fa 174 Downloading: [+++++++++\ ] 19 %Simulated button clicked 56 times
Juho Eskeli 0:2b6d1f2f42fa 175 Downloading: [++++++++++| ] 20 %Simulated button clicked 57 times
Juho Eskeli 0:2b6d1f2f42fa 176 Downloading: [++++++++++| ] 20 %Simulated button clicked 58 times
Juho Eskeli 0:2b6d1f2f42fa 177 Downloading: [++++++++++| ] 21 %Simulated button clicked 59 times
Juho Eskeli 0:2b6d1f2f42fa 178 Downloading: [++++++++++| ] 21 %Simulated button clicked 60 times
Juho Eskeli 0:2b6d1f2f42fa 179 Downloading: [+++++++++++| ] 22 %Simulated button clicked 61 times
Juho Eskeli 0:2b6d1f2f42fa 180 Downloading: [+++++++++++| ] 22 %Simulated button clicked 62 times
Juho Eskeli 0:2b6d1f2f42fa 181 Downloading: [+++++++++++| ] 23 %Simulated button clicked 63 times
Juho Eskeli 0:2b6d1f2f42fa 182 Downloading: [++++++++++++/ ] 24 %Simulated button clicked 64 times
Juho Eskeli 0:2b6d1f2f42fa 183 Downloading: [++++++++++++/ ] 24 %Simulated button clicked 65 times
Juho Eskeli 0:2b6d1f2f42fa 184 Downloading: [++++++++++++/ ] 25 %Simulated button clicked 66 times
Juho Eskeli 0:2b6d1f2f42fa 185 Downloading: [++++++++++++/ ] 25 %Simulated button clicked 67 times
Juho Eskeli 0:2b6d1f2f42fa 186 Downloading: [+++++++++++++/ ] 26 %Simulated button clicked 68 times
Juho Eskeli 0:2b6d1f2f42fa 187 Downloading: [+++++++++++++/ ] 26 %Simulated button clicked 69 times
Juho Eskeli 0:2b6d1f2f42fa 188 Downloading: [+++++++++++++/ ] 27 %Simulated button clicked 70 times
Juho Eskeli 0:2b6d1f2f42fa 189 Downloading: [+++++++++++++/ ] 27 %Simulated button clicked 71 times
Juho Eskeli 0:2b6d1f2f42fa 190 Downloading: [++++++++++++++- ] 28 %Simulated button clicked 72 times
Juho Eskeli 0:2b6d1f2f42fa 191 Downloading: [++++++++++++++- ] 28 %Simulated button clicked 73 times
Juho Eskeli 0:2b6d1f2f42fa 192 Downloading: [++++++++++++++- ] 29 %Simulated button clicked 74 times
Juho Eskeli 0:2b6d1f2f42fa 193 Downloading: [++++++++++++++- ] 29 %Simulated button clicked 75 times
Juho Eskeli 0:2b6d1f2f42fa 194 Downloading: [+++++++++++++++- ] 30 %Simulated button clicked 76 times
Juho Eskeli 0:2b6d1f2f42fa 195 Downloading: [+++++++++++++++- ] 30 %Simulated button clicked 77 times
Juho Eskeli 0:2b6d1f2f42fa 196 Downloading: [+++++++++++++++- ] 31 %Simulated button clicked 78 times
Juho Eskeli 0:2b6d1f2f42fa 197 Downloading: [+++++++++++++++- ] 31 %Simulated button clicked 79 times
Juho Eskeli 0:2b6d1f2f42fa 198 Downloading: [++++++++++++++++\ ] 32 %Simulated button clicked 80 times
Juho Eskeli 0:2b6d1f2f42fa 199 Downloading: [++++++++++++++++\ ] 32 %Simulated button clicked 81 times
Juho Eskeli 0:2b6d1f2f42fa 200 Downloading: [++++++++++++++++\ ] 33 %Simulated button clicked 82 times
Juho Eskeli 0:2b6d1f2f42fa 201 Downloading: [++++++++++++++++\ ] 33 %Simulated button clicked 83 times
Juho Eskeli 0:2b6d1f2f42fa 202 Downloading: [+++++++++++++++++| ] 34 %Simulated button clicked 84 times
Juho Eskeli 0:2b6d1f2f42fa 203 Downloading: [+++++++++++++++++\ ] 34 %Simulated button clicked 85 times
Juho Eskeli 0:2b6d1f2f42fa 204 Downloading: [+++++++++++++++++| ] 35 %Simulated button clicked 86 times
Juho Eskeli 0:2b6d1f2f42fa 205 Downloading: [++++++++++++++++++/ ] 36 %Simulated button clicked 87 times
Juho Eskeli 0:2b6d1f2f42fa 206 Downloading: [++++++++++++++++++| ] 36 %Simulated button clicked 88 times
Juho Eskeli 0:2b6d1f2f42fa 207 Downloading: [++++++++++++++++++/ ] 37 %Simulated button clicked 89 times
Juho Eskeli 0:2b6d1f2f42fa 208 Downloading: [++++++++++++++++++/ ] 37 %Simulated button clicked 90 times
Juho Eskeli 0:2b6d1f2f42fa 209 Downloading: [+++++++++++++++++++/ ] 38 %Simulated button clicked 91 times
Juho Eskeli 0:2b6d1f2f42fa 210 Downloading: [+++++++++++++++++++/ ] 38 %Simulated button clicked 92 times
Juho Eskeli 0:2b6d1f2f42fa 211 Downloading: [+++++++++++++++++++| ] 39 %Simulated button clicked 93 times
Juho Eskeli 0:2b6d1f2f42fa 212 Downloading: [+++++++++++++++++++| ] 39 %Simulated button clicked 94 times
Juho Eskeli 0:2b6d1f2f42fa 213 Downloading: [++++++++++++++++++++/ ] 40 %Simulated button clicked 95 times
Juho Eskeli 0:2b6d1f2f42fa 214 Downloading: [++++++++++++++++++++/ ] 40 %Simulated button clicked 96 times
Juho Eskeli 0:2b6d1f2f42fa 215 Downloading: [++++++++++++++++++++/ ] 41 %Simulated button clicked 97 times
Juho Eskeli 0:2b6d1f2f42fa 216 Downloading: [++++++++++++++++++++| ] 41 %Simulated button clicked 98 times
Juho Eskeli 0:2b6d1f2f42fa 217 Downloading: [++++++++++++++++++++| ] 41 %Simulated button clicked 99 times
Juho Eskeli 0:2b6d1f2f42fa 218 Downloading: [+++++++++++++++++++++| ] 42 %Simulated button clicked 100 times
Juho Eskeli 0:2b6d1f2f42fa 219 Downloading: [+++++++++++++++++++++| ] 43 %Simulated button clicked 101 times
Juho Eskeli 0:2b6d1f2f42fa 220 Downloading: [+++++++++++++++++++++| ] 43 %Simulated button clicked 102 times
Juho Eskeli 0:2b6d1f2f42fa 221 Downloading: [++++++++++++++++++++++/ ] 44 %Simulated button clicked 103 times
Juho Eskeli 0:2b6d1f2f42fa 222 Downloading: [++++++++++++++++++++++/ ] 44 %Simulated button clicked 104 times
Juho Eskeli 0:2b6d1f2f42fa 223 Downloading: [++++++++++++++++++++++/ ] 45 %Simulated button clicked 105 times
Juho Eskeli 0:2b6d1f2f42fa 224 Downloading: [++++++++++++++++++++++/ ] 45 %Simulated button clicked 106 times
Juho Eskeli 0:2b6d1f2f42fa 225 Downloading: [+++++++++++++++++++++++/ ] 46 %Simulated button clicked 107 times
Juho Eskeli 0:2b6d1f2f42fa 226 Downloading: [+++++++++++++++++++++++/ ] 46 %Simulated button clicked 108 times
Juho Eskeli 0:2b6d1f2f42fa 227 Downloading: [+++++++++++++++++++++++/ ] 47 %Simulated button clicked 109 times
Juho Eskeli 0:2b6d1f2f42fa 228 Downloading: [+++++++++++++++++++++++/ ] 47 %Simulated button clicked 110 times
Juho Eskeli 0:2b6d1f2f42fa 229 Downloading: [++++++++++++++++++++++++- ] 48 %Simulated button clicked 111 times
Juho Eskeli 0:2b6d1f2f42fa 230 Downloading: [++++++++++++++++++++++++- ] 48 %Simulated button clicked 112 times
Juho Eskeli 0:2b6d1f2f42fa 231 Downloading: [++++++++++++++++++++++++- ] 49 %Simulated button clicked 113 times
Juho Eskeli 0:2b6d1f2f42fa 232 Downloading: [++++++++++++++++++++++++- ] 49 %Simulated button clicked 114 times
Juho Eskeli 0:2b6d1f2f42fa 233 Downloading: [+++++++++++++++++++++++++- ] 50 %Simulated button clicked 115 times
Juho Eskeli 0:2b6d1f2f42fa 234 Downloading: [+++++++++++++++++++++++++- ] 50 %Simulated button clicked 116 times
Juho Eskeli 0:2b6d1f2f42fa 235 Downloading: [+++++++++++++++++++++++++\ ] 51 %Simulated button clicked 117 times
Juho Eskeli 0:2b6d1f2f42fa 236 Downloading: [+++++++++++++++++++++++++\ ] 51 %Simulated button clicked 118 times
Juho Eskeli 0:2b6d1f2f42fa 237 Downloading: [++++++++++++++++++++++++++\ ] 52 %Simulated button clicked 119 times
Juho Eskeli 0:2b6d1f2f42fa 238 Downloading: [++++++++++++++++++++++++++| ] 52 %Simulated button clicked 120 times
Juho Eskeli 0:2b6d1f2f42fa 239 Downloading: [++++++++++++++++++++++++++\ ] 53 %Simulated button clicked 121 times
Juho Eskeli 0:2b6d1f2f42fa 240 Downloading: [++++++++++++++++++++++++++| ] 53 %Simulated button clicked 122 times
Juho Eskeli 0:2b6d1f2f42fa 241 Downloading: [+++++++++++++++++++++++++++| ] 54 %Simulated button clicked 123 times
Juho Eskeli 0:2b6d1f2f42fa 242 Downloading: [+++++++++++++++++++++++++++| ] 55 %Simulated button clicked 124 times
Juho Eskeli 0:2b6d1f2f42fa 243 Downloading: [+++++++++++++++++++++++++++| ] 55 %Simulated button clicked 125 times
Juho Eskeli 0:2b6d1f2f42fa 244 Downloading: [++++++++++++++++++++++++++++/ ] 56 %Simulated button clicked 126 times
Juho Eskeli 0:2b6d1f2f42fa 245 Downloading: [++++++++++++++++++++++++++++/ ] 56 %Simulated button clicked 127 times
Juho Eskeli 0:2b6d1f2f42fa 246 Downloading: [++++++++++++++++++++++++++++/ ] 57 %Simulated button clicked 128 times
Juho Eskeli 0:2b6d1f2f42fa 247 Downloading: [++++++++++++++++++++++++++++/ ] 57 %Simulated button clicked 129 times
Juho Eskeli 0:2b6d1f2f42fa 248 Downloading: [+++++++++++++++++++++++++++++/ ] 58 %Simulated button clicked 130 times
Juho Eskeli 0:2b6d1f2f42fa 249 Downloading: [+++++++++++++++++++++++++++++/ ] 58 %Simulated button clicked 131 times
Juho Eskeli 0:2b6d1f2f42fa 250 Downloading: [+++++++++++++++++++++++++++++/ ] 59 %Simulated button clicked 132 times
Juho Eskeli 0:2b6d1f2f42fa 251 Downloading: [+++++++++++++++++++++++++++++/ ] 59 %Simulated button clicked 133 times
Juho Eskeli 0:2b6d1f2f42fa 252 Downloading: [++++++++++++++++++++++++++++++- ] 60 %Simulated button clicked 134 times
Juho Eskeli 0:2b6d1f2f42fa 253 Downloading: [++++++++++++++++++++++++++++++- ] 60 %Simulated button clicked 135 times
Juho Eskeli 0:2b6d1f2f42fa 254 Downloading: [++++++++++++++++++++++++++++++- ] 61 %Simulated button clicked 136 times
Juho Eskeli 0:2b6d1f2f42fa 255 Downloading: [++++++++++++++++++++++++++++++- ] 61 %Simulated button clicked 137 times
Juho Eskeli 0:2b6d1f2f42fa 256 Downloading: [+++++++++++++++++++++++++++++++\ ] 62 %Simulated button clicked 138 times
Juho Eskeli 0:2b6d1f2f42fa 257 Downloading: [+++++++++++++++++++++++++++++++\ ] 62 %Simulated button clicked 139 times
Juho Eskeli 0:2b6d1f2f42fa 258 Downloading: [+++++++++++++++++++++++++++++++| ] 63 %Simulated button clicked 140 times
Juho Eskeli 0:2b6d1f2f42fa 259 Downloading: [+++++++++++++++++++++++++++++++\ ] 63 %Simulated button clicked 141 times
Juho Eskeli 0:2b6d1f2f42fa 260 Downloading: [++++++++++++++++++++++++++++++++\ ] 64 %Simulated button clicked 142 times
Juho Eskeli 0:2b6d1f2f42fa 261 Downloading: [++++++++++++++++++++++++++++++++| ] 64 %Simulated button clicked 143 times
Juho Eskeli 0:2b6d1f2f42fa 262 Downloading: [++++++++++++++++++++++++++++++++| ] 65 %Simulated button clicked 144 times
Juho Eskeli 0:2b6d1f2f42fa 263 Downloading: [+++++++++++++++++++++++++++++++++/ ] 66 %Simulated button clicked 145 times
Juho Eskeli 0:2b6d1f2f42fa 264 Downloading: [+++++++++++++++++++++++++++++++++/ ] 66 %Simulated button clicked 146 times
Juho Eskeli 0:2b6d1f2f42fa 265 Downloading: [+++++++++++++++++++++++++++++++++/ ] 67 %Simulated button clicked 147 times
Juho Eskeli 0:2b6d1f2f42fa 266 Downloading: [+++++++++++++++++++++++++++++++++/ ] 67 %Simulated button clicked 148 times
Juho Eskeli 0:2b6d1f2f42fa 267 Downloading: [++++++++++++++++++++++++++++++++++/ ] 68 %Simulated button clicked 149 times
Juho Eskeli 0:2b6d1f2f42fa 268 Downloading: [++++++++++++++++++++++++++++++++++/ ] 68 %Simulated button clicked 150 times
Juho Eskeli 0:2b6d1f2f42fa 269 Downloading: [++++++++++++++++++++++++++++++++++/ ] 69 %Simulated button clicked 151 times
Juho Eskeli 0:2b6d1f2f42fa 270 Downloading: [++++++++++++++++++++++++++++++++++/ ] 69 %Simulated button clicked 152 times
Juho Eskeli 0:2b6d1f2f42fa 271 Downloading: [+++++++++++++++++++++++++++++++++++- ] 70 %Simulated button clicked 153 times
Juho Eskeli 0:2b6d1f2f42fa 272 Downloading: [+++++++++++++++++++++++++++++++++++/ ] 70 %Simulated button clicked 154 times
Juho Eskeli 0:2b6d1f2f42fa 273 Downloading: [+++++++++++++++++++++++++++++++++++/ ] 71 %Simulated button clicked 155 times
Juho Eskeli 0:2b6d1f2f42fa 274 Downloading: [+++++++++++++++++++++++++++++++++++/ ] 71 %Simulated button clicked 156 times
Juho Eskeli 0:2b6d1f2f42fa 275 Downloading: [++++++++++++++++++++++++++++++++++++/ ] 72 %Simulated button clicked 157 times
Juho Eskeli 0:2b6d1f2f42fa 276 Downloading: [++++++++++++++++++++++++++++++++++++/ ] 72 %Simulated button clicked 158 times
Juho Eskeli 0:2b6d1f2f42fa 277 Downloading: [++++++++++++++++++++++++++++++++++++/ ] 73 %Simulated button clicked 159 times
Juho Eskeli 0:2b6d1f2f42fa 278 Downloading: [++++++++++++++++++++++++++++++++++++/ ] 73 %Simulated button clicked 160 times
Juho Eskeli 0:2b6d1f2f42fa 279 Downloading: [+++++++++++++++++++++++++++++++++++++- ] 74 %Simulated button clicked 161 times
Juho Eskeli 0:2b6d1f2f42fa 280 Downloading: [+++++++++++++++++++++++++++++++++++++- ] 74 %Simulated button clicked 162 times
Juho Eskeli 0:2b6d1f2f42fa 281 Downloading: [+++++++++++++++++++++++++++++++++++++- ] 75 %Simulated button clicked 163 times
Juho Eskeli 0:2b6d1f2f42fa 282 Downloading: [+++++++++++++++++++++++++++++++++++++- ] 75 %Simulated button clicked 164 times
Juho Eskeli 0:2b6d1f2f42fa 283 Downloading: [++++++++++++++++++++++++++++++++++++++- ] 76 %Simulated button clicked 165 times
Juho Eskeli 0:2b6d1f2f42fa 284 Downloading: [++++++++++++++++++++++++++++++++++++++- ] 76 %Simulated button clicked 166 times
Juho Eskeli 0:2b6d1f2f42fa 285 Downloading: [++++++++++++++++++++++++++++++++++++++- ] 77 %Simulated button clicked 167 times
Juho Eskeli 0:2b6d1f2f42fa 286 Downloading: [++++++++++++++++++++++++++++++++++++++- ] 77 %Simulated button clicked 168 times
Juho Eskeli 0:2b6d1f2f42fa 287 Downloading: [+++++++++++++++++++++++++++++++++++++++\ ] 78 %Simulated button clicked 169 times
Juho Eskeli 0:2b6d1f2f42fa 288 Downloading: [+++++++++++++++++++++++++++++++++++++++\ ] 78 %Simulated button clicked 170 times
Juho Eskeli 0:2b6d1f2f42fa 289 Downloading: [+++++++++++++++++++++++++++++++++++++++\ ] 79 %Simulated button clicked 171 times
Juho Eskeli 0:2b6d1f2f42fa 290 Downloading: [+++++++++++++++++++++++++++++++++++++++\ ] 79 %Simulated button clicked 172 times
Juho Eskeli 0:2b6d1f2f42fa 291 Downloading: [++++++++++++++++++++++++++++++++++++++++\ ] 80 %Simulated button clicked 173 times
Juho Eskeli 0:2b6d1f2f42fa 292 Downloading: [++++++++++++++++++++++++++++++++++++++++\ ] 80 %Simulated button clicked 174 times
Juho Eskeli 0:2b6d1f2f42fa 293 Downloading: [++++++++++++++++++++++++++++++++++++++++- ] 81 %Simulated button clicked 175 times
Juho Eskeli 0:2b6d1f2f42fa 294 Downloading: [++++++++++++++++++++++++++++++++++++++++- ] 81 %Simulated button clicked 176 times
Juho Eskeli 0:2b6d1f2f42fa 295 Downloading: [+++++++++++++++++++++++++++++++++++++++++\ ] 82 %Simulated button clicked 177 times
Juho Eskeli 0:2b6d1f2f42fa 296 Downloading: [+++++++++++++++++++++++++++++++++++++++++\ ] 82 %Simulated button clicked 178 times
Juho Eskeli 0:2b6d1f2f42fa 297 Downloading: [+++++++++++++++++++++++++++++++++++++++++\ ] 83 %Simulated button clicked 179 times
Juho Eskeli 0:2b6d1f2f42fa 298 Downloading: [+++++++++++++++++++++++++++++++++++++++++\ ] 83 %Simulated button clicked 180 times
Juho Eskeli 0:2b6d1f2f42fa 299 Downloading: [++++++++++++++++++++++++++++++++++++++++++\ ] 84 %Simulated button clicked 181 times
Juho Eskeli 0:2b6d1f2f42fa 300 Downloading: [++++++++++++++++++++++++++++++++++++++++++\ ] 84 %Simulated button clicked 182 times
Juho Eskeli 0:2b6d1f2f42fa 301 Downloading: [++++++++++++++++++++++++++++++++++++++++++| ] 85 %Simulated button clicked 183 times
Juho Eskeli 0:2b6d1f2f42fa 302 Downloading: [+++++++++++++++++++++++++++++++++++++++++++/ ] 86 %Simulated button clicked 184 times
Juho Eskeli 0:2b6d1f2f42fa 303 Downloading: [+++++++++++++++++++++++++++++++++++++++++++/ ] 86 %Simulated button clicked 185 times
Juho Eskeli 0:2b6d1f2f42fa 304 Downloading: [+++++++++++++++++++++++++++++++++++++++++++/ ] 87 %Simulated button clicked 186 times
Juho Eskeli 0:2b6d1f2f42fa 305 Downloading: [+++++++++++++++++++++++++++++++++++++++++++/ ] 87 %Simulated button clicked 187 times
Juho Eskeli 0:2b6d1f2f42fa 306 Downloading: [++++++++++++++++++++++++++++++++++++++++++++/ ] 88 %Simulated button clicked 188 times
Juho Eskeli 0:2b6d1f2f42fa 307 Downloading: [++++++++++++++++++++++++++++++++++++++++++++/ ] 88 %Simulated button clicked 189 times
Juho Eskeli 0:2b6d1f2f42fa 308 Downloading: [++++++++++++++++++++++++++++++++++++++++++++/ ] 89 %Simulated button clicked 190 times
Juho Eskeli 0:2b6d1f2f42fa 309 Downloading: [++++++++++++++++++++++++++++++++++++++++++++/ ] 89 %Simulated button clicked 191 times
Juho Eskeli 0:2b6d1f2f42fa 310 Downloading: [+++++++++++++++++++++++++++++++++++++++++++++- ] 90 %Simulated button clicked 192 times
Juho Eskeli 0:2b6d1f2f42fa 311 Downloading: [+++++++++++++++++++++++++++++++++++++++++++++- ] 90 %Simulated button clicked 193 times
Juho Eskeli 0:2b6d1f2f42fa 312 Downloading: [+++++++++++++++++++++++++++++++++++++++++++++- ] 91 %Simulated button clicked 194 times
Juho Eskeli 0:2b6d1f2f42fa 313 Downloading: [+++++++++++++++++++++++++++++++++++++++++++++- ] 91 %Simulated button clicked 195 times
Juho Eskeli 0:2b6d1f2f42fa 314 Downloading: [++++++++++++++++++++++++++++++++++++++++++++++- ] 92 %Simulated button clicked 196 times
Juho Eskeli 0:2b6d1f2f42fa 315 Downloading: [++++++++++++++++++++++++++++++++++++++++++++++- ] 92 %Simulated button clicked 197 times
Juho Eskeli 0:2b6d1f2f42fa 316 Downloading: [++++++++++++++++++++++++++++++++++++++++++++++- ] 93 %Simulated button clicked 198 times
Juho Eskeli 0:2b6d1f2f42fa 317 Downloading: [++++++++++++++++++++++++++++++++++++++++++++++- ] 93 %Simulated button clicked 199 times
Juho Eskeli 0:2b6d1f2f42fa 318 Downloading: [+++++++++++++++++++++++++++++++++++++++++++++++\ ] 94 %Simulated button clicked 200 times
Juho Eskeli 0:2b6d1f2f42fa 319 Downloading: [+++++++++++++++++++++++++++++++++++++++++++++++\ ] 94 %Simulated button clicked 201 times
Juho Eskeli 0:2b6d1f2f42fa 320 Downloading: [+++++++++++++++++++++++++++++++++++++++++++++++\ ] 95 %Simulated button clicked 202 times
Juho Eskeli 0:2b6d1f2f42fa 321 Downloading: [+++++++++++++++++++++++++++++++++++++++++++++++- ] 95 %Simulated button clicked 203 times
Juho Eskeli 0:2b6d1f2f42fa 322 Downloading: [++++++++++++++++++++++++++++++++++++++++++++++++- ] 96 %Simulated button clicked 204 times
Juho Eskeli 0:2b6d1f2f42fa 323 Downloading: [++++++++++++++++++++++++++++++++++++++++++++++++- ] 96 %Simulated button clicked 205 times
Juho Eskeli 0:2b6d1f2f42fa 324 Downloading: [++++++++++++++++++++++++++++++++++++++++++++++++- ] 97 %Simulated button clicked 206 times
Juho Eskeli 0:2b6d1f2f42fa 325 Downloading: [++++++++++++++++++++++++++++++++++++++++++++++++- ] 97 %Simulated button clicked 207 times
Juho Eskeli 0:2b6d1f2f42fa 326 Downloading: [+++++++++++++++++++++++++++++++++++++++++++++++++\] 98 %Simulated button clicked 208 times
Juho Eskeli 0:2b6d1f2f42fa 327 Downloading: [+++++++++++++++++++++++++++++++++++++++++++++++++\] 98 %Simulated button clicked 209 times
Juho Eskeli 0:2b6d1f2f42fa 328 Downloading: [+++++++++++++++++++++++++++++++++++++++++++++++++|] 99 %Simulated button clicked 210 times
Juho Eskeli 0:2b6d1f2f42fa 329 Downloading: [+++++++++++++++++++++++++++++++++++++++++++++++++|] 99 %Simulated button clicked 211 times
Juho Eskeli 0:2b6d1f2f42fa 330 Downloading: [++++++++++++++++++++++++++++++++++++++++++++++++++] 100 %
Juho Eskeli 0:2b6d1f2f42fa 331 Download completed
Juho Eskeli 0:2b6d1f2f42fa 332 Simulated button clicked 212 times
Juho Eskeli 0:2b6d1f2f42fa 333 Firmware install requested
Juho Eskeli 0:2b6d1f2f42fa 334 Authorization granted
Juho Eskeli 0:2b6d1f2f42fa 335 [BOOT] Mbed Bootloader
Juho Eskeli 0:2b6d1f2f42fa 336 [BOOT] ARM: 00000000000000000000
Juho Eskeli 0:2b6d1f2f42fa 337 [BOOT] OEM: 00000000000000000000
Juho Eskeli 0:2b6d1f2f42fa 338 [BOOT] Layout: 0 8007698
Juho Eskeli 0:2b6d1f2f42fa 339 [BOOT] Active firmware integrity check:
Juho Eskeli 0:2b6d1f2f42fa 340 [BOOT] SHA256: 8A9C5CDF457A2EFD94A36FEC10934C292516249D93F899691000D5E2BD75B2DE
Juho Eskeli 0:2b6d1f2f42fa 341 [BOOT] Version: 1547631154
Juho Eskeli 0:2b6d1f2f42fa 342 [BOOT] Slot 0 firmware integrity check:
Juho Eskeli 0:2b6d1f2f42fa 343 [BOOT] SHA256: 8A9C5CDF457A2EFD94A36FEC10934C292516249D93F899691000D5E2BD75B2DE
Juho Eskeli 0:2b6d1f2f42fa 344 [BOOT] Version: 1547631342
Juho Eskeli 0:2b6d1f2f42fa 345 [BOOT] Update active firmware using slot 0:
Juho Eskeli 0:2b6d1f2f42fa 346 [BOOT] Verify new active firmware:
Juho Eskeli 0:2b6d1f2f42fa 347 [BOOT] New active firmware is valid
Juho Eskeli 0:2b6d1f2f42fa 348 [BOOT] Application's start address: 0x8008400
Juho Eskeli 0:2b6d1f2f42fa 349 [BOOT] Application's jump address: 0x802E5C5
Juho Eskeli 0:2b6d1f2f42fa 350 [BOOT] Application's stack address: 0x10008000
Juho Eskeli 0:2b6d1f2f42fa 351 [BOOT] Forwarding to application...
Juho Eskeli 0:2b6d1f2f42fa 352
Juho Eskeli 0:2b6d1f2f42fa 353 Starting Simple Pelion Device Management Client example
Juho Eskeli 0:2b6d1f2f42fa 354 FW updated OTA
Juho Eskeli 0:2b6d1f2f42fa 355 Connecting to the network...
Juho Eskeli 0:2b6d1f2f42fa 356 Connected to the network successfully. IP address: 10.41.80.5
Juho Eskeli 0:2b6d1f2f42fa 357 Initialized Pelion Client. Registering...
Juho Eskeli 0:2b6d1f2f42fa 358 Simulated button clicked 1 times
Juho Eskeli 0:2b6d1f2f42fa 359 Simulated button clicked 2 times
Juho Eskeli 0:2b6d1f2f42fa 360 Simulated button clicked 3 times
Juho Eskeli 0:2b6d1f2f42fa 361 Simulated button clicked 4 times
Juho Eskeli 0:2b6d1f2f42fa 362 Simulated button clicked 5 times
Juho Eskeli 0:2b6d1f2f42fa 363 Simulated button clicked 6 times
Juho Eskeli 0:2b6d1f2f42fa 364 Simulated button clicked 7 times
Juho Eskeli 0:2b6d1f2f42fa 365 Simulated button clicked 8 times
Juho Eskeli 0:2b6d1f2f42fa 366 Connected to Pelion Device Management. Endpoint Name: 01685614c62f00000000000100100230
Juho Eskeli 0:2b6d1f2f42fa 367 Simulated button clicked 9 times
Juho Eskeli 0:2b6d1f2f42fa 368 Simulated button clicked 10 times
Juho Eskeli 0:2b6d1f2f42fa 369 Simulated button clicked 11 times
Juho Eskeli 0:2b6d1f2f42fa 370 Simulated button clicked 12 times
Juho Eskeli 0:2b6d1f2f42fa 371 Simulated button clicked 13 times
Juho Eskeli 0:2b6d1f2f42fa 372 Simulated button clicked 14 times
Juho Eskeli 0:2b6d1f2f42fa 373 Simulated button clicked 15 times
Juho Eskeli 0:2b6d1f2f42fa 374
Juho Eskeli 0:2b6d1f2f42fa 375 ```
Juho Eskeli 0:2b6d1f2f42fa 376
Juho Eskeli 0:2b6d1f2f42fa 377 ## Also note that the device ID remains the same after the FW update. This indicates that the SOTP regions were not over-written while perfoming the update.
Juho Eskeli 0:2b6d1f2f42fa 378
Juho Eskeli 0:2b6d1f2f42fa 379 # Flash and static RAM usage
Juho Eskeli 0:2b6d1f2f42fa 380 Default profile, GCC_ARM:
Juho Eskeli 0:2b6d1f2f42fa 381 Total Static RAM memory (data + bss): 30752(+30752) bytes
Juho Eskeli 0:2b6d1f2f42fa 382 Total Flash memory (text + data): 414014(+414014) bytes
Juho Eskeli 0:2b6d1f2f42fa 383
Juho Eskeli 0:2b6d1f2f42fa 384 Default profile, ARM:
Juho Eskeli 0:2b6d1f2f42fa 385 Total Static RAM memory (data + bss): 28742(+28742) bytes
Juho Eskeli 0:2b6d1f2f42fa 386 Total Flash memory (text + data): 413517(+413517) bytes
Juho Eskeli 0:2b6d1f2f42fa 387
Juho Eskeli 0:2b6d1f2f42fa 388 Default profile, IAR:
Juho Eskeli 0:2b6d1f2f42fa 389 Total Static RAM memory (data + bss): 28665(+28665) bytes
Juho Eskeli 0:2b6d1f2f42fa 390 Total Flash memory (text + data): 356185(+356185) bytes
Juho Eskeli 0:2b6d1f2f42fa 391
Juho Eskeli 0:2b6d1f2f42fa 392 Release profile, GCC_ARM:
Juho Eskeli 0:2b6d1f2f42fa 393 Total Static RAM memory (data + bss): 30752(+30752) bytes
Juho Eskeli 0:2b6d1f2f42fa 394 Total Flash memory (text + data): 396433(+396433) bytes
Juho Eskeli 0:2b6d1f2f42fa 395
Juho Eskeli 0:2b6d1f2f42fa 396 Release profile, ARM:
Juho Eskeli 0:2b6d1f2f42fa 397 Total Static RAM memory (data + bss): 28742(+28742) bytes
Juho Eskeli 0:2b6d1f2f42fa 398 Total Flash memory (text + data): 348980(+348980) bytes
Juho Eskeli 0:2b6d1f2f42fa 399
Juho Eskeli 0:2b6d1f2f42fa 400 Release profile, IAR:
Juho Eskeli 0:2b6d1f2f42fa 401 Total Static RAM memory (data + bss): 28658(+28658) bytes
Juho Eskeli 0:2b6d1f2f42fa 402 Total Flash memory (text + data): 323198(+323198) bytes
Juho Eskeli 0:2b6d1f2f42fa 403
Juho Eskeli 0:2b6d1f2f42fa 404 # Dynamic RAM usage (approximate, measurement affects results)
Juho Eskeli 0:2b6d1f2f42fa 405
Juho Eskeli 0:2b6d1f2f42fa 406 Debug profile, GCC_ARM:
Juho Eskeli 0:2b6d1f2f42fa 407 Unable to measure. Out of memory due to measurement mode overhead.
Juho Eskeli 0:2b6d1f2f42fa 408
Juho Eskeli 0:2b6d1f2f42fa 409 Debug profile, ARM:
Juho Eskeli 0:2b6d1f2f42fa 410 Unable to measure. Out of memory due to measurement mode overhead.
Juho Eskeli 0:2b6d1f2f42fa 411
Juho Eskeli 0:2b6d1f2f42fa 412 Debug profile, IAR:
Juho Eskeli 0:2b6d1f2f42fa 413 Unable to measure. Out of memory due to measurement mode overhead.
Juho Eskeli 0:2b6d1f2f42fa 414
Juho Eskeli 0:2b6d1f2f42fa 415 Release profile (max used / available), GCC_ARM:
Juho Eskeli 0:2b6d1f2f42fa 416 56525 / 67552
Juho Eskeli 0:2b6d1f2f42fa 417
Juho Eskeli 0:2b6d1f2f42fa 418 Release profile (max used / available), ARM:
Juho Eskeli 0:2b6d1f2f42fa 419 54613 / 68384
Juho Eskeli 0:2b6d1f2f42fa 420
Juho Eskeli 0:2b6d1f2f42fa 421 Release profile (max used / available), IAR:
Juho Eskeli 0:2b6d1f2f42fa 422 52901 / 65536