- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the SDK, I copied the WICED_Sense folder under 'Apps' to another folder under Apps, which I called AC_WICED_Sense. Then I created another make target named AC_WICED_Sense, and hacked the code:
In wiced_sense.h, I changed all 'Features' from 1 to 0. (Top 15 or so lines of the file.)
It seems to build and download my AC_WICED_Sense app ok, but all the sensors are still working (I can view them in the demo phone app). In other words, I think it is SAYING that my modified code was downloaded, but I don't think it is running my code on the device.
What gives? I just want to make sure it really is my code that is running, so I can then go play with the LEDs and buzzer and things.
Any ideas?
-AC
Solved! Go to Solution.
- Labels:
-
WICED Sense
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After building the firmware and downloading it via usb to the device, what do I have to do to insure the code is running?
There seems to be some sequence of 'reset' button, usb unplug, etc...etc... that I need to do to reboot the device.
Sometimes when I build and download it, it starts running. But if I then repeat the same build and download it reports a 'not a recognized device' error.
-AC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes what you have done is correct, the WICED sense firmware has the code architecture for the sensors to be shut off, but the hardware is not designed to do that. So on changing those options you would still read the sensors value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After building the firmware and downloading it via usb to the device, what do I have to do to insure the code is running?
There seems to be some sequence of 'reset' button, usb unplug, etc...etc... that I need to do to reboot the device.
Sometimes when I build and download it, it starts running. But if I then repeat the same build and download it reports a 'not a recognized device' error.
-AC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
At this point, you will now need to make sure the WICED Sense EVB is placed into programming mode (in Application Mode by default). Follow the guidance in the thread here: Re: Hackathon - Embedded Tips and Tricks
Note that some have gotten this to work by holding the wake button for 3 seconds, but I had to crack the kit open and hit reset to get the part into programming mode.
This is a very common issue.
You can use one of the available BLE Explorers to verify using your smartphone that the app is running.