LEGO Mindstorms EV3


Starting and Stopping EV3 VM Application Running from NFS

    WARNING:          The commands shown are for reference only. Modify IPs and pathes to match your own environment
    --------

    SETUP:            PC running linux terminal
    ------            EV3 running NFS (see "Running EV3 from NFS")


    INSTALL DEBUG:    Install "Debug" app in NFS 
    --------------    
    
mkdir ${HOME}/am1808/DaVinci-PSP-SDK-03.20.00.13/filesys/home/root/lms2012/prjs/Debug
cp ${HOME}/projects/lms2012/lmssrc/TEST/TEST/Debug.rbf ${HOME}/am1808/DaVinci-PSP-SDK-03.20.00.13/filesys/home/root/lms2012/prjs/Debug/Debug.rbf

    OPEN TELNET:      Open a telnet connection to the EV3 IP address (X.X.X.X)
    ------------

telnet X.X.X.X

    GET PROMPT:       EV3 will asks for login
    -----------       Type "root" as login and the EV3 should give a prompt like:
                      root@EV3:~#

    STOP VM:          Stop running VM process: Type command below and WAIT until EV3 leds goes out
    --------                                                          ----------------------------

killall -9 lms2012

    START VM AGAIN:   Start a new VM process with telnet connection:
    ---------------
    
./lms2012/sys/run

    STOP VM AGAIN:    Run "Debug" app on EV3 - type "q" in the telnet terminal and WAIT until EV3 leds goes out
    --------------

    DEBUG:            Change application code and goto "START VM AGAIN"
    ------

    

    DON'T SAVE:       Here is a quick and dirty way to not waste time on EV3 saving stuff (remember to reenable)
    -----------       In a Linux terminal type:
    
sudo mv ${HOME}/am1808/DaVinci-PSP-SDK-03.20.00.13/filesys/etc/init.d/store.sh ${HOME}/am1808/DaVinci-PSP-SDK-03.20.00.13/filesys/etc/init.d/store_save.sh

    SAVE AGAIN:       To repair above dirty trick use and reenable saving stuff again:
    -----------       In a Linux terminal type:

sudo mv ${HOME}/am1808/DaVinci-PSP-SDK-03.20.00.13/filesys/etc/init.d/store_save.sh ${HOME}/am1808/DaVinci-PSP-SDK-03.20.00.13/filesys/etc/init.d/store.sh

LEGO® Robotics Firmware Documentation
Confidential Information © 2013 The LEGO Group