Care Unlock  
Your online unlock store
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. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

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: 32
Posts: 275
Member: 587800
Status: Offline
Sonork: 100.1582587
Thanks: 128
Thanked 72 Times in 29 Posts
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
FLASH BOX WANTED!!!!!! J Wanted Products 9 07-14-2012 20:42
Seeking for flash nokia 5110 old version (3 version) can exchange for new Tomas Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 7 11-17-2011 17:08
Nokia Flash Content. Phantom Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 2 05-01-2000 23:28
need to flash 6110 paulomt1 Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 0 08-16-1999 12:20
5110 flash new software , need help steve Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 2 07-07-1999 12:27


All times are GMT +1. The time now is 20:29.



Powered by Searchlight © 2013 Axivo Inc.
- GSM Hosting Ltd. - 1999-2013 -
Page generated in 0.19150 seconds with 11 queries

SEO by vBSEO