Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Do not show file on SD card.
mbatorowic-
z
Newbie
Posts: 3
Permalink
Post Do not show file on SD card.
on: April 20, 2019, 18:04
Quote

sorry for my english.
Polargraph see file on sd card, but do not show this file on menu in LCD.

Monitor port message:

POLARGRAPH ON!
v1.4.3
Hardware: POLARSHIELD
Servo 2
Loaded machine width:2900
Loaded machine height:2300
Loaded mm per rev:96.00
Loaded motor steps per rev:400
Loaded motor step multiplier:1
Loaded machine name:PGXXABCD
Loaded down pos:91
Loaded up pos:171
Didn't load penWidth: 0.80
Recalc mmPerStep (0.24), stepsPerMM (4.17)
Recalc pageWidth in steps (12083)
Recalc pageHeight in steps (9583)
Successfully beginned.
card initialized.
SYSTEM~1/
	WPSETT~1.DAT		12
	INDEXE~1		76
...
AUTORUN.TXT		256
...
done!
Released motors
Auto executing:AUTORUN.TXT
Couldn't find that file, btw.

Image

sandy
Administrator
Posts: 1402
Permalink
sandy
Post Re: Do not show file on SD card.
on: April 23, 2019, 22:25
Quote

Interesting! Can you show what messages appear in the console when you load the "SD card" menu, and press prev/next/draw?

sn

mbatorowic-
z
Newbie
Posts: 3
Permalink
Post Re: Do not show file on SD card.
on: April 25, 2019, 00:50
Quote
POLARGRAPH ON!
v1.4.3
Hardware: POLARSHIELD
Servo 2
Loaded machine width:2900
Loaded machine height:2300
Loaded mm per rev:96.00
Loaded motor steps per rev:400
Loaded motor step multiplier:1
Loaded machine name:PGXXABCD
Loaded down pos:91
Loaded up pos:171
Didn't load penWidth: 0.80
Recalc mmPerStep (0.24), stepsPerMM (4.17)
Recalc pageWidth in steps (12083)
Recalc pageHeight in steps (9583)
Successfully beginned.
card initialized.
SYSTEM~1/
	WPSETT~1.DAT		12
	INDEXE~1		76
...
GCODE.TXT		174
...
done!
Autostart file couldn't be opened: AUTORUN.TXT
Released motors
touch ok: 0,0
2: 161,54
Check for input
Inputted!!
process touch.
3: 161,54
X:161, Y:54
Outlining.
Outlined!
button:2
Current command filename: 
Loading filename.
Now command filename: 
DONE.READY_200
touch ok: 161,54
2: 163,45
Check for input
Inputted!!
process touch.
3: 163,45
X:163, Y:45
Outlining.
Outlined!
button:12
looking up previous filename.
Current command filename: 
Loading filename.
Now command filename: 
Current command filename: 
Loading filename.
Now command filename: 
DONE.READY_200
touch ok: 163,45
2: 172,196
Check for input
Inputted!!
process touch.
3: 172,196
X:172, Y:196
Outlining.
Outlined!
button:11
looking up next filename.
Current command filename: 
Loading filename.
Now command filename: 
Current command filename: 
Loading filename.
Now command filename: 
DONE.READY_200
touch ok: 172,196
2: 169,187
Check for input
Inputted!!
process touch.
3: 169,187
X:169, Y:187
Outlining.
Outlined!
button:11
looking up next filename.
Current command filename: 
Loading filename.
Now command filename: 
Current command filename: 
Loading filename.
Now command filename: 
DONE.READY_200
touch ok: 169,187
2: 275,197
Check for input
Inputted!!
process touch.
3: 275,197
X:275, Y:197
Outlining.
Outlined!
button:16
DONE.READY_200
READY_200
READY_200
READY_200
touch ok: 275,197
2: 163,38
Check for input
Inputted!!
process touch.
3: 163,38
X:163, Y:38
Outlining.
Outlined!
button:12
looking up previous filename.
Current command filename: 
Loading filename.
Now command filename: 
Current command filename: 
Loading filename.
Now command filename: 
DONE.READY_200
READY_200
sandy
Administrator
Posts: 1402
Permalink
sandy
Post Re: Do not show file on SD card.
on: April 25, 2019, 21:46
Quote

Thank you, that didn't tell us much did it.

I don't have a spare MEGA-based board to test this on right now but I would look closely at https://github.com/euphy/polargraph_server_polarshield/blob/master/lcd.ino#L1125-L1222 where the routines are that load the filename, and https://github.com/euphy/polargraph_server_polarshield/blob/master/sd.ino#L32-L55 where the card initialisation parts are.

sandy

mbatorowic-
z
Newbie
Posts: 3
Permalink
Post Re: Do not show file on SD card.
on: April 26, 2019, 21:43
Quote

Good job for me 😉
I change "const int chipSelect = 53;" on 14 pin - not work
When i back 53 pin, SD work fine.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.024 seconds.