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

 

 

 

 

 

 

 

 

 

 

P a g e  

9 | 13

 

 

10.

 

From the Options dialog, select the C/C++ tab. At this point, you will add a new define to the project call 

_ULINK_PRINT

. This is added to the end of the 

Preprocessor Symbols 

Define

 

filed as shown: 

 

 

Updating the Project Files 

Because debug/information output is sent to the 

Debug 

(printf) viewer

 when using the ULINK, you need to include 

new files into the project that will accomplish this.  

These files redefine two macros, PRINTF and PUTS, which 
are implemented differently for either OpenSDA or ULINK.  

To add these two files go to the 

Project

 window, right click 

the 

Source Files

 selection, and select 

Add Existing File to 

Group. 

From within the dialog box that opens, select 

itm_output.cpp

 

 

 

 

 

 

 

 

Содержание 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...

Отзывы: