FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    Freescale Ultra Low Cost Freedom Development Board Evaluation (2)

     

    The main control chip on the FRDM-KL25Z developing board uses Freescale's Kinetis L Series microcontroller KL25Z128VLK4, the Kinetis L Series is also the world's first ARM Cortex-M0 + kernel microcontroller series. Previous evaluation shows that the FREM-KL25Z development board has some significant features, such as the OpenSDA onboard debugger and an extension pin compatible with Arduino R3 version, use it simple and flexible. Opensda OpenSDA is a low-cost debugging and programming interface for microcontroller chips, establishes serial communication between the host USB port and the microprocessor on the target board. OpenSDA is developed by P & E, I hope to establish an open Standard serial adjustment adapter. FRDM-KL25Z is also a development board for the first onboard OpenSDA debugger. You can see the OpenSDA debug contains the hardware and software section by the above block diagram. OpenSDA's hardware circuit is mainly composed of microcontroller K20DX128VFM5 and an LED and a reset button. Microcontroller K20DX128VFM5 is a member of the Freescale Kinetis K20 series with ARM Cortex-M4 core. It integrates a USB controller to communicate with the host USB port, SPI, and GPIO signals can be connected to the target microcontroller as the JTAG / SWD interface, while providing a UART serial channel to connect to the target microcontroller. The K20DX128VFM5 contains 128KB flash, the software part of the OpenSDA debugger is stored there. OpenSDA's software part can be divided into two partial MSD Bootloader and OpenSDA Application (Applications), MSD Bootloader is unified, the same for different hardware target systems, and stored in non-volatile memory; OpenSDA app is very Diverse, you can be aimed at different hardware target systems, OpenSDA applications can only be modified in bootloader mode, and only one OpenSDA application can be run. In the previous Demo demo, you can see two working modes: bootloader mode or OpenSDA application is started normally. At present, the OpenSDA debugger can support a variety of software design tools including CodeWarrior, IAR, MDK-ARM, Red Suite, and more, let's take a look at how to develop using the Keil tool. Kinetis driver requires MDK-ARM 4.50 or more. If there is no PEmicro OS JTAG in the installed MDK-ARM (new version may already include), you need to download Kinetis driver to the Keil website, and then install the patch file. Bootloader mode Press the reset button first and then connect to the mini-usb to the computer, the OpenSDA debugger enters the bootloader mode. Open the downloaded OpenSDA firmware compression package (you can download the latest firmware to PEmicro), copy the DEBUG OPENSDA application to the MSD Bootloader disk. Disconnect the USB connection and then re-power, the OpenSDA debugger enters the Debug mode. 2.debug mode After re-powering, the USB device installation driver will be re-applied (you can go to the PEMICRO website to download the latest driver), add a CDC serial port after the installation is complete. Run Keil, open a simple Blinky program, simply set up the project's option, you can "Create Hex File" in Output, the generated file can be used to convert to the Freescale S-Record format file (can pass OpenSDA's Flash programming application is directly burned). Debug's debugging tool selects "PEmicro OS JTAG ...", click Setting Setting After setting the debug tool interface, port, and CPU, complete the settings, now you can compile downloads and online debugging programs. If "PEmicro OS JTAG ..." or setting problems need to be reinstalled and patch is required in the Debug debugging tool list. 3. MSD Flash programming mode The FRDM-KL25Z provides a shortcut programming OpenSDA application (MSD Flash Programmer), which only needs to copy directly to the OpenSDA disk when downloading the user's own application, which is very convenient, but the target file only supports the Motorola S Record format file. First, press the reset button to power the bootloader mode, copy the OpenSDA application (MSD-FRDM-KL25Z_PEMICRO_V105.SDA, you can download the latest version to the official website). Re-powered on the development board, enter the flash programming mode, and also adds a CDC serial port at the device manager. The official release file package contains a lot of compiled target S Record files, you can copy directly. If you develop by KEIL, you need to convert the HEX file to the S Record file. (Provide a method first convert the HEX file into a bin file, then convert the bin file to the S Record file). Coocox The FRDM-KL25Z developing board is also a Cortex-M0 + development platform that is jointly launched by British, E Rong and Freescale, with a COOCOX software CD. The FRDM-KL25Z development board can support a variety of software development tools, and Coocox is a free open source integrated development environment in Yingji, integrated various tools and online resources, focusing on the Cortex-M series microcontroller ( Including Cortex M4, M3, M0 and M0 + software platform design. You can go to the Coocox.org website to learn more about the quality open source software for domestic products. Coocox currently supports OpenSDA debug interfaces, no additional drivers are required to provide users with a very free development platform. Let's take a look at how to develop under Coocox IDE. When the FRDM-KL25Z development board is developed, you should pay attention to what OpenSDA apps currently used on the board because the OpenSDA applications are different depending on external devices and tools, which shows that the OpenSDA debug interface is very flexible. Here we have to load a new OpenSDA application - CMSIS-DAP debug interface (CMSIS-DAP.S19, you can download the latest version to www.keil.com/appnotes/docs/apnt_232.asp). Like the previous method, first enter the bootloader mode and copy the OpenSDA application firmware. After disconnecting the rebound, the development board enters the CMSIS-DAP debug mode, and can see the serial port or USB disk from the device manager. (If you are interested, you can try the KEIL tool, also support CMSIS-DAP, you can debug programming) There is a complete COOCOX software resource in the conclusive CD, or you can download the latest online resources to the Coocox website FREESCALE page. Install Coocox Coide integrated development tool, currently the latest version number is 1.7. You can first install the Coocox Cocenter tool, so you can install or update a variety of tools online. Coocox's online resources are very rich, and the entry document is very complete and it is very convenient to get starters learning. Here is how to set the software and use OpenSDA, detailed content can refer to online resources. 1. There is no self-compilation tool in COIDE because it is an open source software, which is used for GCC Toolchain. So set the compilation tool before using COIDE, please refer to the settings of the compiler. Open Coide Select Project->select Toolchain Path, set the GCC path (manually). 2. Use Coide to create a new simple program. The COIDE interface is very friendly, also based on Eclipse, very popular development interface, and integration of resources at the same time. You can refer to this quick start tutorial, very detailed. Choose a new program, you can also select the manufacturer model of the chip by step. The Coocox function is very powerful, especially the formation of its modular design, standardizes the microcontrollers, and improves the application of the application, which greatly facilitates the user, making the programming become a very kind. Simple things, and more clear thinking. Choosing the peripheral module you want, COIDE provides a lot of corresponding routines, which can be easily added to the new project. It's almost the same as a new program here, and the next step is to set the debugger. 3. Select View->configration, you can see the various parameter settings of the current project, the hardware debug interface under Debugger must be CMSIS-DAP. Compile completion, you can download the program to the microcontroller, or you can also perform real-time DEBUG. Now we can use Coide to develop software, is it very convenient to be very convenient? summary This paper introduces the OpenSDA debug interface of the Freedom FDRM-KL25Z development board, and how to use software development. Also introduces a powerful open source Cortex-M software development platform COOCOX and how to develop in combination with FDRM-KL25Z. Reference Freescale ultra low cost freedom development board evaluation (1) Freedom-kl25z development board Buy FREEDOM-KL25Z development board Freescale Freedom FRDM-KL25Z Development Platform COOCOX FREESCALE M0 + Quick Start E Rating FRDM-KL25Z Pemicro OpenSDA Original declaration: This article is originally created by the panel network, declined!

     

     

     

     

    List all Question

    Nickname

    Email

    Questions

    Our other product:

    Professional FM Radio Station Equipment Package

     



     

    Hotel IPTV Solution

     


      Enter email  to get a surprise

      fmuser.org

      es.fmuser.org
      it.fmuser.org
      fr.fmuser.org
      de.fmuser.org
      af.fmuser.org ->Afrikaans
      sq.fmuser.org ->Albanian
      ar.fmuser.org ->Arabic
      hy.fmuser.org ->Armenian
      az.fmuser.org ->Azerbaijani
      eu.fmuser.org ->Basque
      be.fmuser.org ->Belarusian
      bg.fmuser.org ->Bulgarian
      ca.fmuser.org ->Catalan
      zh-CN.fmuser.org ->Chinese (Simplified)
      zh-TW.fmuser.org ->Chinese (Traditional)
      hr.fmuser.org ->Croatian
      cs.fmuser.org ->Czech
      da.fmuser.org ->Danish
      nl.fmuser.org ->Dutch
      et.fmuser.org ->Estonian
      tl.fmuser.org ->Filipino
      fi.fmuser.org ->Finnish
      fr.fmuser.org ->French
      gl.fmuser.org ->Galician
      ka.fmuser.org ->Georgian
      de.fmuser.org ->German
      el.fmuser.org ->Greek
      ht.fmuser.org ->Haitian Creole
      iw.fmuser.org ->Hebrew
      hi.fmuser.org ->Hindi
      hu.fmuser.org ->Hungarian
      is.fmuser.org ->Icelandic
      id.fmuser.org ->Indonesian
      ga.fmuser.org ->Irish
      it.fmuser.org ->Italian
      ja.fmuser.org ->Japanese
      ko.fmuser.org ->Korean
      lv.fmuser.org ->Latvian
      lt.fmuser.org ->Lithuanian
      mk.fmuser.org ->Macedonian
      ms.fmuser.org ->Malay
      mt.fmuser.org ->Maltese
      no.fmuser.org ->Norwegian
      fa.fmuser.org ->Persian
      pl.fmuser.org ->Polish
      pt.fmuser.org ->Portuguese
      ro.fmuser.org ->Romanian
      ru.fmuser.org ->Russian
      sr.fmuser.org ->Serbian
      sk.fmuser.org ->Slovak
      sl.fmuser.org ->Slovenian
      es.fmuser.org ->Spanish
      sw.fmuser.org ->Swahili
      sv.fmuser.org ->Swedish
      th.fmuser.org ->Thai
      tr.fmuser.org ->Turkish
      uk.fmuser.org ->Ukrainian
      ur.fmuser.org ->Urdu
      vi.fmuser.org ->Vietnamese
      cy.fmuser.org ->Welsh
      yi.fmuser.org ->Yiddish

       
  •  

    FMUSER Wirless Transmit Video And Audio More Easier !

  • Contact

    Address:
    No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620

    E-mail:
    [email protected]

    Tel / WhatApps:
    +8618078869184

  • Categories

  • Newsletter

    FIRST OR FULL NAME

    E-mail

  • paypal solution  Western UnionBank OF China
    E-mail:[email protected]   WhatsApp:+8618078869184   Skype:sky198710021 Chat with me
    Copyright 2006-2020 Powered By www.fmuser.org

    Contact Us