Using Keil™ ULINKpro with the AT&T® Cellular IoT Starter Kit
Make problems easier to solve with the right tools…
Page 1: ...Using Keil ULINKpro with the AT T Cellular IoT Starter Kit Make problems easier to solve with the right tools...
Page 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...
Page 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...
Page 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...
Page 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...
Page 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...
Page 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...
Page 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...
Page 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...
Page 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...
Page 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...
Page 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...
Page 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...
Page 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...