Page 1 of 1
"Offset is invalid" SensorTag 2.0 CC2650
Posted: 13:17, 15 Jun 2015
by danneeson
Hej
I have a problem when using the SensorTag Sensors project. If I use a SensorTag from factory, it works perfectly. But when I download the latest available firmware from TI and flashes it to the SensorTag, the Evo App states "Error: Offset is invalid". I am using the ambient light sensor primarily.
The CC2650 Demo works on both devices without problem.
Please advise.
//Daniel
Re: "Offset is invalid" SensorTag 2.0 CC2650
Posted: 09:48, 16 Jun 2015
by Fredrik
We have not yet encountered this issue ourselves, but we will investigate. Stay tuned for further replies.
In the meantime, you may, if you like, try debugging the app by yourself.
Re: "Offset is invalid" SensorTag 2.0 CC2650
Posted: 14:00, 16 Jun 2015
by Fredrik
I've now run all three of our CC2650 examples on a SensorTag 2, with firmware 1.01, using both an iPhone 6+ with iOS 8.3 and a Motorola Nexus 6 with Android 5.1.1. Nowhere could I find your error message.
There is a known issue where the accelerometer stops transmitting data, but I don't think that was your problem.
TL;DR: Could not reproduce.
Re: "Offset is invalid" SensorTag 2.0 CC2650
Posted: 15:13, 25 Jun 2015
by danneeson
FYI, answer from TI that solved the issue perfectly
:
"The current CCS project is missing a VERSION compiler preprocessor symbol, causing the iOS application to not work properly with OAD and the Android app to crash.
This causes an invalid firmware revision string to be flashed on the device due to this code snippet in devinfoservice-st.c
static const uint8_t devInfoFirmwareRev[] = TOSTRING(VERSION)" ("__DATE__")";
To fix this you need to open the SensorTag application properties, goto Build>Arm Compiler> Advanced Options>Predefined symbols and add:
VERSION=1.0
Best regards,
Svend"