New / updated HAL breaks RADDS SDcard
I am running the latest repetier firmware (0.92) and have been trying to get the SDCard working on my RADDS board. Someone with a working SDCard running Repetier 0.91 sent me their firmware and I managed to trace the problem to something that has changed in HAL.
I used the configurator tool to generate a fresh 0.91 firmware, and that was also broken. I visually compared the 2 HALS between the working version and the broken versions, and it seems like it might be related to the eeprom changes that were introduced (where it is copied to RAM for faster access).
The working version that was sent to me looks like it was generated before the copy to RAM eeprom changes were introduced.
I don't think the problem is specificaly related to the copy to ram changed since I tested this by disabling eeprom and I still get the SD Card errors. I think the problem was introduced at the same time as the eeprom copy to ram changes.
Btw.. the actual error I get running the broken HAL is "SD init failed" when I insert an SD card. With the older version of 0.91, the SD card detection works without a problem and the files are displayed (on the LCD as well as in Repetier host).
On a slightly different note... on 0.92, I always seem to get errors when I connect to the printer. The errors are:
16:57:03.915 : Error:expected line 4 got 7
16:57:03.915 : Resend:4
16:57:11.942 : Error:Wrong checksum
16:57:11.942 : Resend:7
16:57:11.989 : SD card inserted
16:57:13.941 : SD init fail
16:57:13.941 : Begin file list
16:57:13.957 : End file list
16:57:15.957 : Error:expected line 8 got 15
16:57:15.957 : Resend:8
Thanks.
Comments