i-SYST M3225 Bluepyro Module User Guide

June 6, 2024
I-SYST

i-SYST M3225 Bluepyro Module User Guide logo

i-SYST M3225 Bluepyro Module User Guide

Revision history

Version Date Note Contributor(s) Approver
1.0 15 April 2021 Initial version Ho Manh Tai Nguyen Hoang Hoan

Copyright © 2019 I-SYST, all rights reserved.3514, 1re Rue, Saint-Hubert, QC., Canada J3Y 8Y5 This document may not be reproduced in any form without, express written consent from I-SYST.

 Introduction

This document shows step-by-step to install Android Studio to develop Android apps with Bluepyro-M3225
Required components
The following are needed for a full development environment Bluepyro-M3225:

  • Android Studio
  • Eclipse
  • Download source code Android app and firmware at I-SYST/BluePyro: BluePyro (github.com)

 Installation

Install Android Studio
Download and install Android Studio to develop Android apps using Bluepyro-M3225 at the following link: https://developer.android.com/studio/ Download Android Studio and SDK tools | Android Developers
Follow the link below to install Android Studio: https://developer.android.com/studio/install Install Android Studio | Android Developersi-SYST M3225 Bluepyro Module User Guide-fig1i-SYST M3225 Bluepyro Module User Guide-fig2i-SYST M3225 Bluepyro Module User Guide-fig3

 Create new virtual device

After finishing installation Android Studio, create a new Android virtual device in AVD Manageri-SYST M3225 Bluepyro Module User Guide-
fig4

 Import Android Project

Download source code Android app at https://github.com/I-SYST/BluePyro Import Android project BluePyroi-SYST M3225 Bluepyro Module User Guide-
fig5

 Run the Bluepyro-M3225 Android App Project with new Virtual device

i-SYST M3225 Bluepyro Module User Guide-fig6i-SYST M3225 Bluepyro Module User Guide-fig7

 Run on real Android device

Now it’s ready to run on your Android device to test with Bluepyro-M3225. Connect your Android device and run the project on your device.Test the Bluepyro-M3225 device with Bluepyro app on your device. Now you are freely to develop any android apps with Bluepyro-M3225.i-SYST M3225 Bluepyro Module
User Guide-fig8

  Bluepyro-M3225 Firmware development with Eclipse IDE

Please read the installation guide “Eclipse IDE in firmware development with Iosonata” for Eclipse installation at Eclipse IDE in firmware development with IOsonata | I-SYST’s Site.
In this section, we will show how to manually develop Bluepyro-M3225 Firmware by Eclipse.
Download Bluepyro-M3225 Firmware
Download source code Bluepyro-M3225 firmware at: https://github.com/I-SYST/BluePyro
Import firmware projects to Eclipse
Select Open Projects from File System in File menu Located the Bluepyro-M3225 Firmware directory.i-SYST M3225 Bluepyro Module User Guide-
fig9

 Build Bluepyro-M3225 Firmware Projects

i-SYST M3225 Bluepyro Module User Guide-fig10

You may need to add some more libraries Right click on Bluepyro Project, select Project Properties→ C/C++ General→ Paths and Symbols→ Includes tab. Click Add button: Add directory path, select File systemi-SYST M3225
Bluepyro Module User Guide-fig11i-SYST M3225 Bluepyro Module User Guide-
fig12

Right click on Bluepyro-M3225 Firmware project, select Build Project . Now you can build and manually develop Bluepyro-M3225 Firmware by yourself.

Connect Bluepyro-M3225 device

i-SYST M3225 Bluepyro Module User Guide-
fig13

Prepare Bluepyro-M3225 development kit as the figure above include Bluepyro-M3225 board, IDAP-Link.i-SYST M3225 Bluepyro Module User Guide-
fig14v

 Debug Configurations

In order to debug the Bluepyro-M3225 firmware, we have to set the Debug Configurations as following: In the Main tab, select C/C++ Application by clicking Search Project. Select BluePyro.elf file.i-SYST M3225 Bluepyro
Module User Guide-fig16

In the Debugger tab, set the Executable by browsing to the OpenOCD executable file.

Set the Config Option: – f “interface/cmsis-dap.cfg”- f “target/nrf52.cfg”

i-SYST M3225 Bluepyro Module User Guide-fig17

Then click Debug button.i-SYST M3225 Bluepyro Module User Guide-
fig18

After you start the debugger, it will stop at main(). Now you can debug the firmware by clicking the step button (F5, F6) to trace your source code line by line.

Flashing Firmware

Click Run button to run the firmware on your device.
Note:Make sure that the softdevice is flashed first. Using Use IDAPnRFProg to flash NRF softdevice using IDAP-Link. Download here IDAP-Link/M – Browse /Windows at SourceForge.net
Run IDAPnRFProg by following command line:

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals