SAM E70 based MSD

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

Hello Everyone !

Being a developer I am facing some issues with SAM E70 which I hope could be resolved via this platform.I have attached my code along this post.This code is of SAME70 as usb mass storage device.Basically I have attcahed an eMMC with SAM which works on SDIO protocol just like an SD CARD.

My code works perfectly fine , no issues at all.

 

But the help required in my case is that I want to save encrypted data on my eMMC , Initially I want to do this by XORing the Incoming/Outgoing Data stream with any fixed array.

 

like BUF[]={0xAA,0xBB,0xCC,0xBB,0xCC,0xAA,0xBB,0xAA,0xBB}

 

CAN ANY ONE HELP/ GUIDE ME IN THIS REGARD ?

THE ISSUE HERE IS BASCALLY THE REAL TIME DATA HANDLING AND APPLYING THE XOR OPERATION.

 

THANKS!

 

USB MSC CODE SAM