background image

6. Start the Debug Environment of KEIL MDK-ARM 4.54 or later

• Press Download and Debug

• Start the debug session selecting Debug, Run or pressing

• Demo of Red Green Led Color Changing should start

• Press “Break” button         to pause the demo (stop code execution)

• Press “Reset” button            if you want to restart program execution since the beginning

Quick Start Guide

• Press “Run” button            to restart the code execution

• Press “Start/Stop” Button           to leave the debug session and go back to Project

Edition Mode 

Preliminary 

Summary of Contents for FRDM-KL25Z

Page 1: ...g on the information therein All referenced brands product names service names and trademarks are the property of their respective owners 00000005981LF 000 EOS Power Buy Now We have 45 000 LP502030 PCM NTC LD A02554 EEMB Lithium Battery Rectangular 3 7V 250mAh Rechargeable in stock now Starting at 0 034 This EEMB part is fully warrantied and traceable 1 855 837 4225 Give us a call International 1 ...

Page 2: ...Quick Start Guide FRDM KL25Z Freescale Freedom Development Platform for the Kinetis L Series KL25 Family Preliminary Document Final version will be available September 25th ...

Page 3: ...ck Start Guide Reset Touch Pad Freescale KL25Z128VLK4 KL25 USB Connector 3 3V LDO Jumper J4 Reset Switch Touch Pad Slider OpenSDA USB Connector Freescale MMA8451Q Accelerometer RGB LED 8MHz Oscillator Arduino I O Header Preliminary ...

Page 4: ...oards providing engineers the freedom to connect to a broader range of expansion boards to achieve even greater technological breakthroughs FRDM KL25Z Hardware Features technological breakthroughs FRDM KL25Z Hardware Features Easy access to MCU I O with a tri color LED Touch sensing interface with a touch pad slider Battery ready low power operation Power measurement access points I2C to Low g sen...

Page 5: ...loaded in the board so when you will connect for the first time FRDM KL25Z a Freescale MSD USB Device will be detected and the right driver should automatically installed by Windows then an at http www pemicro com opensda 2 Download and extract FRDM KL25Z_v1 00 zip file or later available HERE on E14 Community installed by Windows then an OpenSDA CDC Serial Port will be detected by Windows and mig...

Page 6: ...grammer application using the following steps Drag drop or copy paste the application file MSD FREEDOM KL25Z SDA available in the SDA application folder from the FRDM KL25Z_v1 00 zip file to the BOOTLOADER drive Unplug the USB cable and plug it in again A new removable drive should now be visible with a volume label of FRDM KL25Z 4 Use the MSD Flash Programmer as below Drag drop or copy paste an s...

Page 7: ...nking blue then green then red Quick Start Guide RGB LED is blinking blue then green then red changing_rgb srec RGB LED is lighting in blue then green then red accelero_I2C_rgb srec RGB LED changes color according to inclination detected by the accelerometer embedded in FRDM KL25Z and connected through the I2C to the MCU touch_blinky_blue srec RGB LED blinking frequency is defined by the touch sen...

Page 8: ...vailable in the SDA application folder from the FRDM KL25Z_v1 00 zip file to the BOOTLOADER drive Unplug the USB cable and plug it in again Windows should detect three new devices including PeMicro OpenSDA Debug driver and OpenSDA CDC Serial Port and install automatically the right driver Getting Started with IAR Embedded Workbench for ARM and install automatically the right driver Check in Window...

Page 9: ...inky folder from the FRDM KL25Z_v1 00 zip file then Open Quick Start Guide Right click on Blinky freedom FLASH_128KB top left box then Select Options General Options Target SELECT Core Cortex M0 C C Compiler List DESELECT options Output list file Output assembler file Assembler List DESELECT option Output list file Debugger Setup SELECT Driver PE micro Debugger Download Select then FlashKLxx128K b...

Page 10: ...ll appear SELECT the Interface OpenSDA Embedded Tower Debug then press Connect Reset Start the debug session selecting Debug Go or pressing Demo of changing_rgb should start and RGB LED change of color Press Break button to pause the demo Press Stop Button to stop the debug session and go back to Project Edition Mode Preliminary ...

Page 11: ...o 4 Load the OpenSDA Debug Application Follow step 3 2 Quick Start Guide Follow step 3 2 5 Run Keil MDK ARM or later and build the project Run Keil uVision4 or later by selecting it from the Windows Start menu Select Project Open Project Select Blinky uvproj available in the Project Example build keil Freedom_Blinky folder from the FRDM KL25Z_v1 00 zip file then Open Right click on Blinky_Freedom ...

Page 12: ...DA Embedded Tower Debug then Port USB should be detected Define CPU KL25Z128M4 Select Use SWD reduced pin protocol for communications Unselect Show this dialog before Unselect Show this dialog before attempting to contact target Then press OK Tab Utilities select Use Pemicro OSJtag Multi Press OK button Select Project then Clean Target Select Project and Rebuild All Target files or press Prelimina...

Page 13: ... of Red Green Led Color Changing should start Press Break button to pause the demo stop code execution Press Reset button if you want to restart program execution since the beginning Quick Start Guide Press Run button to restart the code execution Press Start Stop Button to leave the debug session and go back to Project Edition Mode Preliminary ...

Page 14: ...DM KL25Z hardware WARNING Order first a board board connector hearder 2way 1row like Samtec TSW 102 07 G S or Molex 0022284023 with the corresponding jumper On the back side of the board cut the strap between J4 pins Then you need to connect a jumper on the top side between two pins J4 Preliminary ...

Page 15: ... zip file to the BOOTLOADER drive Unplug the USB cable and plug it in again A new removable drive should now be visible with a volume label of FRDM KL25Z Windows should detect a new device OpenSDA CDC Serial Port and install automatically the right driver Check in Windows device manager that Ports COM LPT OpenSDA CDC Serial Port was correctly detected and save the COM Port number Quick Start Guide...

Page 16: ...load a version of this software like tera term Pro 5 Additional tools Plug the multimeter between the two pins from J4 top side and select mA mode Run TeraTerm Pro by selecting it from the Windows Start menu Select Serial option and the Port COM Number corresponding to the Select Serial option and the Port COM Number corresponding to the OpenSDA CDC Serial Port information available in Windows Dev...

Page 17: ... Hyperterminal window will update as below Quick Start Guide Select a power mode typing 0 to 9 or A to L then press any key to confirm You should now measure on multimeter the real current consumption Idd from KL25 in this mode Preliminary ...

Page 18: ...d Return to Hyperterminal window and Select another power mode typing 0 to 9 or A to L and press any key to confirm EXAMPLE of measurement for CASE 0 Enter VLLS0 with POR disabled Very Low Leakage STOP 0 NO POR CASE 20 Enter Compute Mode run for i 0 i wait_count i Preliminary ...

Page 19: ...Getting Started with Processor Expert Coming soon Quick Start Guide Getting Started with CodeWarrior for Microcontroller v10 3 Preliminary ...

Reviews: