Mark Butcher

Having fun with the FRDM-K25Z

Discussion created by Mark Butcher on Mar 6, 2014

Hi All

 

I noticed that the FRDM boards are quite popular so prepared something for a bit of fun with the FRDM-KL25Z.

 

The following is an FRDM-KL25Z simulation. It can be run on any Windows PC and doesn't need installation; just unzip the file and execute the program "uTaskerV1-4_FRDM-KL25Z.exe".http://www.uTasker.com/freescale/uTaskerV1-4_FRDM-KL25Z.zip

When it operates it runs a program on the simulated KL25 and connects to the PC's COM1 (assuming it has one) at 115k and operates a command line menu on this (connect with a cross cable or a virtual COM loop back to talk to it and command various things like controlling the board's LEDs.

There is an SD card connected (see the following thread for details about how it is attached to the FRDM-KL25Z and also the actual SREC if you would like to try it on a board SD Card interfacing to MKL25Z128VLK4 microcontroller; (the connection is the same in the simulator) - the SD card can be formatted and directories and files created on it via the command line menu (via UART).

 

If the FRDM-KL25Z boards's connector pins are clicked on the connected processor pin is shown on the Kinetis ports (all pins that are inputs or peripherals) and then by hovering the mouse over the ports (eg. PORT A - 3) will then show the state of it, what peripherals it can be connected to and also the physical pin number on the chip. This is quite useful when working with the hardware since it avoids having to always consult the circuit and data sheet!

 

It does varous other stuff as well but playing with it is the best way to get to know it. Things like USB and UART activity are logged to files in the simulation directory so enumeration can be tested with a menu item and the files inspected afterwards, etc..

 

Below is a screen shot of how it looks when operating. I used it tonight to configure and test adding an SD card with USB-MSD and FAT on SPI1 of the chip. The project worked on the target first time and took about 10 minutes to develop ;-)

 

Regards

 

Mark

 

 

FRDM-KL25Z.png

Outcomes