GSM Shop GSM Shop
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.
Only registered members may post questions, contact other members or search our database of over 8 million posts.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

If you have any problems with the registration process or your account login, please contact contact us .

Go Back   GSM-Forum > Other Gsm/Mobile Related Forums > GSM Programming & Reverse Engineering


GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets.

Reply
 
LinkBack Thread Tools Display Modes
Old 06-28-2012, 14:01   #1 (permalink)
Freak Poster
 
Join Date: Sep 2007
Location: The land of Cyrus The Great
Age: 43
Posts: 278
Member: 587800
Status: Offline
Sonork: 100.1582587
Thanks Meter: 73
Formatting SDcard, nand flash ,....


hi
can some one explain how can I format a sdcard (fat16 & fat32) or any media with avr-atmega128?
sdcard is connected to microcontroller via SPI
I am usnig "Fatfs library" from Mr chan(ELM by ChaN)
I can write sectors one by one (every sector is 512 bytes) with this function:
Code:
DRESULT disk_write (   BYTE Drive,          /* Physical drive number */   
const BYTE* Buffer,  /* Pointer to the write data (may be non aligned)*/   
DWORD SectorNumber,  /* Sector number to write */  
BYTE SectorCount     /* Number of sectors to write */ );
  Reply With Quote
The Following User Says Thank You to M-taheri For This Useful Post:
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
need to flash 6110 paulomt1 Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 2 08-16-2019 19:37
Seeking for flash nokia 5110 old version (3 version) can exchange for new Tomas Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 8 10-14-2017 19:29
5110 flash new software , need help steve Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 4 01-03-2015 05:41
Nokia Flash Content. Phantom Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 2 05-01-2000 23:28

 



All times are GMT +1. The time now is 08:21.



Powered by Searchlight © 2024 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -
Page generated in 0.11622 seconds with 9 queries

SEO by vBSEO