Dear forum members
Good day. I have an XDK which was programmed to send all sensor data over USB continously. After some time (roughly three hours), the data sending stops and all the LEDs are lit up.
Please let me know if you have encountered similar issues, and possible troubleshooting steps.
Solved! Go to Solution.
Can you please share xdk workbench console log so that it will be easy to find the reason for the issue?
Thanks for the hint. I rerun a few times, and noticed that the XDK workbench seems to close by itself after running for some time (1-2 hours). After I turn on XDK workbench again, the XDK workbench console shows that the XDK was in application mode but has been switched to bootloader mode by XDK workbench.
Given these symptoms, its hard for me to extract the XDK workbench console log when the issue happens. I have attached the file AppController.c. This is a modified version of the same file created when creating a C project using the XDK Application Template. If possible, please try to recreate my issue.
Thanks for any help.
XDK workbench seems to close by itself after running for some time (1-2 hours) - It is limitation in XDK Workbench
When you are trying to print more data in xdk workbench for a longer period of time, then you may end up with "java heap space" issue.
Workbench may automatically close or you may get an pop up message in XDK workbench. I have attached screenshot for reference.
So if you want to print more data for a longer period of time, then I would recommend you to go for any serial port software such as H-Term or Teraterm.
If you keeping xdk device for a long run, then you can open and connect XDK port in the any serial port software.