myksj
1
What is the difference between 'power restart' and 'soft reset'?
Several tests have been conducted to resolve the 'URL Link' content.
-
In performing the 'SD Card' function, it was found that a problem occurs after a long time.
-
When the 'SD Card' function fails, I tried to solve it by using 'Softreset (ex. WATCH DOG)'.
-
But something strange happened.
- Softreset (ex. WATCH DOG) : not work (SD card)
- Power restart: work (SD card)
So, what I would like to ask is:
What is the difference between 'power restart' and 'soft reset'?
One question first, in the link I provided the TO says:
1KΩ resistor between the MISO of the Arduino and the MISO of the SD-Card module.
Did you do that?
Second question: How do you perform the Soft-Reset?
Here are two possibilities to perform Software-Reset:
https://www.instructables.com/two-ways-to-reset-arduino-in-software/
Here another description:
https://web-engineering.info/node/29
To reset an SD Card Reader connected via SPI I found this link;
https://github.com/greiman/SdFat/issues/351#issuecomment-990970280
Good luck!
1 Like
srnet
3
There is no 'reset' on the SD card interface.
So if stuff goes wrong, you need to remove the SD card or otherwise power it down to make it work again.
1 Like
myksj
4
@ec2021
@srnet
Thank you for answer.
Soft reset was performed through 'watchDog'.
long TIMER_SOFT_RESET = 1*24*60*60000;
void reboot() { Serial.println(" SOFT RESET! "); wdt_disable(); wdt_enable(WDTO_15MS); while (1) {delay(1);} }
That was a good solution answer.
We will test and contact you.
thank you.
system
Closed
5
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.