Pages: 1 [2]   Go Down
Author Topic: arduino2560  crashes after running 2-10 hours(SD)  (Read 2268 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 227
Posts: 14024
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Could you tell more about the RFM module ? datasheets? There may be a pin conflict?
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello Rob,

it is just a hope RFM12 module, which uses the SPI bus, but I've changed the CS (instead of pin 53, I know use 49, bacause the sd/ethernet shield also uses pin 53 as CS for the ethernet device on the SPI bus)

And I did not had the problem, so I can be reasonably sure that disable the RFM IRQ before write to SD solved the problem.

Thanks,
Jeroen.
Logged

Greenwood, Indiana
Offline Offline
God Member
*****
Karma: 0
Posts: 508
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.sparkfun.com/datasheets/Wireless/General/RFM12B.pdf

This?
Logged

If it was designed by man it can be repaired by man.

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, this is the module.

And I can tell you for sure the problem is solved by disabling the RFM IRQ (setting the pin from arduino mega as output) before using (writing to) the SD card.

Best regards,
Jeroen.
Logged

Pages: 1 [2]   Go Up
Jump to: