Adafruit Trinket USB: Android cannot access as USB memory stick

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have not been able to use Android 6.0.1 (Samsung Note 4) to access an ATSAMD21E18 based Adafruit Trinket M0 as a USB drive.  I get an 'Unsupported ATMEL USB drive' on the Android screen.  When plugged into USB, the Trinket opens as a 'mouse' device.  Regular USB memory sticks open OK on this Note 4.

 

The Trinket opens as a USB drive just fine with PC Windows 7.  The Trinket 'drive' is formated FAT32 (I know Android has trouble with NTFS).

 

I contacted Adafruit and they said 'We use the Atmel software library, so its a problem on their end'.

 

The Trinket M0 hosts native Python.  All you have to do is plug it into USB, open main.py, edit, and save.  It runs the Python program on reset.  With Windows 7 this works.

 

It would be really cool if I could use Android as a terminal for editing files on the Trinket.  Development in your pocket.

 

I need to do this with wired USB.  (Bluetooth is not an option, alas.)

 

Is there anything I can do to fix the driver problem myself?  If not, what should I tell Adafruit to look into?  (Or... am I screwed.)

 

Thanks

Mark

 

 

Last Edited: Sun. Oct 8, 2017 - 06:17 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Specifically, we’re talking about micropython, not python. My suggestion is to post your question on the micropython forums - my guess is android might be unhappy about the size of the emulated filesystem.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The CIRCUITPY drive is formatted as FAT12, which is used for very small filesystems (usually 16MB or less). It appears that Android does not support FAT12: I tried on a Kindle Fire with OTG capability (though not on a regular Android tablet or phone).

 

(I work on CircuitPython. Feel free to discuss further at https://forums.adafruit.com, though somebody already did: https://forums.adafruit.com/view...)