You can also easily debug programs using the
There are two ways of retrieving your device's log:
Save the log to the non-volatile memory on the device, and obtain the log by pushing a remote command from NEQTO Console.
View the messages in real-time by connecting the device to your computer's serial port, and activating User Console mode.
In order to print to the debug log, you need to set the type of output you want for your program. A list of output types and further information about logging is available on the Log Object page.
How To Get Debug Logs Via NEQTO Console Console
The NEQTO device has functions to store logs in its internal non-volatile memory.
Logs stored in that memory can be remotely uploaded and accessed from the NEQTO Console.
When the NEQTO device receives the debug log acquisition instruction from NEQTO, it terminates the operation script and starts uploading the log. When the log transfer is complete, the operation script will be executed again.
In addition, if the log transfer is successful, the logs in non-volatile memory will be erased.
From NEQTO Console, send the "Get Debug Log" command.
After some time has passed, the log data will appear in the Console.
From here, you can download your log.
You can open the log file in your preferred text editor.
Accessing the User Console Mode and Viewing Logs in Real-Time
In User Console mode, the UART interface becomes the command console, and you can perform administrative tasks such as the initial set-up of the device or viewing the logs in real-time as your program runs.
Open the COM port using TeraTerm(Terminal software) and enter the command console.
startcommand to start the NEQTO service. If
'Log output from serial port'is enabled in the log settings, the log will be output on the command console.