THE DIGITAL PORTAL FOR ENGINEERING RELATED KNOWLEDGE.
Some reading here:
the key enabler is the -finstrument-functions option to gcc.
Generate instrumentation calls for entry and exit to functions. Just after function entry and just before function exit, the following profiling functions will be called with the address of the current function and its call site. […]
void __cyg_profile_func_enter (void *this_fn,
void __cyg_profile_func_exit (void *this_fn,
Then adding a debug output with the address, combined with addr2line you can get full trace debugging of the code.
Of course this adds overhead, so is only useful when tracking down an issue or optimizing an application.
type LGR-105 in the search box.
Download and install the LG 360 CAM Viewer and the LGBridge_Setup
Download and install the K-lite Mega pack
Open LG 360 CAM Viewer
Drag video file to viewer and wait a long time.
Converted video will be in the same folder as the source video as Result_xxx.mp4
You can upload this file directly to YouTube.
Using the 360 CAM Manager on the Phone, Go To Camera, then settings. From there you can change the Shutter Delay to 3 or 10 seconds. This way you don't see your finger in the phones when taking photos.
Very Exciting, a new Nordic Semi Conductor release. Finally USB and 802.15.4. This will be one amazing chip to power the world of IIot. Be sure we will be using it. Only sad news is that we will have to wait until Q4 of 2017 before production. Also the nrf52810 seems cool as well.
Nordic Semiconductor today announces the launch of the Bluetooth 5 ready nRF52840 SoC with features and capabilities that redefine the performance envelope of single-chip Bluetooth® low energy applications. The nRF52840 SoC is especially suited to smart home and advanced wearables applications, including wearables for payments and medical, as well as industrial sensor and other Internet of Things (IoT) devices.
The nRF52840 is designed to support the latest Bluetooth wireless technology Core Specification, Bluetooth 5, that will shortly be officially adopted by the Bluetooth Special Interest Group (SIG). Bluetooth 5 introduces longer range and throughput improvements that significantly enhance Bluetooth wireless technology’s suitability for smart home, wearables, and IoT applications. Compliance with the specification, coupled with increased maximum output power, enables the nRF52840 SoC to deliver Bluetooth low energy wireless connectivity with up to 4x the range or 2x the raw data bandwidth (2Mbps) compared with the Bluetooth low energy implementation of Bluetooth 4.2.
In addition to Bluetooth 5 support, the nRF52840 SoC includes IEEE 802.15.4 capability. 802.15.4 wireless technology forms the basis of smart home technologies such as ZigBee and Thread (with additional upper layers not defined by the standard). IEEE 802.15.4 can also be employed as a Network Adaptation Layer with 6LoWPAN and standard Internet Protocols. The nRF52840 SoC’s support for 802.15.4 significantly extends the product’s capability as an interoperable foundation technology for IoT, smart home, or industrial sensor wireless networks using several different wireless technologies.
The nRF52840 SoC has been engineered to build on the mature architecture of Nordic Semiconductor’s existing nRF52 Series of SoCs to support complex Bluetooth low energy and other low-power wireless applications that were previously not possible with a single-chip solution. The nRF52840 SoC employs the proven 64MHz, 32-bit ARM® Cortex™ M4F processor employed on Nordic’s nRF52832 SoC, plus a CPU with ample generic processing power, Floating Point, and DSP performance, to meet the demands of even the most demanding wireless applications.
The nRF52840 SoC’s hardware enhancements compared with Nordic’s existing nRF52832 SoC include a new radio architecture with on-chip PA boosting output power considerably, and extending the link budget for ‘whole house’ applications; a doubling of Flash memory to 1MB and a quadrupling of RAM memory to 256kB; support for Bluetooth 5, 802.15.4, ANT, and proprietary 2.4GHz wireless technologies; a full speed USB 2.0 controller; and a host of new peripherals (many with EasyDMA) including a quad-SPI interface. The nRF52840 can also operate from power supplies above 5V, such as re-chargeable battery power sources.
Designed to address the inherent security challenges that are faced in IoT, the nRF52840 SoC incorporates the ARM® CryptoCell-310 cryptographic accelerator offering best-in-class security for Cortex-M based SoCs. Extensive crypto ciphers and key generation and storage options are also available.
The introduction of the nRF52840 SoC will be accompanied by the release of the S140 SoftDevice, Nordic’s latest addition to its family of RF protocol software ‘stacks’. The S140 SoftDevice is a Bluetooth 5 compliant software stack with support for the long range and high data throughput features of Bluetooth 5.
“The nRF52840 SoC builds on the success of the nRF52 Series but will enable wireless product developers to embark on even more ambitious single-chip smart home, wearables, and IoT applications,” says Thomas Bonnerud, Director, Product Management at Nordic Semiconductor. “The scope of these application areas is developing quickly; wearables are moving towards payment and identification devices. The new Bluetooth 5 long range feature makes Bluetooth a genuine contender for smart home device communication and the nRF52840 is designed to meet and exceed developer expectations. Security cannot be an afterthought in today’s connected products, the consequences can prove disastrous.”
Bonnerud concludes: “With ARM CryptoCell hardware on-chip we are equipping developers with the very best-in-class hardware and software security options to build secure products. The nRF52840 SoC with its hardware enhancements, Bluetooth 5 range and bandwidth improvements, and 802.15.4 support, is the latest embodiment of that intention.”
Nordic will release its S140 SoftDevice and associated nRF5 SDK with support for Bluetooth 5 longer range and high throughput modes upon ratification of the Bluetooth 5 standard in early December.
Engineering samples and development kits will be available to order from Nordic’s global distribution network from December 6th. Production variants of the nRF52840 will be available Q4 2017.
The above image is that of the Super sensor module. We put every good i2c sensor on one board. We are very excited about it. Below is a list of a few things you can do with it.
Above is the nRF52 Core module. We tried to get everything we could on a small board.
We are experimenting with making our PUREmodules compatible with a LEGO block by only using a PCB.
We have a few designs we are testing. if you want to try one out, here is the oshpark link
The general idea here is that you can build modules into your lego creation without tape or glue to keep things in place. By adding one simple Printed Circuit Board, PCB, the modules can plug into the lego adaptor board. Everything should be neat and clean and no wires.
So many IoT operating systems are being released. Here is a list of the few popular ones.
Each has its strengths and weakness, Different licences, Support for different hardware, etc. So it is hard to choose. I can't give you an simple answer, it will eventually come down to your application, and what you know and what kind of support you need.
First you need to install some software:
GCC ARM Embedded: https://launchpad.net/gcc-arm-embedded get the x_win32.exe installer
Mingw MSYS: http://www.mingw.org/wiki/msys easiest way is just get the installer here you can also download Mingw and add on MSYS.
Next install both, make sure in get MSYS.
Next Add the tools to your path for my system it came out as C:\Program Files (x86)\GNU Tools ARM Embedded\4.8 2014q2\bin and C:\MinGW\msys\1.0\bin
In most cases you need to have the msys path before %SystemRoot%\system32;%SystemRoot% stuff.
If all went well, then all you need to do is type make or make all and everything will build nice and easy
In terms of an IDE, I typically go with no IDE. I prefer using VI. so on windows i use gvim. download here gvim74.exe
Although you can just use Eclipse and select an external makefile when you import a project.
Just put together a simple board that takes the lowest cost esp8266 and provides an easy way to program them boards using a FTDI cable. Also comes with a 3.3V regulator.
The goal of this board is to control a strip of APA102C led over wifi. An external 2.1/5.5mm 5V power source will power the board and the strand of leds.
The GPIO0 and GPIO2 will controll the DO and CO lines of the led strand.
Untested as of yet, but have some boards on order now.
Order a Board Here if you want.https://www.oshpark.com/shared_projects/BwvBsdqV
Here is a source of the APA102C