2019-03-21 10:32 PM
Compiling the BLE_SensorDemo sources in True Studio does not generate the same .hex as the precompiled .hex provided in the "Firmware" directory. The precompiled .hex works with the BLE Sensor app when loaded onto the BlueTile, but the .hex compiled from sources does not. When comparing both .hex files, they appear to be mostly identical except for about 200 lines of data at the beginning of the precompiled .hex that does not exist in the .hex generated in True Studio. It seems like there are either issues with some of the source files or project settings and it is not clear to me what needs to be corrected.
Solved! Go to Solution.
2019-03-24 01:09 AM
After comparing/analyzing the .hex files more closely, I realized that the data missing from the compiled sources is the bootloader code in the RESET section. I discovered that the "BLE Reset Manager" project compiles to generate the missing hex data. If I load the "BLE Reset Manager" hex first, followed by the "BLE Sensor Demo", the Blue Tile works with the app as expected. However, the pre-compiled hex provided in the "Firmware" directory contains program data for both projects in a single hex file.
2019-03-24 01:09 AM
After comparing/analyzing the .hex files more closely, I realized that the data missing from the compiled sources is the bootloader code in the RESET section. I discovered that the "BLE Reset Manager" project compiles to generate the missing hex data. If I load the "BLE Reset Manager" hex first, followed by the "BLE Sensor Demo", the Blue Tile works with the app as expected. However, the pre-compiled hex provided in the "Firmware" directory contains program data for both projects in a single hex file.