5 years, 9 months ago.

how to get serial monitor for nucleo-64?

i have nucleo64 module, i got USB connectivity on my windows PC as a disk. but, in serial communication i can't get any serial window. At the same time i tried many serial monitor like cool term, real term, tera term, hyper terminal..etc. One more my pc configuration is windows. If you guys have any other source or any other ideas on my question, pls suggests me..

1 Answer

5 years, 9 months ago.

Hi Priyanka,

I suggest you try using putty for window https://www.putty.org/ or screen for linux/maxOS https://software.intel.com/en-us/setting-up-serial-terminal-on-system-with-mac-os-x. Using these applications, I was able to connect to my Nucleo board. Here is the example code that I was using for mine.

main.cpp

#include "mbed.h"

//------------------------------------
// Hyperterminal configuration
// 9600 bauds, 8-bit data, no parity
//------------------------------------

Serial pc(SERIAL_TX, SERIAL_RX);

DigitalOut myled(LED1);

int main()
{
    int i = 1;
    pc.printf("Hello World !\n");
    while(1) {
        wait(1);
        pc.printf("This program runs since %d seconds.\n", i++);
        myled = !myled;
    }
}

Please let me know if you have any questions!

- Peter, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!