M Micro control new flagship - Freescale FRDM K64F
Freescale is a leading semiconductor company in the world. It is very famous in the industry. Its global headquarters is located in Austin, Texas, USA. Focus on embedded processing solutions. Faced with the automotive, networking, industrial and consumer electronics markets, Freescale provides technologies including microprocessors, microcontrollers, sensors, analog integrated circuits and connections. The quality is solid, stable and reliable. Although the price is expensive, it is still the first choice for industrial control. Recently, however, NXP Semiconductor recently announced that it has completed the merger with Freescale 。 NXP also has a majority of achievements in electronic technology products. In fact, it is a subsidiary separated from the parent company Philips. With Philips' position in the field of electronic products, it has almost set foot in all product lines of electronic products, and is most famous in the field of multimedia entertainment. Freescale also has excellent skills in the field of communication, which should be related to its parent company (Motorola). The merger of the two companies is indeed quite complementary. In the era when automobiles are moving towards electrification, such complementary mergers and acquisitions are of great benefit to both companies.
Freedom development board is Freescale layout ARM Cortex-M An important development platform for a series of microcontrollers. The boards of this platform have similar characteristics, such as Kinetis series MCU , equipped with Freescale sensor OpenSDA Debugging interface and compatibility Arduino R3 It is a platform for evaluation and development of microcontrollers with miniaturization, low power consumption and high cost performance.
Another significant change of the development board FRDM-K64F under Freedom platform, the onboard high-performance Cortex-M4 core based microcontroller Kinetics K64, with the completely open source OpenSDA second generation debugger, Ethernet function, CAN communication interface, 6-axis digital accelerometer and magnetometer.
On FRDM-KL02z On the development board, we first contacted Freescale's board with trans era significance OpenSDA Debugger, which uses U disc Device The mode of code burning reduces the need for additional installation of debugger drivers and other tedious steps, speeds up development progress and shortens development cycle. OpenSDA The debugger not only facilitates the establishment of the entire development platform, but also provides a variety of serial communications, Flash Programming and debugging operation mode, which allows engineers to easily and quickly communicate with Freescale Kinetis Series of microcontrollers.
The first generation of OpenSDA is not open source. However, with the development of the FRDM-K64F development board, OpenSDA has also been upgraded from the first generation to OpenSDA V2. The hardware circuit has also been slightly changed. The logic of level conversion has been added, and 1.8V, 2.5V and other levels can also be used, which is suitable for some more high-end MCU. Most importantly, the firmware of OpenSDA V2 has been completely replaced by the open source CMSIS-DAP debugger, which solves the open source problem including Bootloader and all applications (Debug, virtual serial port, MSD, etc.), which can be said that the FRDM-K64F development board is completely open source.
The FRDM-K64F development board is designed as a 4-layer board. The on-board resources are as follows:
-MK64FN1M0VLL12 MCU (120MHz main frequency 1MB flash memory 256KB RAM amorphous USB and 100 pin LQFP)
-Micro USB interface
-RGB LED light group
-FXOS8700CQ Accelerometer and Magnetometer
-Two touch buttons
-OpenSDAv2 USB, Kinetics K64 USB and external power
-Arduino compatible ™ I/O interface of R3
-OpenSDAv2 debugging circuit, supporting CMSIS-DAP interface software
-Ethernet
-Additional RF module: nRF24L01+Nordic 2.4GHz
-Additional Bluetooth module: JY-MCU BT circuit board V1.05 BT
OpenSDA v2:
-Mass Storage Device (MSD) flash programming interface
-CMSIS-DAP debugging interface can provide operation control debugging function through drive free USB HID connection, compatible with IDE tools
-Virtual serial port
-Open source CMSIS-DAP
From the onboard resources of FRDM-K64F, the functions are very rich. First, the board hardware specification is compatible with the Arduino R3 expansion interface, providing a wealth of expansion module options. In addition, the board carries a wealth of peripherals, including 6-axis digital acceleration sensors and magnetometers for developing complete electronic compass functions, The 3-color LED and two user buttons for direct interaction and feedback can realize rapid prototyping design through the memory expanded by microSD card slot, onboard 10/100M Ethernet port, connectors for Bluetooth and 2.4 GHz radio add ins and other connection options.
Duck expansion board
Debugging method of Freescale K64F development board:
Freescale K64F supports mbed debugging, and mbed provides a relatively systematic and more comprehensive intelligent hardware development environment. Mbed encapsulates many hardware related programs with middleware, which makes the operating hardware no longer need to care about the underlying drivers, and developers only need to call friendly interfaces. In addition to using an interactive interface like TurnOnMyLed for development, mbed can also support both offline and online development environments, which can be developed offline or edited on the web.
1. Enter Bootloader
Before powering on, press the Reset, and then use the USB cable to connect the openSDA on the board. Show on PC as Bootloader After moving the disk, release the Reset button. this Bootloader The space is 128KB.
2. Installing mbed drive
Freescale K64F supports mbed serial port debugging, which is a very good development platform, including software library (SDK), hardware reference design (HDK), and online tools (Web). Download FRDM-K64F_QSP.zip from Freescale's official website( )After decompressing on the computer, directly copy the k20dx128_k64f_if_mbed.bin file in the FRDM-K64F-QSP OpenSDAv2 Applications directory to Bootloader magnet Disk down. Disconnect the USB connection between the development board and the PC, and reconnect openSDA to power up the development board. At this time, the mobile disk displayed on the computer is MBED.
3、 drive install
Download mbedWinSerial_16466.exe from the official website of mbed( ), USB connection board openSDA, run mbedWinSerial_16466.exe, and wait until the operation is completed.
4. Debug Settings
(1) Options ->Select MK64FN1M0XX12 as the device under Device
(2) Under Options ->Debug, select Use as CMSIS-DAP Debugger, and then click Settings to set. Select SW for Port, Under Reset for Connect, HW RESET for Reset.
(3) Options ->Under Utilities, select CMSIS-DAP Debugger
5. Start downloading debugging
Exquisite large picture sharing
Summary:
The biggest feeling I got from these days' trial is that Freescale K64F is very simple and fast to use. After programming and debugging with IAR, it can be directly copied to the development board, just like putting files in a USB flash drive. Freescale K64F supports mbed Really It is a platform for evaluation and development of micro controllers with miniaturization, low power consumption and high cost performance. The new flagship of M micro controller is worthy of the name.
The article on the trial of iGo is completed by netizens, which does not represent the views of this website.