User Profile
Collapse
-
Keeping changes after WriteFile, why it doesn' happen
I'm trying to Write to my flash memory,, I've read the firts 512 bytes, modified that array changing some bytes for others and then using WriteFile API function, wrote (or tried) again those 512 first bytes into my memory again.. this WriteFile API function return 1 , after that I use CloseHandle API function closing the handle I used to interact with the memory...but, when I see my memory using WinHex(hex editor) the bytes there are the same before... -
I am just trying to interchange some bytes of my buffer for other -
What is the fastest way to modify a byte array?
I need to modify a byte array that I've read from my memory.... a need to modify it an then rewrite to my flash all it again..but i need to do it faster.. then my question is how to modify that array as faster as i can, note that the other work reading memory etc is already done?.......... .. thanks in advance -
Gilberto Gil started a topic How can I use WriteFile API funct with an offset not multiple of 512 inside my flashin C SharpHow can I use WriteFile API funct with an offset not multiple of 512 inside my flash
Hello..........
I'm now after achieving ReadFile() using this API function trying to write using WriteFile API function some bytes to my flash memory(pendrive ). the problem is that I only can move the pointer using SetFilePointerE x() API function a multiple of 512 bytes offset, what if I want to write for example at 43 bytes offset? 43 is not multiple of 512 then a can't get there using SetFilePointerE x().. or really a can but a don't... -
SetFilePointerEx doesn't seek my memory flash, why is this?
Hello...I've a problems trying to move the pointer forward.. I'm trying to read my flash memory as array of bytes... Using SetFilePointerE x API function I've already did it, but, the problems is that it always read begening at 0 byte, I can't begin with offset of 512 bytes for example... why is this.....Note: it works pretty well seeking a file like .txt file. Some help.. please....I really need some help..
My code:
... -
Gilberto Gil replied to In which zone of a flash memory could a write that will not get erase by formattingin C SharpThanks a lot. really.....you have convinced me.. i'll check TrueCrypt out...really I'm very grateful...Leave a comment:
-
Gilberto Gil replied to In which zone of a flash memory could a write that will not get erase by formattingin C SharpRabbit, maybe I have not been clear enough..so..
I've two thing to accomplish. the first was really that i posted here....In which zone of a flash memory could a write that will not get erase by formatting......but, as you said it can't be done without writing custom firmware. I've already understood that..
The second that I need to do is to protect the information inside flash memories, it's right that I could encrypt the file but...Leave a comment:
-
Gilberto Gil replied to In which zone of a flash memory could a write that will not get erase by formattingin C SharpO.K...then we can't definitly write the memory without writing custom firmware or etc.. ok then I can't mark in that way my flash memories....... but....Sorry..a re you saying that we can't write the flash memory in any way? neither at any hight level? if so... it's frustrating for me...i'm saying that for the other that i've to, create my own format and implement: copy, delete etc etc..do not forget that I don't care if the momery after my formating...Leave a comment:
-
Gilberto Gil replied to In which zone of a flash memory could a write that will not get erase by formattingin C SharpCurtis.....it doesn't matter to me. because if the memory is formated at a low level the information will be a little more dificult to recover. doesn't matter if the information inside the memory is lost.. it will be just one more security level to mantain my information far from the people outside... :)Leave a comment:
-
Gilberto Gil replied to In which zone of a flash memory could a write that will not get erase by formattingin C SharpThanks a lot everyone..
I can format all my flash mamories using FAT32, then a need to know if after i've formated the flash is there any part in wich could write my thing and where is this...
I could create my own format table(that is not an easy task, a think) or simply i could use FAT32 format if i really know if this format do not use some part of the memory then i could use it, that unused part.
Don't you think?
...Leave a comment:
-
Gilberto Gil replied to In which zone of a flash memory could a write that will not get erase by formattingin C SharpBut i have different types of memories, from diferents manufacturer,st ill could i do this?Leave a comment:
-
Gilberto Gil replied to In which zone of a flash memory could a write that will not get erase by formattingin C SharpExactly, 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 englishLeave a comment:
-
Gilberto Gil replied to In which zone of a flash memory could a write that will not get erase by formattingin C SharpSorry,, 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...Leave a comment:
-
Gilberto Gil started a topic In which zone of a flash memory could a write that will not get erase by formattingin C SharpIn which zone of a flash memory could a write that will not get erase by formatting
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
No activity results to display
Show More
Leave a comment: