AnsweredAssumed Answered

I/O with Host via OpenSDA

Question asked by shaul dorf on Jul 2, 2015
Latest reply on Jul 3, 2015 by shaul dorf

Hello all;

 

I’m newer to Kinetis and KDS.

I use KDS3.0 & KSDK1.2 with FRDM-K64F and FRDM-KL25Z.

 

This is my KDS Installation

Install Details.jpg

 

I try to reproduce I/O demos based on two Erich Styger posts:

  • printf() and scanf() with GNU ARM Libraries, using ConsoleIO component.
  • Using a Terminal Input and Output; *without* printf() and scanf(), using Term component

 

The posts are old, Erich have used different tools chain.

Maybe not everything there is relevant, but they are excellent reference for beginners like me.

 

I’m looking for some reasonable explanation for:

 

 

FRDM-KL25Z

Project build:

  1. Device page: processor to be used Board,
    FRDM-KL25Z
  2. Rapid Application Page: KSDK-none,
    PE-selected

Generates following error:

KL25 Error.jpg

 

 

FRDM-K64F

 

Project build:

  1. Device page: processor to be used Board, FRDM-K64F
  2. Rapid Application Page: KSDK-none, PE-selected

 

I ran into two problems without logical explanation

 

 

1.   "ConsoleIO" - post

        “printf/scanf” post I/O is working. The only unexplained obstacle is speed limit to 1200 baud.

 

        If in “Component Inspector” for IO1:Serial_LDD:

          Select folder “CPU clock/configuration selection”

          Change the “Clock configuration 3” to disabled

          There is no speed limit (tested in 115200 baud)

 

(String and Char) - post

          SendStr method work but no response to ReadChar or ReadLine methods.

          In both cases the UART pin configuration is the same.

 

          But if during project build I use MK64FN1M0VLQ12  processor (instead FRDM-K64F board),

          everything is working fine for the same configuration.

 

For the Project that is build:

  1. Device page: processor to be used Board, FRDM-K64F
  2. Rapid Application Page: KSDK and PE-selected
  3. Using fsl_debug_console  component

 

Every thing is working fine (strings, chars, put/get)

Outcomes