Giter VIP home page Giter VIP logo

Comments (11)

xxxajk avatar xxxajk commented on August 14, 2024

It's not meant for use via ADK, plus, I have to do an upload due to a small
bug. I also need a few extra details from you.

  1. Which Arduino is your base. This is really only going to work well if at
    all on a mega. it is not tested yet on a mega2560.
  2. Do you have a quadram? If not, you are going to be very limited in what
    you can do because of memory constraints. Do yourself a favor, and get or
    make one. order from here, schematics too:
    http://ruggedcircuits.com/html/quadram.html
  3. Are you using the USBHOST 2.0 library? If not, you totally need that.
    https://github.com/felis/USB_Host_Shield_2.0

On Wed, May 22, 2013 at 5:48 AM, Jean Inderchit [email protected]:

Hi,
I just started to use you library which looks really promising.
However, I encounter a problem while trying to build an example (again
your example) called testusbhostFAT.
When building it I have an error because MASS_MAX_SUPPORTED_LUN is not
declared.
I am trying to write a file to an USB stick via the Arduino ADK.
Thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

from generic_storage.

xxxajk avatar xxxajk commented on August 14, 2024

Oh, one other thing. You will also need my patch. and the latest 1.0.5
Arduino. Email me directly for the patch.

On Wed, May 22, 2013 at 1:16 PM, Andrew Kroll [email protected] wrote:

It's not meant for use via ADK, plus, I have to do an upload due to a
small bug. I also need a few extra details from you.

  1. Which Arduino is your base. This is really only going to work well if
    at all on a mega. it is not tested yet on a mega2560.
  2. Do you have a quadram? If not, you are going to be very limited in what
    you can do because of memory constraints. Do yourself a favor, and get or
    make one. order from here, schematics too:
    http://ruggedcircuits.com/html/quadram.html
  3. Are you using the USBHOST 2.0 library? If not, you totally need that.
    https://github.com/felis/USB_Host_Shield_2.0

On Wed, May 22, 2013 at 5:48 AM, Jean Inderchit [email protected]:

Hi,
I just started to use you library which looks really promising.
However, I encounter a problem while trying to build an example (again
your example) called testusbhostFAT.
When building it I have an error because MASS_MAX_SUPPORTED_LUN is not
declared.
I am trying to write a file to an USB stick via the Arduino ADK.
Thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

from generic_storage.

xxxajk avatar xxxajk commented on August 14, 2024

updates pushed to github.

On Wed, May 22, 2013 at 1:21 PM, Andrew Kroll [email protected] wrote:

Oh, one other thing. You will also need my patch. and the latest 1.0.5
Arduino. Email me directly for the patch.

On Wed, May 22, 2013 at 1:16 PM, Andrew Kroll [email protected] wrote:

It's not meant for use via ADK, plus, I have to do an upload due to a
small bug. I also need a few extra details from you.

  1. Which Arduino is your base. This is really only going to work well if
    at all on a mega. it is not tested yet on a mega2560.
  2. Do you have a quadram? If not, you are going to be very limited in
    what you can do because of memory constraints. Do yourself a favor, and get
    or make one. order from here, schematics too:
    http://ruggedcircuits.com/html/quadram.html
  3. Are you using the USBHOST 2.0 library? If not, you totally need that.
    https://github.com/felis/USB_Host_Shield_2.0

On Wed, May 22, 2013 at 5:48 AM, Jean Inderchit <[email protected]

wrote:

Hi,
I just started to use you library which looks really promising.
However, I encounter a problem while trying to build an example (again
your example) called testusbhostFAT.
When building it I have an error because MASS_MAX_SUPPORTED_LUN is not
declared.
I am trying to write a file to an USB stick via the Arduino ADK.
Thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

from generic_storage.

athanase avatar athanase commented on August 14, 2024

My arduino is an ADK which is a mega2560 with an integrated USB host.
So I also use the USB Host shield 2.0 library which compiles and work perfectly for this card (as I am able to get the descriptors, get the partitions, etc...).
You said that I should get a quadram but don't you think that if I only want to create one file the memory inside would be enough ?

from generic_storage.

athanase avatar athanase commented on August 14, 2024

So I'm using your patch with the USBHOST 2.0 library for the ADK (by uncommenting #define BOARD_MEGA_ADK int the file avrpins.h). I compile everything with Arduino Cmake.

And here are the errors:
MASS_MAX_SUPPORTED_LUN was not declared in this scope
MASS_ERR_WRITE_PROTECTED’ was not declared in this scope

And I don't really know what they mean and what they are...

from generic_storage.

xxxajk avatar xxxajk commented on August 14, 2024

Be sure that only the 2.0 version of usbhost is available.
On May 23, 2013 4:13 AM, "Jean Inderchit" [email protected] wrote:

So I'm using your patch with the USBHOST 2.0 library for the ADK (by
uncommenting #define BOARD_MEGA_ADK int the file avrpins.h). I compile
everything with Arduino Cmakehttps://github.com/queezythegreat/arduino-cmake
.

And here are the errors:
‘MASS_MAX_SUPPORTED_LUN’ was not declared in this scope
‘MASS_ERR_WRITE_PROTECTED’ was not declared in this scope

And I don't really know what they mean and what they are...


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-18329238
.

from generic_storage.

athanase avatar athanase commented on August 14, 2024

It is, do you know where they are supposed to be defined, and what they are ?

from generic_storage.

xxxajk avatar xxxajk commented on August 14, 2024

Try the xxxajk branch of the usbhost library. I'll get in touch with Oleg
and find out why it has not been merged yet.
On May 23, 2013 3:45 PM, "Jean Inderchit" [email protected] wrote:

It is, do you know where they are supposed to be defined, and what they
are ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-18367190
.

from generic_storage.

xxxajk avatar xxxajk commented on August 14, 2024

Wait a few more days, he has to do some extra checking, then it will be in the master branch. Again, for now, use the xxxajk branch. You can view it here: https://github.com/felis/USB_Host_Shield_2.0/tree/xxxajk

from generic_storage.

athanase avatar athanase commented on August 14, 2024

Perfect ! I will give it a try and I'll let you know in a few hours !
Thanks !

On Friday, May 24, 2013, xxxajk wrote:

Wait a few more days, he has to do some extra checking, then it will be in
the master branch. Again, for now, use the xxxajk branch. You can view it
here: https://github.com/felis/USB_Host_Shield_2.0/tree/xxxajk


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-18381045
.

Jean Inderchit

from generic_storage.

xxxajk avatar xxxajk commented on August 14, 2024

Resolved. User needed proper Arduino (1.0.5) and a few extra bits. Thank you for testing. Will put details for the masses soon. :-)

from generic_storage.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.