Again not working: Data Cache and USB Device

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

Dear all,

I just updated to the latest ASF release 3.36.0 and hoped that the USB Composite (CDC + MSC) will work now with Cache enabled. However it does not. Anyone already find a way how to use the Data-Cache on the SAME70 together with the USB stack? Is there a fundamental problem with the SAME70 that prevents this or what is the reason for it?

 

Best Regards

Markus

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

Dear all,

 

I just find out that the software examples at http://www.atmel.com/tools/samv71-samv70-same70-sams70-software-package.aspx enables the D and I Cache for the USB examples (at least the composite one that I'm looking for). As far as I can tell from a quick look it seems to work. It's totally unclear to me why the latest ASF or the ASF examples are not on the same level. The working versions are almost 2 years old :-(

 

Best Regards

Markus

 

 

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

Markus,

 

I have nearly the same problem. I'm using the USB as a MSD host and with D cache enabled it doesn't work. I've even tried to swap the ASF USB host stack with the Atmel Software pack, but is not working either.

 

When I plug a MSD device into it I can see the enumeration starting but then i got a "pipe error".

 

Marko

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

Dear Marko,

 

sorry, missed a long time your comment.

Anyway, just in case this is still a pending problem. As far as I know the ASF softwarepack is just offering examples for a USB Device. Not for USB Host. Can you please verify this?

 

Best Regards

Markus

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

Has anyone solved this problem of the ATSAM USB stack not working when I or D cache is enabled? Because it hit me too. ATSAM v71 ASV v3.37.  If this is indeed a limitation of ATSAM then it looks like I won't be able to use the USB stack at the same time as an external SRAM? This seems like a huge problem. And advice or direction appreciated.  

mySignature