Important changes to questions
We’re making some changes to Mbed Questions. From 10th December 2019 this site will be archived and new questions should be asked on our new forum site. Until that date you can continue to reply to existing questions here but can’t ask new questions.
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
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