Go Down

Topic: sd card format on yun (Read 4120 times) previous topic - next topic

sschultewolter

Hello,

i formated my sd card (16GiB SanDisk Typ4) to fat32. But i cant get access to my sd card when i plugged in the yun.

I checked out this tutorial from scuola.
http://scuola.arduino.cc/courses/lessons/view/b4EoRkV

The linino is configuarted. When i startet to upload my sketch with the www-folder in the sketch directory of the actually sketch, the ide dont want to upload it. i get this errorcode:

Quote
Sketch uses 21.030 bytes (73%) of program storage space. Maximum is 28.672 bytes.
Global variables use 642 bytes (25%) of dynamic memory, leaving 1.918 bytes for local variables. Maximum is 2.560 bytes.
Warnung: Problem accessing board folder /www/sd


The sd card works fine in the normal Ethernet Shield for Uno.
Orginal Atmel AVRISP mkII zu verkaufen. Anfrage per PN ;)

federicofissore

Uhmm it seems like the tutorial is missing one step: your sd card must have a folder "arduino" and inside this "arduino" folder there must be a "www" folder
Therefore the folder structure must be
Code: [Select]

SD Card
- arduino
   - www


Can you double check your sd card folder structure?

sschultewolter

I created the www and arduino, now they will upload the www folder from my sketch folder ;)

H:\arduino\www\sketch_sep24b


In Point 3 of the tutorial, they can access to the file via

http://boardname.local/sd/mysketch
(or 192.168.x.x/local/sd/mysketch)

I tried it
http://192.168.178.161/local/sd/sketch_sep24b, but this didnt work.


Quote
Not Found

The requested URL /local/sd/sketch_sep24b was not found on this server.
Orginal Atmel AVRISP mkII zu verkaufen. Anfrage per PN ;)

Erni

I have followed the tutorial.
In my case the file is located here:

http://192.168.62.52/sd/server_test/

So you could try:

http://192.168.178.161/sd/sketch_sep24b

sschultewolter

Orginal Atmel AVRISP mkII zu verkaufen. Anfrage per PN ;)

federicofissore

#5
Sep 25, 2013, 05:54 pm Last Edit: Sep 25, 2013, 05:59 pm by Federico Fissore Reason: 1
Well done!


I tried it
http://192.168.178.161/local/sd/sketch_sep24b, but this didnt work.


Indeed problem came from the url: there was an extraneous "/local/"

Go Up