Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

NandFlashϵÁÐÖ®¶þ£ºS3C2410¶ÁдNand Flash·ÖÎö

NandFlashϵÁÐÖ®¶þ£ºS3C2410¶ÁдNand Flash·ÖÎö
2009Äê12ÔÂ09ÈÕ ÐÇÆÚÈý 09:06
Ò»¡¢½á¹¹·ÖÎö
S3C2410´¦ÀíÆ÷¼¯³ÉÁË8λNandFlash¿ØÖÆÆ÷¡£Ä¿Ç°Êг¡Éϳ£¼ûµÄ8λNandFlashÓÐÈýÐǹ«Ë¾µÄk9f1208¡¢k9f1g08¡¢k9f2g08µÈ¡£k9f1208¡¢k9f1g08¡¢k9f2g08µÄÊý¾ÝÒ³´óС·Ö±ðΪ512Byte¡¢2kByte¡¢2kByte¡£ËüÃÇÔÚÑ°Ö··½Ê½ÉÏÓÐÒ»¶¨²îÒ죬ËùÒÔ³ÌÐò´úÂë²¢²»Í¨Óᣱ¾ÎÄÒÔS3C2410´¦ÀíÆ÷ºÍk9f1208ϵͳΪÀý£¬½²ÊöNandFlashµÄ¶Áд·½·¨¡£
NandFlashµÄÊý¾ÝÊÇÒÔbit µÄ·½Ê½±£´æÔÚmemory cellÀïµÄ£¬Ò»°ãÀ´Ëµ£¬Ò»¸öcell ÖÐÖ»ÄÜ´æ´¢Ò»¸öbit£¬ÕâЩcell ÒÔ8 ¸ö»òÕß16 ¸öΪµ¥Î»£¬Á¬³Ébit line£¬ÐγÉËùνµÄbyte(x8)/word(x16)£¬Õâ¾ÍÊÇNAND Device µÄλ¿í¡£ÕâЩLine ×é³ÉPage£¬ page ÔÙ×éÖ¯ÐγÉÒ»¸öBlock¡£k9f1208µÄÏà¹ØÊý¾ÝÈçÏ£º
1block=32page£»1page=528byte=512byte(Main Area)+16byte(Spare Area)¡£
×ÜÈÝÁ¿Îª=4096£¨blockÊýÁ¿£©*32£¨page/block£©*512(byte/page)=64Mbyte
NandFlashÒÔҳΪµ¥Î»¶ÁдÊý¾Ý£¬¶øÒÔ¿éΪµ¥Î»²Á³ýÊý¾Ý¡£°´ÕÕk9f1208µÄ×éÖ¯·½Ê½¿ÉÒÔ·ÖËÄÀàµØÖ·£º Column Address¡¢halfpage pointer¡¢Page Address ¡¢Block Address¡£A[0:25]±íʾÊý¾ÝÔÚ64M¿Õ¼äÖеĵØÖ·¡£
Column Address±íʾÊý¾ÝÔÚ°ëÒ³ÖеĵØÖ·£¬´óС·¶Î§0~255£¬ÓÃA[0:7]±íʾ£»
halfpage pointer±íʾ°ëÒ³ÔÚÕûÒ³ÖеÄλÖ㬼´ÔÚ0~255¿Õ¼ä»¹ÊÇÔÚ256~511¿Õ¼ä£¬ÓÃA[8]±íʾ£»
Page Address±íʾҳÔÚ¿éÖеĵØÖ·£¬´óС·¶Î§0~31£¬ÓÃA[13:9]±íʾ£»
Block Address±íʾ¿éÔÚflashÖеÄλÖ㬴óС·¶Î§0~4095£¬A[25:14] ±íʾ£»
¶þ¡¢¶Á²Ù×÷¹ý³Ì
K9f1208µÄÑ°Ö··ÖΪ4¸öcycle¡£·Ö±ðÊÇ£ºA[0:7]¡¢A[9:16]¡¢A[17:24]¡¢A[25]¡£
¶Á²Ù×÷µÄ¹ý³ÌΪ: 1¡¢·¢ËͶÁÈ¡Ö¸Á2¡¢·¢Ë͵Ú1¸öcycleµØÖ·£»3¡¢·¢Ë͵Ú2¸öcycleµØÖ·£»4¡¢·¢Ë͵Ú3¸öcycleµØÖ·£»5¡¢·¢Ë͵Ú4¸öcycleµØÖ·£»6¡¢¶ÁÈ¡Êý¾ÝÖÁҳĩ¡£
K9f1208ÌṩÁËÁ½¸ö¶ÁÖ¸Á‘0x00’¡¢‘0x01’¡£ÕâÁ½¸öÖ¸ÁîÇø±ðÔÚÓÚ‘0x00’¿ÉÒÔ½«A[8]ÖÃΪ0£¬Ñ¡ÖÐÉÏ°ëÒ³£»¶ø‘0x01’¿ÉÒÔ½«A[8]ÖÃΪ1£¬Ñ¡ÖÐÏ°ëÒ³¡£
ËäÈ»¶Áд¹ý³Ì¿ÉÒÔ²»´ÓÒ³±ß½ç¿ªÊ¼£¬µ«ÔÚÕýʽ³¡ºÏÏ»¹Êǽ¨Òé´ÓÒ³±ß½ç¿ªÊ¼¶ÁдÖÁÒ³½áÊø¡£ÏÂÃæͨ¹ý·ÖÎö¶ÁÈ¡Ò³µÄ´úÂ룬²ûÊö¶Á¹ý³Ì¡£
static void ReadPage(U32 addr, U8 *buf) //addr±íʾflashÖеĵڼ¸Ò³£¬¼´‘flashµØÖ·>>9’
{
U16 i;
NFChipEn(); //ʹÄÜNandFlash
WrNFCmd(READCMD0); //·¢ËͶÁÖ¸Áî‘0x00’£¬ÓÉÓÚÊÇÕûÒ³¶ÁÈ¡


Ïà¹ØÎĵµ£º

´¿CʵÏÖc++Àà

//#include "stdafx.h"
/*
ÃèÊö:´¿cÄ£ÄâÀà,´¿c±àдc++Àà,´¿cʵÏÖc++ÀàµÄ¼òµ¥·¶Àý,½á¹¹Ä£ÄâÀà,struct ±àдclass.
c±àдÀàÊÇʵÏÖ´¿c±àдcom×é¼þµÄ»ù´¡¡£
*/
#include <stdio.h>
typedef struct _Vtbl
{
    void (*AddRef)(struct CObject* obj,int);//ËùÓеĺ¯ÊýµÄµÚÒ»¸ö²ÎÊýÀàËÆclassµÄÒþÄäµÄ ......

CÖ¸Õë

 
Ö¸ÕëÊÇcºÍc++ÖеÄÄѵãºÍÖص㡣ÎÒÖ»¾«Í¨dosϵÄbasic¡£cÓïÑÔµÄÆäËü¸÷ÖÖÌØÐÔ£¬ÔÚbasicÖж¼ÓÐÀàËƵĶ«Î÷¡£Ö»ÓÐÖ¸Õ룬ÊÇbaiscËù²»¾ß±¸µÄ¡£Ö¸ÕëÊÇcµÄÁé»ê¡£
ÎÒ²»ÏëÖظ´´ó¶àÊýÊéÉÏ˵µÃºÜÇå³þµÄ¶«Î÷£¬ÎÒÖ»ÊÇ°ÑÎÒ¿´¹ýµÄÊéÖÐ˵µÃ²»Çå³þ»òûÓÐ˵£¬¶øÎÒÓÖ¾õµÃÎÒÀí½âµÃÓеãµÀÀíµÄ¶«Î÷д³öÀ´¡£ÎÒµÄÄ¿µÄÊÇ£º
1¡£Í¨¹ýдÕâЩ¶«Î ......

delphiÖÐʹÓÃflash¿Ø¼þµÄ·½·¨

flashÊÇmacromedia¹«Ë¾³öÆ·µÄ£¬ÓÃÔÚ»¥ÁªÍøÉ϶¯Ì¬µÄ¡¢¿É»¥¶¯µÄshockwave¡£ËüµÄÓŵãÊÇÌå»ýС£¬¿É±ßÏÂÔر߲¥·Å£¬ÕâÑù¾Í±ÜÃâÁËÓû§³¤Ê±¼äµÄµÈ´ý¡£
    flash¿ÉÒÔÓÃÆäÉú³É¶¯»­£¬»¹¿ÉÔÚÍøÒ³ÖмÓÈëÉùÒô¡£ÕâÑùÄã¾ÍÄÜÉú³É¶àýÌåµÄͼÐκͽçÃ棬¶øʹÎļþµÄÌå»ýÈ´ºÜС¡£
    flashËäÈ»²»¿ÉÒÔÏóÒ»ÃÅÓïÑÔ ......

¹ØÓÚAJAX¡¢B/S¡¢C/SµÄ¼¸¸ö˼¿¼


B/SΪºÎÄÑÓÚÌṩºÃµÄÓû§½»»¥ÌåÑé?
×î´óÎÊÌâÓм¸¸ö£º
¡¡¡¡(1)ÎÞ״̬µÄHTTPЭÒé
¡¡¡¡WINDOWS´°Ìå¼äÄܹ»Í¨¹ýÄÚ´æÖ±½Ó½»»»ÐÅÏ¢£¬µ«×÷ΪB/S¼Ü¹¹Í¨Ñ¶»ù´¡Ð­ÒéµÄHTTPÊÇÎÞ״̬µÄ¡£
¡¡¡¡Èç¹û½«ä¯ÀÀÆ÷¿´³ÉÊÇ¿ÍÈË£¬Web·þÎñÆ÷¿´³ÉÊÇÂùݣ¬ÔÚHTTPЭÒéµÄ¹ÜÀí֮ϣ¬»á³öÏÖÕâÖÖÇé¿ö£º²»¹Üij¿ÍÈËÀ´·Ã¶àÉٴΣ¬Web·þÎñÆ÷¶¼½«ÆäÊÓΪµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ