Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

MSD USB Drive - Hidden mode

MSD USB Drive - Hidden mode

2006-05-19 by radim100

Hi,
I have MSD ( Mass Storage Device ) running on LPC214X ( LPCUSB 
stack ) .
In my application I want to be able to access this as a drive 
from "only " custom application program but still as an MSD. I do not 
want drive be visible from Window XP/98/NT. What is the simples way to 
do that. Is there any way to assign password, user 
Etc to MSD ?
Thanks Radim
http://www.micronix.ca

Re: [lpc2000] MSD USB Drive - Hidden mode

2006-05-19 by 42Bastian Schick

radim100 schrieb:
> Hi,
> I have MSD ( Mass Storage Device ) running on LPC214X ( LPCUSB 
> stack ) .
> In my application I want to be able to access this as a drive 
> from "only " custom application program 
How ? Files or sectors ?

>but still as an MSD. I do not 
> want drive be visible from Window XP/98/NT. What is the simples way to 

You mean, windows shall detect it but not see any contents ?

> do that. Is there any way to assign password, user 
> Etc to MSD ?

What comes to mind is a key-pattern, e.g. reading sector 0,8,1 and 5
than you have full access.

Since MSD uses sector-wise access you need to know where on the MSD the
parts are store windows needs to detect it as drive correctly and those
parts which are to be hidden.

Do you use the filesystem from you LPC application as well ?

You might simply crypt the relevant data ?!

-- 
42Bastian

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.