nor and nand flash desc.
NORºÍNANDÊÇÏÖÔÚÊг¡ÉÏÁ½ÖÖÖ÷ÒªµÄ·ÇÒ×ʧÉÁ´æ¼¼Êõ¡£IntelÓÚ1988ÄêÊ×ÏÈ¿ª·¢³öNOR flash¼¼Êõ,³¹µ×¸Ä±äÁËÔÏÈÓÉEPROMºÍEEPROMһͳÌìϵľÖÃæ¡£½ô½Ó×Å,1989Äê,¶«Ö¥¹«Ë¾·¢±íÁËNAND flash½á¹¹,Ç¿µ÷½µµÍÿ±ÈÌصijɱ¾,¸ü¸ßµÄÐÔÄÜ,²¢ÇÒÏó´ÅÅÌÒ»Ñù¿ÉÒÔͨ¹ý½Ó¿ÚÇáËÉÉý¼¶¡£µ«ÊǾ¹ýÁËÊ®¶àÄêÖ®ºó,ÈÔÈ»ÓÐÏ൱¶àµÄÓ²¼þ¹¤³Ìʦ·Ö²»ÇåNORºÍNANDÉÁ´æ¡£
¡¡¡¡Ïà“flash´æ´¢Æ÷”¾³£¿ÉÒÔÓëÏà“NOR´æ´¢Æ÷”»¥»»Ê¹Óá£Ðí¶àÒµÄÚÈËÊ¿Ò²¸ã²»Çå³þNANDÉÁ´æ¼¼ÊõÏà¶ÔÓÚNOR¼¼ÊõµÄÓÅÔ½Ö®´¦,ÒòΪ´ó¶àÊýÇé¿öÏÂÉÁ´æÖ»ÊÇÓÃÀ´´æ´¢ÉÙÁ¿µÄ´úÂë,ÕâʱNORÉÁ´æ¸üÊʺÏһЩ¡£¶øNANDÔòÊǸßÊý¾Ý´æ´¢ÃܶȵÄÀíÏë½â¾ö·½°¸¡£
¡¡¡¡NORµÄÌصãÊÇоƬÄÚÖ´ÐÐ(XIP, eXecute In Place),ÕâÑùÓ¦ÓóÌÐò¿ÉÒÔÖ±½ÓÔÚflashÉÁ´æÄÚÔËÐÐ,²»±ØÔÙ°Ñ´úÂë¶Áµ½ÏµÍ³RAMÖС£
NORµÄ´«ÊäЧÂʺܸß,ÔÚ1¡«4MBµÄСÈÝÁ¿Ê±¾ßÓкܸߵijɱ¾Ð§Òæ,µ«ÊǺܵ͵ÄдÈëºÍ²Á³ýËٶȴó´óÓ°ÏìÁËËüµÄÐÔÄÜ¡£
¡¡¡¡NAND½á¹¹ÄÜÌṩ¼«¸ßµÄµ¥ÔªÃܶÈ,¿ÉÒÔ´ïµ½¸ß´æ´¢ÃܶÈ,²¢ÇÒдÈëºÍ²Á³ýµÄËÙ¶ÈÒ²ºÜ¿ì¡£Ó¦ÓÃNANDµÄÀ§ÄÑÔÚÓÚflashµÄ¹ÜÀíºÍÐèÒªÌØÊâµÄϵͳ½Ó¿Ú¡£
ÐÔÄܱȽÏ
¡¡¡¡flashÉÁ´æÊÇ·ÇÒ×ʧ´æ´¢Æ÷,¿ÉÒÔ¶Ô³ÆΪ¿éµÄ´æ´¢Æ÷µ¥Ôª¿é½øÐвÁдºÍÔÙ±à³Ì¡£ÈκÎflashÆ÷¼þµÄдÈë²Ù×÷Ö»ÄÜÔÚ¿Õ»òÒѲÁ³ýµÄµ¥ÔªÄÚ½øÐÐ,ËùÒÔ´ó¶àÊýÇé¿öÏÂ,ÔÚ½øÐÐдÈë²Ù×÷֮ǰ±ØÐëÏÈÖ´ÐвÁ³ý¡£NANDÆ÷¼þÖ´ÐвÁ³ý²Ù×÷ÊÇÊ®·Ö¼òµ¥µÄ,¶øNORÔòÒªÇóÔÚ½øÐвÁ³ýÇ°ÏÈÒª½«Ä¿±ê¿éÄÚËùÓеÄλ¶¼Ð´Îª0¡£
¡¡¡¡ÓÉÓÚ²Á³ýNORÆ÷¼þʱÊÇÒÔ64¡«128KBµÄ¿é½øÐеÄ,Ö´ÐÐÒ»¸öдÈë/²Á³ý²Ù×÷µÄʱ¼äΪ5s,Óë´ËÏà·´,²Á³ýNANDÆ÷¼þÊÇÒÔ8¡«32KBµÄ¿é½øÐеÄ,Ö´ÐÐÏàͬµÄ²Ù×÷×î¶àÖ»ÐèÒª4ms¡£
¡¡¡¡Ö´ÐвÁ³ýʱ¿é³ß´çµÄ²»Í¬½øÒ»²½À´óÁËNORºÍNADNÖ®¼äµÄÐÔÄܲî¾à,ͳ¼Æ±íÃ÷,¶ÔÓÚ¸ø¶¨µÄÒ»Ì×дÈë²Ù×÷(ÓÈÆäÊǸüÐÂСÎļþʱ¸ü¶àµÄ²Á³ý²Ù×÷±ØÐëÔÚ»ùÓÚNORµÄµ¥ÔªÖнøÐС£ÕâÑù,µ±Ñ¡Ôñ´æ´¢½â¾ö·½°¸Ê±,Éè¼Æʦ±ØÐëȨºâÒÔϵĸ÷ÏîÒòËØ¡£
¡¡¡¡¡ñ NORµÄ¶ÁËٶȱÈNANDÉÔ¿ìһЩ¡£
¡¡¡¡¡ñ NANDµÄдÈëËٶȱÈNOR¿ìºÜ¶à¡£
¡¡¡¡¡ñ NANDµÄ4ms²Á³ýËÙ¶ÈÔ¶±ÈNORµÄ5s¿ì¡£
¡¡¡¡¡ñ ´ó¶àÊýдÈë²Ù×÷ÐèÒªÏȽøÐвÁ³ý²Ù×÷¡£
¡¡¡¡¡ñ NANDµÄ²Á³ýµ¥Ôª¸üС,ÏàÓ¦µÄ²Á³ýµç·¸üÉÙ¡£
½Ó¿Ú²î±ð
¡¡¡¡NOR flash´øÓÐSRAM½Ó¿Ú,ÓÐ×ã¹»µÄµØÖ·Òý½ÅÀ´Ñ°Ö·,¿ÉÒÔºÜÈÝÒ׵شæÈ¡ÆäÄÚ²¿µÄÿһ¸ö×Ö½Ú¡£
¡¡¡¡NANDÆ÷¼þʹÓø´ÔÓµÄI/O¿ÚÀ´´®ÐеشæÈ¡Êý¾Ý,¸÷¸ö²úÆ·»ò³§É̵ķ½·¨¿ÉÄܸ÷²»Ïàͬ¡£8¸öÒý½ÅÓÃÀ´´«ËÍ¿ØÖÆ¡¢µØÖ·ºÍÊý¾ÝÐÅÏ¢¡£
¡¡¡¡NAND¶ÁºÍд²Ù×÷²ÉÓÃ512×ֽڵĿé,ÕâÒ»µãÓеãÏ
Ïà¹ØÎĵµ£º
ÏÖÔÚÓиöÁé¸Ð£¬ÄǾÍÊÇͨ¹ýÊó±êÍ϶¯ÕâЩСÇò£¬Êó±êÒƶ¯µÄʱºò£¬ÄÇЩСÇò»á¸ú×ÙÊó±êÄ¿±êÒƶ¯¡£ÕâЩֻҪʹÓÃflash »æͼAPIÖÆ×÷£¬
¾ÍÄܹ»Íê³É£»
µÚÒ»²½£ºËæ»ú´´ÔìһЩСÇò
private function creatBall():void
{
for (var i:int=0; i<10; i++)
{
var ball:Ball=new Ball();
addChild(ball);
l ......
±ÊÕß¾¹ý³¤Ê±¼äµÄʹÓã¬×ܽáÁ˼¸ÌõΪFlash¼õ·ÊµÄС¼¼ÇÉ£¬Ï£ÍûÓë¸÷λÉÁ¿ÍÃÇ·ÖÏí¡£
¡¡¡¡1¡¢¾¡Á¿¼õÉÙÎÄ×ÖµÄÐðÊö¡£
¡¡¡¡2¡¢Ó¦¾¡Á¿°Ñͼ»×ªÎª“µçÓ°¼ôÇД»ò“ͼÐΔ¡£
¡¡¡¡3¡¢µ¼ÈëµÄͼƬ¸ñʽ×îºÃÊÇ*.jpg»ò*.gifͼƬ¸ñʽ¡£
¡¡¡¡4¡¢Èç¹ûÐèÒªµ¼ÈëÒôÀÖÎļþ£¬×îºÃÊÇ*.MP3£¬ÕâÑùÄãµÄÔ´´úÂë²»»áÌ«´ó¡£
¡¡¡¡5 ......
Main.cpp (Win/*nix)
#include "FlexSecurityBox.h"
int main(int argc, char ** argv) {
char * address;
short port;
if (argc == 2)
{
address = "0.0.0.0";
port = atoi(argv[1]);
} else if (argc == 3)
{
address = argv[1];
port = atoi(argv[2]);
} else
{
printf("Y ......
Ä¿Ç°ÒµÄÚ×î¾ßÕùÒéµÄ»°ÌâĪ¹ýÓÚNANDÉÁ´æµÄÁ½´ó¼Ü¹¹MLCºÍSLCÁË£¬ÕâÁ½Öּܹ¹×î´óµÄÇø±ðÊÇ´æÈ¡¼¼Êõ²»Í¬£¬ÓÉ´ËÒ²´øÀ´ÁËÖÆÔì³É±¾¡¢¹¤ÒÕÒªÇ󡢸¨Öúµç
·¡¢´æÈ¡´ÎÊýÉϵÄåÄÒì¡£´Ó¶ÌÆÚ·¢Õ¹À´¿´£¬SLC¼Ü¹¹ÔÚʹÓÃÉÏÓÅÊƽÏΪÃ÷ÏÔ£¬Ò²Òò´Ë³ÉΪÁ˲¿·Ö³§ÉÌìÅÒ«²úÆ·µÄ×ʱ¾¡£È»¶øMLC¼Ü¹¹¾ßÓгɱ¾µÍÁ®¡¢µ¥Æ¬ÈÝÁ¿½Ï
SLC³É±¶Ôö´óµÈÓÅÊÆ£¬³¤Ô¶À´¿ ......
/etc/fonts/conf.d/
±à¼µÄÎļþΪ
sudo gedit ./49-sansserif.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
If the font still has no generic name, add sans-serif
-->
<match target="p ......