Keil ULINKpro Скачать руководство пользователя страница 3

 

 

 

 

 

 

 

 

 

 

P a g e  

2 | 13

 

 

Overview 

The purpose of this paper is to discuss and demonstrate how to use the ARM Keil MDK toolkit with μVision® IDE 
with the Avnet-AT&T Cellular IoT Kit at http://cloudconnectkits.org/product/att-cellular-iot-starter-kit.  

The paper uses the Avnet-AT&T Cellular IoT Kit software which is located at 
https://developer.mbed.org/users/JMF/code/Avnet_ATT_Cellular_IOT/ and focuses on how to connect the 
ULINK

pro

 JTAG debugger to the hardware, what to modify in the software, and how to configure the μVision IDE.  

Additional information on the ULINK tools & Keil Environment can be found in the following App Notes from Keil, 
NXP K64 Freedom

www.keil.com/appnotes/docs/apnt_287.asp

 and NXP K64 Tower: 

www.keil.com/appnotes/docs/apnt_288.asp

. 

Why Use Keil MDK?  

Development on the NXP/FRDM-K64F is simplified for users by having OpenSDA tools pre-installed when it is 
delivered. While this environment is suitable for many development activities, it lacks the hardware and 
performance specific capabilities that a 

USB-JTAG/SW Debug and Trace Unit provide. Using the Keil μVision IDE 

and 

ULINK

pro 

environment, users enjoy the following:

  

 

A μVision  IDE with Integrated Debugger and Flash programmer 

 

The ARM® Compiler tool chain  

 

USB-JTAG Debugging (and/or Serial Wire Debug) with CoreSight™ Serial Wire Viewer and ETM trace 
capability  

Other Keil tools such as ULINK2 and ULINK-ME and the Segger J-Link can be used in place of the ULINK

pro 

but 

these units do not support the ETM, Performance Analysis, and Code Coverage features.  

Finally, being able to switch between the online development at mbed.org and the ARM/Keil environment is the 
goal of this paper. While integrating the Avnet WNC-Shield board, more extensive hardware debug capabilities 
were needed which drove the need for this capability.  

ULINK

pro 

features 

The specific features of the ULINK

pro 

that were needed are as follows: 

1.

 

Serial Wire Viewer (SWV) data trace including exceptions and ETM instruction trace  

2.

 

Real-time read and write to memory locations for watch, and memory windows 

3.

 

Hardware breakpoints and watchpoints (also called access breaks) 

Introduction to the MDK 

This paper uses MDK 5.20 and Software Pack 1.4.0. Install MDK 5 Core first and then download the required 
Software Packs. Software Packs are an ARM CMSIS standard

1

.  

 

 

                                                                 

1

  See 

www.keil.com/CMSIS

 o

www.keil.com/dd2/pack

 for the complete list of software packs. 

Содержание ULINKpro

Страница 1: ...Using Keil ULINKpro with the AT T Cellular IoT Starter Kit Make problems easier to solve with the right tools...

Страница 2: ...s 3 Locate Install the IoT Operational Software 4 Import into Keil IDE 5 Connecting and Configuring Debug Adapter 5 Configuring Vision v5 7 Updating the Project Files 9 Modifying IoT Software for ULIN...

Страница 3: ...ro environment users enjoy the following A Vision IDE with Integrated Debugger and Flash programmer The ARM Compiler tool chain USB JTAG Debugging and or Serial Wire Debug with CoreSight Serial Wire V...

Страница 4: ...net Vision and software packs will automatically start Otherwise connect your computer to the Internet to download the software packs and start Vision by clicking the desktop icon Initially the pack l...

Страница 5: ...IoT Operational Software The following assumes you are working with the Avnet AT T Cellular IoT Kit software 1 Export from developer mbed org 2 Open your browser and navigate to https developer mbed...

Страница 6: ...onfiguring Debug Adapter The ULINKpro supports all SWV features and has ETM Trace support It also provides Flash programming capabilities NOTE When you use the flash programming capabilities the FRDM...

Страница 7: ...the ULINKpro unit and any pin plugs removed connect the cable to the J9 JTAG connector shown circled below Note the location of Pin 1 will correspond to Pin 1 on the connector the plug is not keyed Wh...

Страница 8: ...der the Project menu or button 1 Enter the Debug tab From the Options tab modify the Debug Linker and C C tabs 2 From the Use selector choose ULINKpro Cortex Debugger highlighted The software connects...

Страница 9: ...are not used at this time NOTE The Core Clock should be set to 120 0 MHz to match the operating environment to ensure the timing values in various trace windows are correct 7 Return to the Options dia...

Страница 10: ...g information output is sent to the Debug printf viewer when using the ULINK you need to include 2 new files into the project that will accomplish this These files redefine two macros PRINTF and PUTS...

Страница 11: ...ou enable the automatic inclusion of itm_output h file This file contains the ITM addresses and functions needed to output to the Debug printf viewer If _ULINK_PRINT is not selected it defaults to the...

Страница 12: ...en similar to the following appears 2 Click the Run F5 button to run the program In the Debug printf Viewer the debug information appears Note If the SiSensor board is not installed it will report the...

Страница 13: ...oard as previously described For additional information on using the Keil tools and ULINKpro JTAG refer to the References section Useful Definitions Terms Instrumentation Trace Macrocell ITM As used b...

Страница 14: ...ect to Keil MDK 4 www keil com appnotes docs apnt_207 asp MDK ARM Compiler Optimizations www keil com appnotes docs apnt_202 asp GNU tools GCC for use with Vision https launchpad net gcc arm embedded...

Отзывы: