Telit WL865E4-P GNU User Manual

WL865E4-P GNU Debugger User Guide
1VV0301690 Rev 1 – 2020-11-03
WL865E4-P GNU Debugger User Guide
1VV0301690 Rev 1 Page 2 of 27 2020-11-03
Table of Contents
WL865E4-P GNU Debugger User Guide
1VV0301690 Rev 1 Page 3 of 27 2020-11-03

1. PRE-REQUISITES

J-Link USB Hardware
J-Link Segger USB driver software
WL865E4-P Module

2. DOWNLOAD AND INSTALL SEGGER

J-Link JTAG: J-Link is an USB-based JTAG debugger used by flash and the debug scripts are provided in the SDK.
The drivers for J-Link USB interface can be downloaded from:
https://www.segger.com/downloads/jlink
To download Setup_JLink_V502h.exe of version, Goto “Downloads” → “ J-Link/J-Trace” → “J-Link Software and Documentation Pack” → “Click for Downloads” → “J-Link
Software and Documentation pack for Window” → from the “version” Tab download
“Setup_JLink_V502h.exe” version software and install.
WL865E4-P GNU Debugger User Guide
1VV0301690 Rev 1 Page 4 of 27 2020-11-03

3. GNU DEBUGGER REQUIREMENTS

The drivers for J-Link USB interface can be downloaded from:
https://www.segger.com/downloads/jlink as shown below:
Goto DownloadsJ-Link/J-TraceJ-Link Software and Documentation PackClick for DownloadsJ-Link Software and Documentation pack for Window→from the “version” Tab download Setup_JLink_V502h.exe version software and install.
WL865E4-P GNU Debugger User Guide
1VV0301690 Rev 1 Page 5 of 27 2020-11-03
WL865E4-P GNU Debugger User Guide
1VV0301690 Rev 1 Page 6 of 27 2020-11-03

4. SET PATH TO JLINK GDB SERVER

After installation, add the path to JLinkGDBServer. For example if there is JLinkGDBServer.exe in C:\Program Files (x86)\SEGGER\JLink_V502h folder, then, set path as follows.
set %PATH%=%PATH%:C:\Program Files (x86)\SEGGER\JLink_V502h
WL865E4-P GNU Debugger User Guide
1VV0301690 Rev 1 Page 7 of 27 2020-11-03

5. HARDWARE SETUP TO CONNECT J-LINK DEBUGGER

WL865E4-P GNU Debugger User Guide
1VV0301690 Rev 1 Page 8 of 27 2020-11-03

6. BUILD PROJECT WITH DEBUG MODE ENABLED BINARY

Build the application with DEBUG mode by configuring BUILD_TYPE=DEBUG in export.mk file which is available in the project root directory. Default value will be RELEASE.
WL865E4-P GNU Debugger User Guide
1VV0301690 Rev 1 Page 9 of 27 2020-11-03

7. PROGRAM THE MODULE

1 Configure the module in Program Mode 2 Check the Programming USB port from the Device Manager 3 Drag and drop the single image “Test_Azure.bin” in this example on to the “AppZone
WiFi Console”
Loading...
+ 18 hidden pages