Difference between revisions of "IS2083 Getting Started"
(→Debug session) |
(→Debug session) |
||
Line 68: | Line 68: | ||
* Connect to the PC |
* Connect to the PC |
||
* Wait until the green LED of J-Link becomes steady and stops blinking |
* Wait until the green LED of J-Link becomes steady and stops blinking |
||
+ | * Download the Microchip BM83 SDK application sample project from Microchip |
||
− | * Download the uVision test project: [https://download.segger.com/Alex/tmp/BT5511/JLink_TestProject.zip Download] |
||
− | * Open |
+ | * Open project in uVision |
* Go to the project options |
* Go to the project options |
||
* Verify that your options look like as follows: |
* Verify that your options look like as follows: |
Revision as of 17:50, 21 February 2019
The IS208x series is an 8051 based device from Microchip that is designed for low power Bluetooth applications.
Contents
J-Link support
J-Link supports the Microchip IS208x series devices. For an overview which min. hardware of J-Link is required for support, please refer to the feature overview.
Hardware connection to BM83 EVB
J-Link uses the Microchip 2-wire JTAG protocol to communicate with the IS208x MCU. This protocol specifies the following pins which are all mandatory to connect:
- RESET (mandatory to enable 2-wire JTAG protocol on the IS208x)
- VTref (used as reference voltage by J-Link to adapt to different CPU operating voltages)
- GND
- bi-directional data pin
- clock (provided by J-Link)
On the BM8x EVB connector J301 is used to connect J-Link to the IS208x MCU.
We recommend to use the J-Link Microchip 2-Wire JTAG TDI Adapter to connect J-Link to J301.
J301 pin | J-Link pin |
---|---|
1 | 15 (RESET, blue) |
2 | 1 (VTref, red) |
3 | 4 (GND, black) |
4 | 5 (TDI, green) |
5 | 9 (TCK, yellow) |
Verifying connection with J-Link Commander
J-Link Commander (JLink.exe from the J-Link package) can be used to verify the connection between J-Link and the IS208x device.
- Download the latest J-Link software: Download
- Start J-Link Commander (JLink.exe)
Supported IDEs and debuggers
Currently, the IS208x is only supported in J-Link Commander and Keil uVision for PK51. Other utilities (J-Flash, ...) / IDEs etc. do not support this device series.
Debugging with Keil PK51 tools
Video
The following shows a short video that demonstrates debugging with J-Link under Keil PK51 tools.
Setup
- Download and install Keil C51/PK51 tools V9.59 or later: Download
- Download the J-Link package: Download
- Make sure uVision is NOT started before continuing.
- Go to Keil installation directory
- Open TOOLS.INI in text editor and add the following line (if TDRV10 already exists, use the next available number/entry):
TDRV10=BIN\JLinkBT5511.dll ("J-Link / J-Trace BT5511 Driver")
- Navigate to BIN\
- Copy the following files from the J-Link package to this directory:
- JLinkBT5511.dll
- JLinkARM.dll
Debug session
- Connect to the PC
- Wait until the green LED of J-Link becomes steady and stops blinking
- Download the Microchip BM83 SDK application sample project from Microchip
- Open project in uVision
- Go to the project options
- Verify that your options look like as follows:
- 'Device' tab:
- 'Debug' tab:
- Click on 'Settings'
- 'Settings' dialog
- Connect your target HW to J-Link (via J-Link Microchip 2-wire JTAG TDI adapter)
- Rebuild the application (Project -> Rebuild all target files)
- Start a debug session by clicking the "debug" symbol (Ctrl + F5)1
- Happy debugging!
1 If you are asked if you want to update the J-Link firmware, please hit YES.