Author Topic: How long the code can stay in the module? Permanently?  (Read 292 times)

wxhzk

  • Newbie
  • *
  • Posts: 5
    • View Profile
How long the code can stay in the module? Permanently?
« on: February 06, 2017, 11:51:37 am »
I found that if I use MCStudio to save and load code in the module, it only can stay no more  than 24 hours.

I keep the python decode program run during night. And when I come back the office in the morning, I found it stopped at around 01:00AM. I erased the mcscript and reload the code in the module, and it back to work.

Looks like the code in the module won't stay more than 24 hours. Once I reload the code to module, it works. Any idea? Thanks

Share on Facebook Share on Twitter


mc-John

  • Global Moderator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: How long the code can stay in the module? Permanently?
« Reply #1 on: February 06, 2017, 06:43:14 pm »
If you save and load the code (F7) it goes into flash and if you debug (RUN F5) it goes into RAM.

What is your code doing? Is something going wrong in the communication? Did your computer go the sleep?