Testing Effects of X-Radiation on Flash Memory

AI Thread Summary
The project involves testing the effects of X-radiation on flash memory by using 16MB Compactflash cards filled with data. The process includes creating 3876 files of 4KiB each for accurate hash checking before and after radiation exposure. The user encounters difficulties in creating multiple copies of a 4KiB file due to limitations in Windows XP, which results in errors when attempting to exceed a certain number of files. The issue is attributed to naming conflicts and potentially the maximum number of items allowed in the root directory. A batch file is suggested as a solution to automate the creation of the required files with unique names, although the user seeks assistance in writing this batch file.
Ewan_C
Messages
8
Reaction score
0
Hi guys

For a science fair project, I am going to test the effects of X-radiation on flash memory. I'm intending to fill a number of 16MB (15,876,096 byte) Compactflash cards with data, hash check the data with hkSFV, expose them to the radiation and hash check again for any data corruption.

The flash cards have a block size of 4KiB. To make the hash checking more 'accurate', I'd like to use many files which are as small as possible - this would be 3876 files of 4KiB each. However, I'm struggling to actually get 3876 4KiB files on a card, or onto my hard disk. It's easy enough to make a 4KiB file, just open notepad and write 4096 1s. I can't figure out how to make 3875 copies of this file though. If I use copy+paste in Windows XP, I get a 'disk is full or write-protected' error after about 1375 files, every time. I think it's a naming problem - I can never get above 'Copy of (999) file.txt'.

I think this could be done much better with a batch file. However my batch file writing skills are limited. Could anyone advise me on how to write a batch file which copies a file called 1.txt n times, with the filenames as 1+n.txt?
 
Computer science news on Phys.org
Maybe it's down to the number of items allowed in the root directory...
 
Ah, thanks for that. That's what's causing the problem.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

Replies
2
Views
6K
Replies
4
Views
11K
Replies
3
Views
2K
Replies
1
Views
2K
Replies
1
Views
2K
Replies
1
Views
10K
Replies
2
Views
4K
Back
Top