Thanks for reaching out!
If you are using ISSIoT, your scripts will not be permanently stored on your Edison as they are stored on a temporary file that is erased every time the board boots, that might explain why your code stops on every power cycle.
I suggest you to check https://communities.intel.com/message/358383#358383, there it is explained how to permanently store your scripts on your Edison's storage and run them on boot.
If you'd like to expand on the same topic spoken on the thread above, I suggest you to check this guide: https://communities.intel.com/docs/DOC-111103.
I hope this information helps you,
I'm not sure I understand you. Please clarify the next to me:
You run the script, you stop it and when trying to start it again, Edison will not react.
You run the script, it stops for some reason and when trying to start it again Edison will not react until reboot.
You run the script, while it is running you try to execute it again and it stops working but it does not throw any error messages.
Do any of those scenarios describe your situation? Or, am I not getting it?
Let me know.
run the program using ISSIoT - works as expected
stop the program using terminate button on the console window
run the program again using ISSIoT - program runs but LED does not blink.
unplug both USB cables from the board and plug them back in - board is now in AP mode
use serial terminal the run configure_edison --wifi --persit - setup wifi
run the program again using ISSIoT - program runs but LED does not blink
repeat a couple times and LED will start blinking
so the issues:
1. persisting wifi config
2. programs running, no errors, but sometimes no observable response from GPIO
I'm not sure about the 'dead' GPIO problems, but the Wi-Fi should have an explanation.
Could you confirm that you're on the latest firmware? configure_edison --version never works for me either....what is the output of these two commands:
#> cat /etc/version
#> uname -a
The only time I've seen people complain about persisting Wi-Fi was back in 2014 in the earliest of builds. If you're using anything from the last year, it *should* be ok. If not, try looking into something like this: Re: Edison WiFi woes
"Try running 'systemctl enable wpa_supplicant' to enable automatically starting of Wi-Fi and use 'systemctl disable wpa_supplicant' if you ever want to disable automatic starting of Wi-Fi."
If you see your Wi-Fi is down after a reboot, check it with "systemctl status wpa_supplicant" to see if it's running. If not, then you probably have to make sure it's enabled like the link suggests.
Have you tried to reflash your board to see if the issue persists? I've personally haven't faced an issue such as this.
Let us know how it goes.