Search code examples
clinuxmakefilecontiki

Read serial port from micaz


I would like to know if there is a mean to read in a terminal outputs generated by a MicaZ (printf), I tried the command: make login but it doesn't work.

I think that the is no rule login in micaz makefile.


Solution

  • Try command:

    sudo cat /dev/ttyUSB1  
    

    Before doing this, check that your Micaz is connected through ttyUSB1. You can check it using command:

    ls /dev
    

    If ttyUSB1 is in the list above, it will work.