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.
 
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...
I came across a video regarding the use of AI/ML to work through complex datasets to determine complicated protein structures. It is a promising and beneficial use of AI/ML. AlphaFold - The Most Useful Thing AI Has Ever Done https://www.ebi.ac.uk/training/online/courses/alphafold/an-introductory-guide-to-its-strengths-and-limitations/what-is-alphafold/ https://en.wikipedia.org/wiki/AlphaFold https://deepmind.google/about/ Edit/update: The AlphaFold article in Nature John Jumper...

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