Welcome! Log In Create A New Profile

Advanced

cannot see Ramps SD card with Repetier firmware

Posted by leadinglights 
cannot see Ramps SD card with Repetier firmware
December 11, 2013 10:34AM
I am trying to get an sdramps adaptor running with Repetier firmware. Although the card can be seen if I load the sdrampstest to the Arduino, if I compile and upload Repetier firmware I get garbage - it looks like wrong bit rate or malformed data'

Response to sdrampstest
Quote

Initializing SD card...Wiring is correct and a card is present.

Card type: SD2

Volume type is FAT16

Volume size (bytes): 2001403904
Volume size (Kbytes): 1954496
Volume size (Mbytes): 1908

Files found on the card (name, date and size in bytes):
TEST/ 2013-12-06 16:07:30
YODA-L~1.GCO 2012-11-10 19:41:36 10244126
YODA-L~1.GCO 2012-11-10 19:41:36 10244126

But after compiling and uploding Repetier, using the Arduino serial monitor what I get is lots of
Quote

;ÌM/Hú
§jú
njú:jú:þ=CLnM¯mÌs~H/XëNNaïXÈ/X«NïggkJmN!9háìNN^ÁL'ax]H_Hw&þÌ.ÌÌ.ÌìÌÌ.Ì.ÌÌ.Ì.ÌNì.ÌÌÌìNìNìNì.ÌNÌNììNÌ.Ì.Ì.ÌNìánìVï_¹MàìM/"\(Hú
§jú
Njú:jú:þ}^_Ã6lnCmMÌs~H/XëNïNaïXÈX«N¯'gkJmN!9háìNN^Á{LÈ'ax]H_Hw&þNì.ÌÌNìÌNì.ÌÌNìÌÌNìÌ

Details: Repetier current development release.
Arduino 1.0.5
Ramps 1.4
SD card Transcend 2GB
In configuration.h
Bit rate set to 115200
sdsupport set to true

Thanks for any advice or clues.

Mike

Edited 2 time(s). Last edit at 12/11/2013 10:38AM by leadinglights.
Re: cannot see Ramps SD card with Repetier firmware
December 12, 2013 03:58AM
Don't use the serial monitor on this. Use the host and check the log.
What command did you send to get this or is that the start message? In the latter case the baud rate is not the same as set in firmware. When that happens you get such chars.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: cannot see Ramps SD card with Repetier firmware
December 12, 2013 06:58AM
As far as I can see the baud rate is right.

From log. Start Repetier host, Connect, Disconnect.:-

< 11:29:13.265 : OpenGL version:1.1.0

< 11:29:13.265 : OpenGL extensions:GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture
< 11:29:13.265 : OpenGL renderer:GDI Generic
< 11:29:13.265 : Fast VBOs for rendering not supported. Using slower default method.
> 11:29:37.968 : ?n?6???M??M/"??;?}~???s~?H?/X?N?+


From log, as above but select SD card icon, close SD card icon and exit - last line above replaced by:-

> 11:24:07.906 : ?N?6???
> 11:26:06.078 : ??Mo??;?}~?V??3^?H?X?N?''+JmHNayhk??NN^?{L?'a8=H_Hw&??N???.??N?.??N?.??N?N??.?N?.?N?N?N?.?N?N?.???N?N??N?.??.??N?.???.?N?N??.??.?.?N???N?.???.?.??n?6???
< 11:26:28.500 : Reduced visual quality for better framerates and to protect print quality.
< 11:26:28.500 : You can disable this in Config->Repetier settings->Behaviour.


From Configuration.h on development release of Repetier Firmware. Nothing changed and below I believe to be already correct

Overridden if EEPROM activated.
*/
//#define BAUDRATE 76800
#define BAUDRATE 115200
//#define BAUDRATE 250000

..................and.................

/** Set to false to disable SD support: */
#ifndef SDSUPPORT // Some boards have sd support on board. These define the values already in pins.h
#define SDSUPPORT true


If I replace Repetier firmware with Sprinter then Repetier Host talks nicely with the Arduino and the sdramps.

Mike
Re: cannot see Ramps SD card with Repetier firmware
December 12, 2013 07:21AM
I guess it uses a different baudrate from eeprom. Change EEPROM_MODE to a different number. Then it must be the one from configuration.h


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: cannot see Ramps SD card with Repetier firmware
December 12, 2013 08:37AM
Thanks Repetier, that fixed it.

Mike
Sorry, only registered users may post in this forum.

Click here to login