PUREmodules
Check out the main page www.PUREmodules.com
PUREmodules were designed around the Modular Sensor Architecture to make hardware prototypes faster, simpler and easier. Our goal is to build an ecosystem of hardware that utilizes the Open Architecture as a launching point for your next project.
PureModules Quick Start Guide:
Click this link for the PureModules Quick Start Guide. This tutorial will show you the out of box functionality of the CoreModule-SuperSensor system.
PureModules Setup for Developers:
Windows Development links
Some tools are needed to begin working with PureModules.
-Follow this tutorial for setting up GCC and MinGW/MSYS.
MAC Setup Tools:
https://aaroneiche.com/2016/06/01/programming-an-nrf52-on-a-mac/
Code Setup
Once the tools are setup, click this link to download and setup the code, sdk and libraries.
Flashing the CoreModule over Bluetooth (DFU)
Follow this tutorial for steps to creating your own DFU package.
Eclipse Setup for PureModules
Setup Eclipse for your next PureModules project using this tutorial.
How to add PureModules to any NRF52 Project
Follow this link for a tutorial on how to add PureModules to any NRF52 project in the Nordic SDK.
PureModules Setup for Arduino
Arduino Examples
Super Sensor Arduino Sample Code
https://github.com/PureEngineering/PUREmodules
Arduino Setup for nrf52 Core module
https://github.com/sandeepmistry/arduino-nRF5
Nordic Tools
Download and install SDK
https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF5-SDK
JLink Drivers
https://www.segger.com/downloads/jlink
nRF5x-Command-Line-Tools-Win32
on the command line you can flash hex onto the board via the following command
"nrfjprog --chiperase --program YOURAPPHERE.hex -f NRF52"
SDK setup
modify C:\nRF5_SDK\components\toolchain\gcc\Makefile.windows to point the the right version of GCC
example for version 5.4.0 arm gcc tools this is what it will look like
GNU_INSTALL_ROOT := C:/Program Files (x86)/GNU Tools ARM Embedded/5.4 2016q3
GNU_VERSION := 5.4.0
GNU_PREFIX := arm-none-eabi
Softdevice
You will need a softdevice with your hex file if you are using the BLE stack from nordic, the simplest way to to this is with merging the softdevice and your hex, then you can flash just one hex file.
mergehex -m %SOFTDEVICE_NAME% %APP_NAME% -o %MERGE_NAME%
Here is what my bat file looks like for flashing code:
mergehex -m C:\nRF5_SDK\components\softdevice\s132\hex\s132_nrf52_3.0.0_softdevice.hex ./_build/nrf52832_xxaa.hex -o nrf52832_s132.hex
nrfjprog --chiperase --program nrf52832_s132.hex -f NRF52 -r
Bootloader
Notes posted here: nrf52_secure_bootloader
Links
http://hackaday.com/2016/12/25/pure-modules-aim-to-make-prototyping-easier/
http://hackerboards.com/iot-prototyping-kit-offers-bluetooth-sensors/
https://hackaday.io/project/12808-pure-modules
http://www.instructables.com/id/PUREmodules-How-to-Make-Your-Own-Module/
http://www.electronics-lab.com/puremodules-iot-building-blocks/