I-SYST Debugging and Flashing Firmware with Eclipse IDE User Manual

June 6, 2024
I-SYST

MANUAL GUIDE
Firmware debugging with Eclipse
Version 1.0

Revision history

Version Date Note Contributor(s) Approver
1 12 May 2021 Initial version Nguyen Hoang Hoan 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 how to debug and flash the firmware with Eclipse IDE and Iosonata which was installed in the Installation guide “Eclipse IDE in firmware development with IOsonata”.

Debugging and Flashing Firmware with Eclipse IDE

Connect IDK-BLYST-NANO to your computer.

Debugging Firmware with OpenODC

We will start with Blinky Project as an example.
Select Blinky Project, Right-click select Debug Configuration

Double click on GDB OpenOCD Debugging
In the Main tab, at C/C++ Application click Search Project

Select Blinky. elf

In the Debugger tab, set Config options
-f “interface/cmsis-dap.cfg”
-f “target/nrf52.cfg”
Browse the OpenOCD executable file and ARM GDB executable file.
Click Debug

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 the Run button to run the firmware on your device

Debugging and Flashing BleAdvertiser Firmware

BleAdvertiser requires NRF SDK softdevice components so we have to flash softdevice first. 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:
$.\IDAPnRFProg.exe D:\i_syst\external\nRF5_SDK\components\softdevice\s132\hex\s132_nrf52_7.2.0_softdevice.hex

After flashing Bluetooth Low Energy Module in IDK-BLYST-NANO with IDAPnRFProg, we can now debug and flash firmware BleAdvertiser on IDK-BLYST-NANO

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals