Microchip Technology IS2083 Series User Manual

Microchip Technology IS2083 Series User Manual

Sdk debugger
Hide thumbs Also See for IS2083 Series:

Advertisement

Quick Links

IS2083
IS2083 SDK Debugger User's Guide

Introduction

This document describes how to use the SEGGER JLINK debugger to enable software debugging of 8051 MCU core
that is part of the IS2083BM. The SEGGER debugger makes use of IS2083BM 2-wire JTAG interface to download
8051 firmware images into IS2083BM SQI flash. It then controls the IS2083BM SQI CPU register to provide
debugging features. The following chapters describe the software and hardware prerequisites, setup and procedure
to enter the Debugging mode.
User Guide
DS50002892A-page 1
©
2019 Microchip Technology Inc.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IS2083 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Microchip Technology IS2083 Series

  • Page 1: Introduction

    8051 firmware images into IS2083BM SQI flash. It then controls the IS2083BM SQI CPU register to provide debugging features. The following chapters describe the software and hardware prerequisites, setup and procedure to enter the Debugging mode. User Guide DS50002892A-page 1 © 2019 Microchip Technology Inc.
  • Page 2: Table Of Contents

    Document Revision History........................18 The Microchip Website..........................19 Product Change Notification Service......................19 Customer Support............................19 Microchip Devices Code Protection Feature....................19 Legal Notice..............................19 Trademarks..............................20 Quality Management System........................20 Worldwide Sales and Service........................21 User Guide DS50002892A-page 2 © 2019 Microchip Technology Inc.
  • Page 3: Quick References

    • J-Link Commander (folder path: \Software\Debugger Support\Commander) – An executable command prompt to check if J-Link probes can communicate with the IS2083BM. Hardware Prerequisites • SEGGER J-Link Debug Probe User Guide DS50002892A-page 3 © 2019 Microchip Technology Inc.
  • Page 4 – J-Link PRO, J-Link ULTRA+, J-Link PLUS and J-Link BASE. • BM83 EVB – BM83 EVB provides a two-wire JTAG interface to communicate with the IS2083BM. • J-Link 6-pin adapter from Microchip User Guide DS50002892A-page 4 © 2019 Microchip Technology Inc.
  • Page 5 IS2083 Quick References Figure 1-2. J-Link 6-pin Adapter User Guide DS50002892A-page 5 © 2019 Microchip Technology Inc.
  • Page 6: Software Setup

    This turns the J-Link LED to steady green. Perform the following steps for debug settings: Launch Keil μVision and double click MSPKv2_Application_IS2083B.uvproj and Keil uVision automatically loads these SDK project files: – MSPKv2_App_Pbap – MSPKv2_App_MSPK – MSPKv2_App_Basic User Guide DS50002892A-page 6 © 2019 Microchip Technology Inc.
  • Page 7 In the Debug tab, select the highlighted parameters for setup. Replace S8051.DLL with -cIS208x and DP51.DLL with -pIS208x. Load the InitSession.ini file in “Initialization File” and select the “Load Application Setup” checkbox. User Guide DS50002892A-page 7 © 2019 Microchip Technology Inc.
  • Page 8 IS2083 Software Setup Figure 2-3. Options for Target Click the Settings button. Select “Speed” as 12000 kHz and deselect the checkbox "Compare before download". Click OK. User Guide DS50002892A-page 8 © 2019 Microchip Technology Inc.
  • Page 9 IS2083 Software Setup Figure 2-4. Debug Settings To build the application and start a debug session, click . Keil μVision is now ready to debug the IS2083BM device. User Guide DS50002892A-page 9 © 2019 Microchip Technology Inc.
  • Page 10: Sdk Settings

    JTAG program and debug feature. For information on which SDK features are included in MSPKv2_App_MSPK_Debug project, see the IS2083 SDK User's Guide, Section 2.2, and Table 2-1. Figure 2-6. Target Build User Guide DS50002892A-page 10 © 2019 Microchip Technology Inc.
  • Page 11: Hardware Connection

    Connect the J-Link, BM83 EVB, and 6-pin adapter as shown in the following figures. Figure 3-1. J-Link Probes to BM83 EVB Connection Be sure to have the correct orientation while inserting the 6-pin adapter to a BM83 EVB. User Guide DS50002892A-page 11 © 2019 Microchip Technology Inc.
  • Page 12 In order to use Embedded mode, please connect P2_6 of JP309 to P1_3 of JP402, P2_3 of JP309 to P1_2 of JP402. Then IS2083BM can communicate with ST codec over SW I2C. User Guide DS50002892A-page 12 © 2019 Microchip Technology Inc.
  • Page 13 IS2083 Hardware Connection Ensure that RST_N of SW402 on BM83 EVB is connected to the BM83 module. J-Link uses this pin to reset the debugger. Figure 3-3. RST_N Connection to BM83 Module User Guide DS50002892A-page 13 © 2019 Microchip Technology Inc.
  • Page 14 J-Link 6pin Connector BM83 IS2083BM Description Pin1 Pin43, RST_N RST_N Reset IS2083BM Pin2 3V3_IO 3V3 power Pin3 Ground Ground Ground Pin4 Pin46, TDI_CPU TDI_CPU Data Pin5 Pin47, TCK_CPU TCK_CPU Clock Pin6 Not used User Guide DS50002892A-page 14 © 2019 Microchip Technology Inc.
  • Page 15: Start Debugging

    During debugging, 8051 MCU will be halted, once the program counter hits the breakpoint. Program ROM is suspended and the Bluetooth connection is dropped simultaneously. User Guide DS50002892A-page 15 © 2019 Microchip Technology Inc.
  • Page 16 The following example shows how to add a breakpoint in the function App_init. When the user runs the debugger, it stops at line94 and Keil μVision provides the local variable of APP_init at the right-hand side. The user can investigate the global variable by using the Watch window. User Guide DS50002892A-page 16 © 2019 Microchip Technology Inc.
  • Page 17 IS2083 Start Debugging Figure 4-2. Watch Window User Guide DS50002892A-page 17 © 2019 Microchip Technology Inc.
  • Page 18: Document Revision History

    IS2083 Document Revision History Document Revision History Revision Date Section Description 07/2019 Document Initial Revision User Guide DS50002892A-page 18 © 2019 Microchip Technology Inc.
  • Page 19: The Microchip Website

    Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with User Guide DS50002892A-page 19 © 2019 Microchip Technology Inc.
  • Page 20: Trademarks

    The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks of Microchip Technology Inc. in other countries. GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
  • Page 21: Worldwide Sales And Service

    New York, NY Tel: 46-31-704-60-40 Tel: 631-435-6000 Sweden - Stockholm San Jose, CA Tel: 46-8-5090-4654 Tel: 408-735-9110 UK - Wokingham Tel: 408-436-4270 Tel: 44-118-921-5800 Canada - Toronto Fax: 44-118-921-5820 Tel: 905-695-1980 Fax: 905-695-2078 User Guide DS50002892A-page 21 © 2019 Microchip Technology Inc.

This manual is also suitable for:

Is2083bm

Table of Contents