zedrummer
Posts: 38
Joined: Sun Jan 07, 2018 5:15 pm

Practical question: RPi SD card reader worn

Mon Jan 08, 2018 9:16 am

Hello
I was wondering, as bare metal programming is about changing the kernel.img file of the SD card, replacing it on the RPi, testing, removing it, changing the kernel.img..., if there are no risks for the RPi SD card reader to get worn (even if I remove and replace the card carefully)?
Thank you
Cathy L.

User avatar
DougieLawson
Posts: 33314
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Practical question: RPi SD card reader worn

Mon Jan 08, 2018 10:15 am

The socket is good for tens of thousands of pull/push operations.
The microSD is good for hundreds of thousands of re-write operations.

So you shouldn't have a problem.

Just check you're not getting dust and cruft in the SDCard slot.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

zedrummer
Posts: 38
Joined: Sun Jan 07, 2018 5:15 pm

Re: Practical question: RPi SD card reader worn

Mon Jan 08, 2018 10:18 am

Thank you for your quick answer Dougie. I'll take care about the dust.
Cathy L.

bzt
Posts: 139
Joined: Sat Oct 14, 2017 9:57 pm

Re: Practical question: RPi SD card reader worn

Mon Jan 08, 2018 1:10 pm

Hi Cathy!

If you are worrying about it, you can use this: https://github.com/mrvn/raspbootin
It will use a fix kernel.img on the SD card which will load your real kernel.img over serial. No need to remove the SD card at all.

Bests,
bzt

zedrummer
Posts: 38
Joined: Sun Jan 07, 2018 5:15 pm

Re: Practical question: RPi SD card reader worn

Mon Jan 08, 2018 3:25 pm

That seems an easy and nice bootloader to help debugging.
Thanks a lot bzt

dwelch67
Posts: 936
Joined: Sat May 26, 2012 5:32 pm

Re: Practical question: RPi SD card reader worn

Mon Jan 08, 2018 3:50 pm

I agree, go with a bootloader. the original pi something about that full sized slot would crack a corner of my sd card adapters, ran through a number of them (before having a solid bootloader). later adafruit made a pcb flush mount micro sd adapter that would slide in and that problem got solved.

Return to “Bare metal, Assembly language”

Who is online

Users browsing this forum: No registered users and 4 guests