¥Ç¥£¥¸¥¿¥ë¡¦¥Ç¥¶¥¤¥ó¡¦¥Æ¥¯¥Î¥í¥¸ÉÕÏ¿´ðÈĤÎLatticeXP2¤ËUrJTAG+JTAGkey¸ß´¹²óÏ©¤Ç¥³¥ó¥Õ¥£¥°¤¹¤ë

2011.05.26ÄÉ¡§
Lattice¤ÎISPVM¤¬FT2232¥Ç¥Ð¥¤¥¹¤ËÀµ¼°Âбþ¤È¤Ê¤ê¤Þ¤·¤¿¡ª
¤³¤ì¤Ç¼ê·Ú¤ËÆɤ߽ñ¤­¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
¤¤¤¤»þÂå¤È¤Ê¤ê¤Þ¤·¤¿¤Í♥
ÄɤÎÄÉ:
Æâ¢Flash¤Ë½ñ¤¯¤È¤­¤Ï.jed¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Þ¤¹¡£
SPI-ROM¤Ë½ñ¤¯¤È¤­¤Ï.bit¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Þ¤¹¡£
¤¢¤ÈHS-1¤ÏGND¤ËÍî¤È¤·¤Æ¤ª¤¯¤³¤È¡£

2009.07.31ÄÉ:
Lattice¤ÎÉÕÏ¿´ðÈĤò»ÈÍÑÃæ¡¢½ñ¤­¹þ¤ß¡¦¾Ãµî¤¬¼ºÇÔ¤¹¤ë¤È°Ê¸å´ðÈĤ«¤é¥ä¥ÐÌÜ
¤Îȯ¿¶²»¤¬¤·¤ÆJTAG¤Ç°ìÀÚ¥¢¥¯¥»¥¹¤Ç¤­¤Ê¤¯¤Ê¤ë»öÂ֤˴٤¤¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
¤³¤ì¤Ï¡ÖÉÔ´°Á´¤Ê¥³¥ó¥Õ¥£¥°->¥³¥¢ÅÅή°Û¾ï¾ÃÈñ->ÅÅ°µ¥É¥í¥Ã¥×->ºÆ¥³¥ó¥Õ¥£¥°¡×
¤Î¥ë¡¼¥×¤ò·«¤êÊÖ¤·¤Æ¥Ç¥Ã¥É¥í¥Ã¥¯¾õÂ֤˴٤äƤ뤫¤é¤Ç¤¹¡£

¤³¤Î¾õÂÖ¤«¤é²óÉü¤¹¤ë¤Ë¤ÏnPROG¥Ô¥ó¤ò(Lattice´ðÈľå¤ÇCN2_B07¤ò)LOW¤Ë
°ú¤¤¤¿¤Þ¤ÞÅŸ»¤òÅêÆþ¤·¤ÆÅŸ»ÅêÆþľ¸å¤Î¥³¥ó¥Õ¥£¥°¤ò³«»Ï¤µ¤»¤Ê¤¤¾õÂÖ¤Ç
JTAG¤Ë¥¢¥¯¥»¥¹¤·¡¢½ñ¤­¹þ¤ßor¾Ãµî¤òÀµ¤·¤¯´°Î»¤µ¤»¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
°ÍÁ³¤È¤·¤Æ¤³¤Î¥Ú¡¼¥¸¤Î¥¢¥¯¥»¥¹¤¬Èó¾ï¤Ë¿¤¯Âç»ö¤Ê¤³¤È¤À¤«¤é2ÅÙ¸À¤¤¤Þ¤¹¡£




DWM»ï¤¬ÇÑ´©µÙ´©¤È¤Ê¤ê¡¢¿·¤¿¤Ë¥Ç¥£¥¸¥¿¥ë¡¦¥Ç¥¶¥¤¥ó¡¦¥Æ¥¯¥Î¥í¥¸»ï¡¢
ά¤·¤ÆDDT»ï¤¬´©¹Ô¤µ¤ì¤Þ¤·¤¿¡£¤´Â¿Ë¾¤Ë¤â¤ì¤º¡¢ÉÕ°´ðÈĤʤ󤫤¬¤Ä¤¤¤Æ¤Þ¤¹¡£
ÀФÏLattice¤ÎLFXP2-5E-5TN144C¤Ç¤¹¤Í¡£¥Õ¥é¥Ã¥·¥å¥Ù¡¼¥¹¤ÎÉÔ´øȯ·¿FPGA¤Ç¤¹¤Ã¤Æ¡£

¤Í¤à¤¤¤µ¤ó¤ÏLPC2388´ðÈĤȽ©·îARM´ðÈÄÆ°¤«¤¹¤Î¤ËÌ´Ãæ¤Ë¤Ê¤Ã¤Æ¤¿¤Î¤Ç
¤Û¤¦¤Ã¤Æ¤ª¤¤¤Æ¤¤¤Þ¤·¤¿¤¬¾¯¤·¤À¤±¿¨¤Ã¤Æ¤ß¤Þ¤·¤¿¤è¡£LPT¤Î½ñ¤­¹þ¤ß¥¢¥À¥×¥¿¤Ï¤â¤Ï¤ä
ºî¤ëµ¤¤¬¤Ê¤¯¡¢¤Ê¤Ò¤¿¤Õ»á¤Î78k¤ò»È¤Ã¤¿¥é¥¤¥¿¤ÏCOM¥Ý¡¼¥È¤¬Áý¿£¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
¤Í¤à¤¤¤µ¤óŪ¤Ë¤Ï¥Æ¥¹¥È¤ò·ó¤Í¤ÆUrJTAG+JTAGkey¤ò»È¤Ã¤ÆSVF¥Õ¥¡¥¤¥ë¤Î
ºÆÀ¸¤È¸À¤¦·Á¤ÇLattice¤Î´ðÈĤ˽ñ¤­¹þ¤ß¤ò¤·¤Æ¸«¤è¤¦¤È»×¤¤¤Þ¤¹¡£


¡Ä5·î17Æü¸½ºß¡¢¥Í¥Ã¥È¤Ç¸¡º÷¤·¤Æ¤â¥Ç¥â¤ÎLED¥Á¥«¥Á¥«¤ò½ñ¤­¤³¤ó¤À¡ª
°Ê³°¤ÎºîÎ㤬Á´¤¯¤È¸À¤Ã¤Æ¤¤¤¤¤Û¤É¸«Åö¤¿¤ê¤Þ¤»¤ó¡£
¤½¤ì¤É¤³¤í¤«LED¥Á¥«¥Á¥«¤Îµ­»ö¤¹¤é¤Û¤È¤ó¤É¤Ê¤¤¤Î¤¬¤µ¤é¤ËÉ԰¤ò¤¢¤ª¤ê¤Þ¤¹¡£
Í£°ìchan¤µ¤ó¤Ï¥ß¥¯¤òÆ°¤«¤·¤Æ¥ì¥ô¥§¥ë¤Î°ã¤¤¤ò¸«¤»¤Ä¤±¤Æ¤¯¤ì¤Æ¤¤¤Þ¤·¤¿¡£¤¹¤²¤§¡£


»ä¤â°ì¤ÄÁȤó¤Ç¤ß¤Þ¤·¤¿¡£30Mhz¤Î¿å¾½¤ÈM25P40-VMN6P¡¢LDO¤ÎADP3339¤Ê¤ó¤«
¤Ä¤±¤Æ¤ß¤Þ¤·¤¿¡£¤¢¤ì¡©¤³¤ÎADP3339¤Ã¤Æ¡Ä¤È¤ª»×¤¤¤ÎÊý¡¢¤«¤ï¤¤¤½¤¦¤Ë¡Ä¤½¤¦¡¢+5VÅŸ»¤ò
»Ø¼¨¤É¤ª¤ê¤ËÀܳ¤¹¤ë¤È¹â¤¤³ÎΨ¤Çȯ¿¶¤¹¤ë¤«¤ÎSH2´ðÈĤ˾è¤Ã¤«¤Ã¤Æ¤¤¤¿¥¢¥ì¤Ç¤¹¤Í¡Á¡£
º£¸¡º÷¤¹¤ë¤È"¡ÖÀܳ¤¹¤ì¤Ðȯ¿¶¤¹¤ë¡×¤ÏÄÌÍѤ·¤Ê¤¤"¤È¸À¤¦°ìʸ¤¬¥È¥Ã¥×¤ËÌö¤ê½Ð¤Æ
¤È¤Æ¤â°ÕÌ£¿¼¤Ç¤¹¡£¤Ç¤âADP3338/ADP3339¤Ï¤ï¤ë¤Ê¤¤¤è¡©

¤½¤ì¤Ï¤ª¤¤¤È¤¤¤Æ¤³¤ó¤Ê´¶¤¸¤Ë³ÆÉôÉʤò¼ÂÁõ¡£ÅŸ»¤ÏÍưפËæÃå¤Ç¤­¤ë¤è¤¦¤Ë
JST-XA¤ò¡£JTAG¤Îü»Ò¤Ï10Pin¤¢¤ê¤Þ¤¹¤¬¡¢¼ÂºÝ¤Ë¿®¹æ¤¬½Ð¤Æ¤ë¤Î¤Ï
TCK,TMS,TDO,TDI,Vcc,GND¤À¤±¤Ê¤Î¤Ç¡¢Çϼ¯Èò¤±ÍѤ˿¿¤óÃæ¤Î°ìËܤϥ«¥Ã¥È¤·¤Æ¤Þ¤¹¡£
¤Ä¤¤¤Ç¤Ë9,10Pin¤â¥«¥Ã¥È(ºÇ½é¤«¤é¤Ä¤±¤Ê¤­¤ã¤è¤«¤Ã¤¿orz)¤â¤Á¤í¤óÂФˤʤë8Pin¥³¥Í¥¯¥¿
(¤É¤¦¤»»Ä¤ê¤Î9,10Pin·Ò¤¬¤Ã¤Æ¤Ê¤¤¤·¡Ä)¤Ï¥«¥Ã¥È¤·¤¿¿¿¤óÃæ¤Î°ìËܤË
¥á¥¯¥é¤ò¤«¤Þ¤»¤ÆÇϼ¯Èò¤±¤ò¼Â¸½¤·¤Æ¤Þ¤¹¡£

ADP3339ÍѤΥ³¥ó¥Ç¥ó¥µ¤Ï΢¤Ë¼ÂÁõ¤·¤Æ¤Þ¤¹¡£Vin¤Ë¤ÏGRM21BB31C106KE15¤ò¡¢Vout¤Ë¤Ï
½©·î¤Î¤³¤Î»Ò¤òÉÕ¤±¤Æ¾ï»þ°ÂÄꤷ¤¿+3.3V¤Î¶¡µë¤ò¹Ô¤Ã¤Æ¤¤¤Þ¤¹¡£
½©·î¤Î¥»¥é¥³¥ó¤Ï+3.3V°Ê²¼¤Î¥»¥é¥³¥óÂбþ¤ÎLDOÍѤËÂçÎ̤ËÇã¤Ã¤Æ¤ª¤¤¤Æ¤â¤¤¤¤¤È»×¤¤¤Þ¤¹¡£
¤¢¡¢¸À¤¤Ëº¤ì¤Æ¤¿¡¢ADP3338/3339»È¤¦¤È¤­¤ÏRP1¡¢RP2¤Ïɬ¤º½üµî¤·¤Æ¤¯¤À¤µ¤¤¡ª
¿¿»÷¤¹¤ë¿Í¤Ï¤Á¤ã¤ó¤È¥Ç¡¼¥¿¥·¡¼¥È¤Ç³Îǧ¤¹¤Ù¤·¡£
¤µ¤é¤Ëº£²ó¤ÏSPIEEPROM¤ÏÉÕ¤±¤¿¤±¤É°ìÀÚ̵»ë¤¹¤ë¤Î¤ÇHS1¤Î¥¸¥ã¥ó¥Ñ¤â¥«¥Ã¥È¡£
¤ä¤Ã¤È¤«¤Ê¤¤¤ÈSVF¤Ç½ñ¤±¤Þ¤»¤ó¡£

½ñ¤­¹þ¤à½àÈ÷¤Ï½ÐÍè¤Þ¤·¤¿¤Î¤Ç¼¡¤Ïsvf¥Õ¥¡¥¤¥ëÀ¸À®¤Ç¤¹¤Í¡£
ISPLEVER¤È¤½¤Î¾¥Ä¡¼¥ë¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¢¤ë¤â¤Î¤È¤·¤ÆÏäò¿Ê¤á¤Þ¤¹¡£
jed¤ÎÀ¸À®¤Þ¤Ç¤Ï»æÌ̤ˤ¢¤ë¤Î¤Ç¾Ê¤­¤Þ¤¹¤è¡ª¡ª
(¥Ä¡¼¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Þ¤Ç°ì¶ìÏ«¤Ç¤·¤¿¤Í¡Á¡Äǧ²Ä¤â¤é¤¨¤ë¤Þ¤Ç
»þ´Ö¤ä¤¿¤é¤«¤«¤Ã¤¿¤ê¡¢¤Þ¤¡¤½¤Îʬ¤·¤Ã¤«¤ê¿³ºº¤·¤Æ¤¤¤ë¤È¤¤¤¦¤³¤È¤Ê¤Î¤Ç¤·¤ç¤¦¡£
¤Á¤Ê¤ß¤Ë»ä¤ÏÁÈ¿¥Ì¾:Æó¼¡Î¢¥á¥¤¥É¶¨²ñ¡¢Ì¾Á°¡§¥­¥ê¡¦¥¤¥»¥Î¥ß¥ä¤ÇÄ̤ê¤Þ¤·¤¿¡£
¤Ï¤Â¤á¤Æ¾å»Ê¤¬Ìò¤ËΩ¤Ã¤¿(¾Ð)¡Ä¤Ã¤Æ¤¤¤¤¤Î¤«¤³¤ì¤Ç)



¤Ç¤Ï¹Ô¤­¤Þ¤·¤ç¤¦¤«¡£
¤È¤¤¤¦¤ï¤±¤Ç¤À¤¤¤ÖüÀޤäÆjed¤¬À¸À®¤µ¤ì¤¿¤È¤³¤í¤«¤é¥¹¥¿¡¼¥È¡£
¤³¤ì¤«¤éÀè¤Ï²èÁüÉÕ¤­¤Ç¡£
­¡jed¤¬À¸À®¤·½ª¤ï¤Ã¤¿¤éispVM¤òµ¯Æ°¤¹¤ë
­¢ChainConfigration1¤È¸À¤¦¥¦¥£¥ó¥É¥¦¤Ï¨¸ú¾Ã¤¹¡£
­£UniversalFileWriter¤òµ¯Æ°
­¤À¸À®¥Õ¥¡¥¤¥ë¤ËSVF¤òÁªÂò
­¥InputDataFile¤ËÀè¤ËÀ¸À®¤·¤¿jed¤òÁªÂò
­¦RUNTEST FROM REV.C ¤òON¤Ë¤¹¤ë
­§OutputDataFile̾¤ò»ØÄꤹ¤ë¡£
­¨Generete¥Ü¥¿¥ó¤ò²¡¤·¤ÆSVF¤òÀ¸À®

¤Ï¤¤½ÐÍè¤Þ¤·¤¿¤Í¡©¤Ç¤­¤Æ¤Ê¤¯¤Æ¤â¼¡¹Ô¤­¤Þ¤¹¡£
¼¡¤Ï¤¤¤è¤¤¤è½ñ¤­¹þ¤ß¤Ç¤¹¡£Á°¤Õ¤êŤ¯¤Ê¤ê¤Þ¤·¤¿¤¬¤³¤Ã¤«¤é¤¬ËÜÈ֤Ǥ¹¡£
UrJTAG¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£JTAGkey¤ÈÄÌÅŤ·¤¿´ðÈĤòÀܳ¤·¡¢
UrJTAG¤òµ¯Æ°¡£À¸À®¤·¤¿svf¤òUrJTAG¤ÈƱ¤¸¥Õ¥©¥ë¥À¤ËÃÖ¤¤¤Æ°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò½çÈ֤ˡ£
¤½¤ÎÁ°¤Ë¡ªHS1¤Î¥¸¥ã¥ó¥Ñ¥«¥Ã¥È¤·Ëº¤ì¤Æ¤¿¤éÅŸ»Íî¤È¤·¤Æ¥«¥Ã¥È¤·¤Æ¤ª¤¤¤Æ¤Í¡ª

>cable jtagkey
>detect(¤Á¤ã¤ó¤È·Ò¤¬¤Ã¤Æ¤¤¤ì¤Ð¤³¤³¤Ç¥Á¥§¡¼¥ó¤¬¸«¤¨¤ë)
>part 0
>instruction length 8
>svf (À¸À®¤·¤¿SVF¤Î¥Õ¥¡¥¤¥ë̾) progress
£±Ê¬¤Û¤É¤¿¤Ä¤È
>Scanned device output matched expected TDO values.
¤Èɽ¼¨¤µ¤ì¡¢FPGA¤¬¥í¡¼¥É¤µ¤ì¤Þ¤¹¡£

¤¢¤È¾®µ»¤Ç¤¹¤¬¡¢svf¥Õ¥¡¥¤¥ë¤ÎÃæ¤Îerase¤Îµ­½Ò¤Ç
>! Erase the device
>
>! Shift in ISC ERASE(0x03) instruction
>SIR 8 TDI (03);
>! wait 1.20e+002 SEC
>RUNTEST IDLE 120000003 TCK;
¤Î
>RUNTEST IDLE 120000003 TCK;
¤ò
>RUNTEST IDLE 5000003 TCK;
¤¯¤é¤¤¤Ë¸º¤é¤·¤Æ¤ä¤ë¤È½ñ¤­¹þ¤ß»þ´Ö¤òÂçÉý¤Ëû½Ì¤Ç¤­¤Þ¤¹¡£
ºÇ®¤Ç40É䯤餤¤Ç¥³¥ó¥Õ¥£¥°¤Ç¤­¤Þ¤¹¡£¤½¤ì¤¾¤ì¤Î´Ä¶­¤ÇÄ´À°¤·¤Æ¸«¤Æ¤¯¤À¤µ¤¤¡£

¤Þ¤¿¡¢¤â¤·½ñ¤­¹þ¤ß¤¬¼ºÇÔ¤·¤ÆFPGA¤¬ÉÔ°ÂÄê¤Ê¾õÂ֤˴٤俤énPROG¥Ô¥ó¤ò(´ðÈľå¤Ç
CN2_B07¤ò)LOW¤Ë°ú¤¤¤¿¤Þ¤ÞÅŸ»¤òÅêÆþ¤·¤ÆºÆ¤Ó½ñ¤­¹þ¤ß¤ò¹Ô¤Ã¤Æ²óÉü¤·¤Æ
¤¯¤À¤µ¤¤¤Í¡£´ðÈļΤƤ󤸤ã¤Í¤§¤¾¡ª¤¢¤­¤é¤á¤ë¤Ê£±¡ª¡ª(¢«²µ½÷¤Îͺ¶«¤Ó)




¤³¤ó¤Ê¤«¤Ã¤¿¤ë¤¤¥³¥Þ¥ó¥ÉÆþÎϤ¤¤Á¤¤¤Á¤ä¤Ã¤Æ¤é¤ì¤ë¤«¡ª¡ª¤È¸À¤¦
Êý¤Ï¥Ð¥Ã¥Á¤Ç¼Â¹Ô¤¹¤ë¤ä¤êÊý¤â¤¢¤ê¤Þ¤¹¤Î¤Ç¤´¾Ò²ð¤·¤Þ¤¹¡£
¤³¤Á¤é¤ÎÃæ¤Ë¥µ¥ó¥×¥ëÉÕ¤­¤Ç¤¢¤ê¤Þ¤¹¤Î¤ÇÃæ¤Î¥Õ¥¡¥¤¥ë¸«¤Æ¤Í¤à¤¤¤µ¤ó¤¬
²¿¤ò¤·¤¿¤¤¤«¤¬Íý²ò¤Ç¤­¤ë¿Í¤À¤±¼«¸ÊÀÕǤ¤Ç¤É¤¦¤¾¡£

30MHz¤Î³°ÉôOSCɬ¿Ü¤Ç¤¹¡£¤Ç¤âUARTÍפé¤Ê¤¤¿Í¤ÏÆä˼þÇÈ¿ô¤Ëµ¤¤Ë¤·¤Ê¤¯¤Æ¤â¤¤¤¤¤Ç¤¹¡£

Go to top of page