473,587 Members | 2,568 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

In which zone of ​​a flash memory could a write that will not get erase by formatting

14 New Member
Hello, I'm new here, english is not my native language, but I'm gonna do my best.

I need to know in wich zone or byte(s) could I write a few lines (in flash memory) that do not get erase after format the flash.......

I really apreciate any help...thanks in advance
Jun 23 '11 #1
19 2634
mac11
256 Contributor
What are you trying to accomplish exactly?

In general, if your program can write to some flash you (or somebody else/the OS) can erase it later.

Also "flash" is a really general concept. What specific "flash" are you dealing with? SD card, thumb drive, etc?
Jun 23 '11 #2
Gilberto Gil
14 New Member
Sorry,, i've not been exact at all...

I have a group of flash memories, not sd, just the common memories that we use to transport information all the time. the problem is that i need to mark this flash and asociate this mark with some password that the user of the flash could has.. I could do this encripting some file and copying it like normal data into the flash memory, but the problem is that it is a common file that any user could see and erase as you said, i need to achieve that in a low level(I guess) that the common user could not see the mark and even could not erase it by normal ways.........

I apreciate you are helping me up......sorry my english
Jun 23 '11 #3
Curtis Rutland
3,256 Recognized Expert Specialist
There's nothing that will prevent the formatting of a disk, one way or another. Especially not in C#.
Jun 24 '11 #4
Gilberto Gil
14 New Member
Exactly, so i need to write my little thing in a part of the memory that doesn't erase by formating....do you know what I mean. the thing is to keep whatever i'v writen even after formating...
The question is...when a disk is formated is writen all it's sapace of the partition? or is there any part that is not writen?.....aga in, sorry my english
Jun 24 '11 #5
Rabbit
12,516 Recognized Expert Moderator MVP
There's no way of doing it without creating custom firmware to replace what's on the USB. Much akin to what the U3 platform does on the SanDisk drives.
Jun 24 '11 #6
Gilberto Gil
14 New Member
But i have different types of memories, from diferents manufacturer,st ill could i do this?
Jun 24 '11 #7
Rabbit
12,516 Recognized Expert Moderator MVP
I'm not sure what you mean. You can hack and crack almost anything. But we're talking about custom firmware here, it's not a simple task. We are talking about technical knowledge well beyond a vast majority of the population.

There's always option two, which is fabrication, but if the first option is difficult, option two will be near impossible for most people.

Do yourself a favor and just buy some encrypted flash drives. The work is already done for you.
Jun 24 '11 #8
Curtis Rutland
3,256 Recognized Expert Specialist
And there's no way that you can do this with C#, or .NET period. If it is even possible, you're looking at Assembler or C.
Jun 25 '11 #9
johny10151981
1,059 Top Contributor
To understand what you want and what you can do, you need to know some issues. Like

What is Disk Format?

do you think format erase the disk?

No. Not completely. Format create the definition of the storage. i.e. How data will be stored, how they will be read and write, etc..

Do you know what is the format of your flash drive?

I can guess FAT32 or may be NTFS

To protect your specific data........ You better design your own FORMAT. Cause in typical formatting system like FAT, FAT32, NTFS, EXT or other file format they don't protect special memory portion.
Jun 25 '11 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

47
12104
by: Mountain Bikn' Guy | last post by:
Take some standard code such as shown below. It simply loops to add up a series of terms and it produces the correct result. // sum numbers with a loop public int DoSumLooping(int iterations) { int result = 0; for(int i = 1;i <=iterations;i++) { result += i;
18
20517
by: Gustaf Liljegren | last post by:
IE does, and I can't remember this used to be a problem in Netscape. I guess someone in the Mozilla team just came up with a Smart Idea about the True Semantics of the Hyphen Minus character. :-( How do I make IE and Firefox agree to make hyphens trigger a linebreak? Gustaf
28
9050
by: Andreas Prilop | last post by:
Jukka reports on http://www.cs.tut.fi/~jkorpela/chars/spaces.html that Internet Explorer 6 fails on the "zero width space" U+200B ​ Is this observation still valid? For which versions of MS Windows does it apply? Does it depend on the encoding (charset)? I have a test page in three encodings:...
11
5337
by: Darren Anderson | last post by:
I have a function that I've tried using in an if then statement and I've found that no matter how much reworking I do with the code, the expected result is incorrect. the code: If Not (strIn.Substring(410, 10).Trim = "") Then 'Something processed Else 'Something processed
5
4435
by: | last post by:
Hi all, HttpWebRequest, and SoapHttpClientProtocol both expose a ClientCertificates property, which can hold multiple client certificates, but on the service side, it can only receive one client certificate, since it derives System.Web.Services.WebService class, and it's Context.Request.ClientCertificate is a single HttpClientCertificate...
4
4541
by: Rubin | last post by:
1) I want to show a breaking hyphen in Mozilla 1.5.0.4 How do I do that? "Unicode standard annex #14", <http://www.unicode.org/reports/tr14/>, defines 4 breaking hyphens. <quote> Breaking hyphens establish explicit break opportunities immediately after each occurrence.
8
1568
by: Santos L Halper | last post by:
i cant believe that im the only person that has ever run into this problem. im using a very simple table to layout a page. the table has 3 columns, with the middle column being where the data will be displayed. the table is set at 500px wide, with each column being a width that adds up to 500px. so far so simple. the text that will display...
15
11579
by: removeps-groups | last post by:
How to wrap text in <ptag if the text has no spaces and is very long? Here is an example: <p>VeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLong</ p> The above line is so long...
7
2353
by: mjbauer95 | last post by:
I have a function that I want to be able to use to find out if a string is in a string. int in(char string, char finder){ int i = 0; int j = 0; int r = 0; int flag = 0; while (string != '\0') {
0
1544
davide marchi
by: davide marchi | last post by:
Hi friends, I need to extract email addresses from a public site that publishes the names of companies in adobe flash format: http://www.vinitaly.com/catalogo I only use Linux, but do not yet know well the various programming languages​​, some of you experts could give me some suggestions? I've been seen this...
0
8206
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7967
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5713
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.