Arduino Forum

Products => Arduino Yún => Topic started by: sschultewolter on Sep 25, 2013, 04:03 pm

Title: sd card format on yun
Post by: sschultewolter on Sep 25, 2013, 04:03 pm
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.
Title: Re: sd card format on yun
Post by: federicofissore on Sep 25, 2013, 04:30 pm
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?
Title: Re: sd card format on yun
Post by: sschultewolter on Sep 25, 2013, 05:26 pm
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.
Title: Re: sd card format on yun
Post by: Erni on Sep 25, 2013, 05:33 pm
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
Title: Re: sd card format on yun
Post by: sschultewolter on Sep 25, 2013, 05:43 pm
Thanks Erni,

it works ;)
Title: Re: sd card format on yun
Post by: federicofissore on Sep 25, 2013, 05:54 pm
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/"