Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when not in debugging mode #9

Open
disk91 opened this issue Jun 10, 2018 · 3 comments
Open

Problem when not in debugging mode #9

disk91 opened this issue Jun 10, 2018 · 3 comments
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@disk91
Copy link

disk91 commented Jun 10, 2018

It is not clear but it looks like the main MCU does not wakeup from the Sleep-mode when the debug mode is not activated. So the communication is never ending. No explanation, basically the code looks good but is not working. What about the Null callback attachement on wakeupinterrupt ?

@disk91
Copy link
Author

disk91 commented Jun 10, 2018

After test, I confirm is comes from the Arduino Low Power library never waking up the device after an USB programming. By powering down then up it seems to restart correctly

@manchoz
Copy link

manchoz commented Jun 10, 2018

Hi @disk91, it seems you are experiencing a very common problem with Low Power/USB/SAMD21. Take a look at the forum for possible solutions (https://forum.arduino.cc/index.php?board=113.0). A short explanation for what it's probably happening on your MKRFOX is at https://forum.arduino.cc/index.php?topic=478950.msg3273016#msg3273016.

A complete working sketch with no debug mode, low power mode and debug on Serial2 is at https://github.com/manchoz/iottrack_sigfox/blob/master/Arduino/WeatherMonitorDHT/WeatherMonitorDHT.ino.

@vallettea
Copy link

We are experiencing the same issue.

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

4 participants