Show Posts
Pages: [1] 2 3 4
1  Development / Other Software Development / Re: Updated versions of ChibiOS/RT, NilRTOS, and FreeRTOS on: April 11, 2014, 12:40:11 pm
I plan to modify my ftp server ( http://forum.arduino.cc/index.php?topic=182382.0 ) so it works under one of the rtos ChibiOS/RT, NilRTOS or FreeRTOS.
The server make use of libraries SdFat and Ethernet.
After reading different posts on the blog, I have some questions:
- Does one of this os allows me to use simultaneously two (or more) devices accessed through SPI?
- Would it be possible to have two thread, one reading a file, an other creating and writing to file, working simultaneously?
- Witch of this os would be the most adapted?
 I understand, after searching the forum, than I should make some changes in the libraries, such as removing the calls to the delay() function, but I think the effort is worth it.
2  Development / Suggestions for the Arduino Project / Re: FREE RTOS INTO THE IDE on: April 02, 2014, 10:22:44 am
I support!
3  Development / Other Software Development / Re: How to Port FreeRTOS in Arduino IDE on: March 24, 2014, 02:36:34 pm
Hi
As we are in the forum dedicated to Due, I assume you are trying to use FreeRTOS on a Due.
So you have to use use the FreeRTOS_ARM library. Not the FreeRTOS_AVR one as it seems you are doing:
Quote
frBlinkPrint.ino:3:26: warning: FreeRTOS_AVR.h: No such file or directory
Hope this could help you to solve your problem
4  Using Arduino / Networking, Protocols, and Devices / New version of Ftp Server on Arduino on: March 16, 2014, 07:35:18 pm
Here is the last version of my FTP server:
https://mega.co.nz/#!C5gQHKiR!JcfZ6RoQrLHpvcu0D59IlDmkg4b3c4x7bKqgmWRq8GA
 
It is much more complete than the previous version.
It now accept clients in both active or passive mode.
Here is the list of recognized commands:
   USER, PASS
   CDUP, CWD, QUIT
   MODE, STRU, TYPE
   PASV, PORT
   ABOR
   DELE
   LIST, MLSD, NLST
   NOOP, PWD
   RETR, STOR
   MKD,  RMD
   RNTO, RNFR
   FEAT, SIZE

And an additional command  SITE FREE that send the amount of free space in the SD card and his total capacity.
The library is divided into two classes. One handle the ftp server functions: FtpServer . The other handle the calls to the SdFat library: SdList.
For this version, I abandoned the use of long file names, and the class SdList can seem superfluous but it will facilitate in the future a change in handling of file names (I am working on that).
You must care of not delete or rename a file that has a long name because the SdFat library does not handle it and this would result in orphan directory entries.

The server always works fine with client FTP Rush.
I still do not know how to solve the problem of FileZila with RETR and STOR.
It works well also with gFTP under Ubuntu.
And a second Arduino can connect to Ftp Server running the sketch of SurferTim. You can download it at http://playground.arduino.cc/Code/FTP

As always I would appreciate remarks, suggestions, testing
5  Products / Arduino Due / Re: Due + ethernet shield. No more SPI??? on: February 09, 2014, 01:04:14 pm
Hi
This is how I solved it to connect together my Due, an Ethernet shield and a Sparkfun MP3 shield.
I solder 3 wires between the SPI connector and the digital pins 11, 12 and 13. I bend these pins to isolate them from Arduino Due.
Hope this can help you.
Jean-Michel


6  International / Software / Re: MP3 Player shield on: December 23, 2013, 08:43:16 pm
I don't speak italian but I understand you try to make a mp3 reader and search how to overcome the 8.3 limitation of SdFat library.
I had the same problem building my web radio listener/mp3 reader.
I can now read files by their long names using SdFat library.
May be a look at those posts can help you:
http://forum.arduino.cc/index.php?topic=171663.0   (in english)
and
http://forum.arduino.cc/index.php?topic=171663.0   (in french)
or there:
http://larocola.net/?c=larocola2

But now I want to LaRocola be able to act as a FTP server so that I can modify the content of the SD card without removing it.
For doing that I need to create files  by their  long names. I think than that would be very difficult to modify SdFat to get that result.
So I am looking for an other solution using  only 8.3 names and manage a additional file in each folder with the list of the files in the folder with their respective short and long names.

If you are interested I can write in french or spanish
7  Using Arduino / Audio / Re: Sparkfun MP3 Player Shield Compatability Problem on: December 21, 2013, 10:27:28 am
Hi imagineering
May there is two post of mine that can help you though they are based on Arduino Due and have link to my web page in french.:
 http://forum.arduino.cc/index.php?topic=167068.msg1333918#msg1333918
and
http://forum.arduino.cc/index.php?topic=168914.msg1256758#msg1256758
8  Products / Arduino Due / Re: Arduino DUE + SPI Pins Ethernet Shield on: November 05, 2013, 08:45:52 am
May this can help you:
http://forum.arduino.cc/index.php?topic=168914.msg1256758#msg1256758
it requires some soldering but it is not so complicated.
9  Using Arduino / Networking, Protocols, and Devices / Re: Ftp Server on Arduino on: October 09, 2013, 08:09:30 am
Hi SurferTim
Quote
This will be a real problem if the FTP client is behind a router.
Yes, I know that
Quote
If you plan on using this on your localnet only, active is the simplest way for the Arduino server.
That is the case, as you can understand reading my entire post.
If somebody need passive mode and can add this feature to the code, it would be nice.
Don't hesitate to fork my repository on GitHub
Quote
If you want to see FTP client code for the Arduino ethernet shield, here is mine.
By the way your code help me understand some features of ftp protocol. Thanks
10  Using Arduino / Project Guidance / Re: Manage SD files remotely from PC. on: October 09, 2013, 07:53:59 am
Hi riphet
Happy if my code can help you
Any comment would be welcome
11  Products / Arduino Due / Re: What is the limit for array size on Arduino DUE? on: October 08, 2013, 09:07:35 am
Thank you robtillaart for that clarification
12  Products / Arduino Due / Re: What is the limit for array size on Arduino DUE? on: October 08, 2013, 05:54:54 am
Well, my arguments in favor of #define are:
1- It is a constant that can not be modified later in the program
2- It does not waste ram memory
A constant variable meets the first point
I am not sure if it meets the second one?
Is there another argument in favor of a constant variable?
13  Products / Arduino Due / Re: What is the limit for array size on Arduino DUE? on: October 08, 2013, 04:56:46 am
I think the cleanest way to declare an array is using a #define directive:
Code:
#define ARRAY_SIZE 65536   // maximum for Due
uint8_t array[ ARRAY_SIZE ];
14  International / Réalisations et Projets Finis / Re: Écouter la radio en streaming on: September 28, 2013, 04:05:16 pm
J'ai ouvert un dépôt sur GitHub où sont disponibles tous les fichiers nécessaires à la programmation de LaRocola et des télécommandes sur PC, smartphones Android et Symbian.
Les instructions pour installer ces divers software sont sur le site de LaRocola
Dans le dépôt, se trouve en particulier le fichier Radios.zip qui contient les programmations de quelques radios.
Vous trouverez aussi ici les instructions pour programmer de nouvelles radios.
Bonne écoute!
15  Products / Arduino Due / Re: Scope images from my counterfeit DUE on: September 25, 2013, 03:49:44 pm
Definitively, it is a copy, unless they modify the font of the A at Arduino fabric...
Look the shape of A letters on "ANALOG IN" label on your image and on this: http://arduino.cc/en/uploads/Main/ArduinoDue_Front.jpg
Look too on symbols A0, A1, A2, ...
Look at the two notch under the native usb connector on this image: http://arduino.cc/en/uploads/Main/ArduinoDue_Back.jpg They do not exist on yours.
Pages: [1] 2 3 4