5 years, 8 months ago.

No serial console on frdm-k64f

Am I suppose to see any activity from the serial console after I install the firmware ?

k20dx128_k64f_if_mbed

I am useing teraterm @ 9600 baud .

thanks

Comment on this question

1 Answer

5 years, 8 months ago.

John,

I just starting using my FRDM-K64F today and I upgraded the firmware to the same version you did. I don't see any console activity unless I explicitly write to the serial port from my program. Here's a simple test program that blinks an LED and writes Off/On messages to the serial port:

Blink the LED and send console messages

#include "mbed.h"

Serial pc(USBTX, USBRX);
DigitalOut myled(LED1);

int main() {
    while(1) {
        pc.printf("Off\n");
        myled = 1;
        wait(3.0);
        pc.printf("On\n");
        myled = 0;
        wait(1.0);
    }

Jim

Ok. thanks. I will find the sdk and try that.

posted by John Donn 12 Apr 2014

Thanks Jim;

Got it working !

posted by John Donn 14 Apr 2014