SAME70 USB in MSC+Cache Enable

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi All !!

 

This is a long lasting problem with SAME70. I want to use SD (MCI) card with USB in MSC mode. SD card needs SCB_EnableICache() and SCB_EnableDCache() functions to get detected whereas USB can't enumerate in MSC mode while Cache is enabled. Has anyone found any workaround or the bug is fixed?

 

If I program the controller with SD card example code and re-program it with USB-MSC code without giving it a power cycle off, I can enumerate SD card easily. Using SCB_EnableDCache() in MSC code is actually creating a chaos.

 

Has anyone solved this problem?