<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-2022-jp" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19190">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=3 face="$B#M#S(B $B%4%7%C%/(B">$B@t$G$9!#(B</FONT></DIV>
<DIV>$BC]G72<$5$sJV?.$"$j$,$H$&$4$6$$$^$9!#(B</DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV>>$BC]G72<$G$9!#(B<BR><BR>>(2012$BG/(B03$B7n(B17$BF|(B 13:12), h wrote:<BR>>>
$B@t$H?=$7$^$9!#(B<BR>>> Armadillo-210$B$N(BHowTo$B$N(BSC1602BS
LCD$B%b%8%e!<%k$r$D$1$h$&$r;29M$K(B<BR>>$B$3$A$i$G$9$M!#(B<BR>><A
href="">http://armadillo.atmark-techno.com/howto/add-lcd-char-display</A><BR><BR>>>
Armadillo- 220$B$K(B<BR>>> SC1602BS$B%-%c%i%/%?%G%#%9%W%l!<%I%i%$%P!<$rAH9~$_(Bc$B8@8l$K$F%a%K%e!<%W%m%0(B
<BR>>> $B%i%`!"(B<BR>>> ip$B%"%I%l%9I=<(%W%m%0%i%`!";~4VI=<(%W%m%0%i%`$r:n@.$7$F%P%C%/%0%i%&%s%I$G(B <BR>>>
$BF0$+$7$F$$$^$9!#(B<BR>>> $BLdBj$O(BSC1602BS$B%-%c%i%/%?%G%#%9%W%l!<!"%?%/%H%9%$%C%A$G;HMQ$7$F$$$J$$(BGPI</DIV>
<DIV>>>8$B!A(B $B$r(Bgpioctrl$B%3%^%s%I$G;HMQ$7$?$$$N$G$9$,;HMQ$9$k$3$H$,$G$-$^$;$s!#(B</DIV>
<DIV>>>$B2r$kJ}$*4j(B
$B$$$$$?$7$^$9!#(B<BR>>$B;HMQ$G$-$J$$$H$O!"$I$&$$$&>u67$G$7$g$&$+!)(B<BR>>$B$b$&>/$7!">\$7$/65$($F$$$?$@$1$^$9$+!)(B<BR>>Howto$B$N5-;v$r;29M$K!"(BLCD$B%b%8%e!<%kMQ$N%I%i%$%P$r:n@.$5$l$?$N$G$"$l$P!"(B<BR>>GPIO$B%I%i%$%P$,L58z$K$J$C$F$$$k$N$G$O$J$$$+$H;W$$$^$9!#(B</DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV>SC1602BS$B%-%c%i%/%?%G%#%9%W%l!<%I%i%$%P!<$,M-8z$G$"$k$?$a(BGPIO$B%I%i%$%P$,L58z$G$9!#(B</DIV>
<DIV>SC1602BS$B%-%c%i%/%?%G%#%9%W%l!<$r;H$$$J$,$i!"(BGPIO8$B!A(B15$B;HMQ$7$?$H$$$&$3$H$G$9!#(B</DIV>
<DIV><FONT face="MS UI Gothic"><FONT
face="$B#M#S(B $B#P%4%7%C%/(B">GOIO_8$B!"(BGPIO_9$B$K%H%i%s%8%9%?(B</FONT>$B$r@\B3!"(BLCD$B$N%P%C%/%i%$%H!"%j%l!<$r(BON$B!"(BOFF$B@)8f$r(B</FONT></DIV>
<DIV><FONT face="MS UI Gothic">$B$9$k$h$&$K$7$?$$$H9M$($F$$$^$9!#(B</FONT></DIV>
<DIV>GPIO$B%I%i%$%P!"$b$7$/$O!"(BSC1602BS$B%-%c%i%/%?%G%#%9%W%l!<%I%i%$%P!<$N2~B$$,(B</DIV>
<DIV>$BI,MW$G$7$g$&$+!)(B</DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT> </DIV>
<DIV>$B$5$C$=$/2<5-$N%V!<%H%m!<%@!<!"(BGPIO$B$N@_Dj$r;n$7$F$_$?$$$H;W$$$^$9!#(B</DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT><FONT size=2
face="MS UI Gothic"></FONT><FONT size=2 face="MS UI Gothic"></FONT><FONT size=2
face="MS UI Gothic"></FONT><BR>>> $B$^$?(BGPIO
8$B!A$rEE8;N)$A>e$2$HF1;~$K=PNO(BLOW$B%l%Y%k@_Dj$H$7$?$$$G$9!#(B<BR>>>
$B2a5n$N%m%0$r8+$k$H(BGPIO$B$N=i4|CM$rEE8;EjF~D>8e$K@_Dj$7$?$$>l9g(B<BR>>>
bootloader(hermit-at)$B$H(Bkernel$B$N=$@5$,I,MW$H$N%3%a%s%H$,$"$j$^$7$?$,6qBN(B <BR>>>
$BE*$K65$($F$$$?$@$-$?$$$G$9!#(B<BR>>Armadillo-220$B$G$O!"(BGPIO$B$H(BEP9307$B$N%]!<%H$H$NBP1~$O2<5-$N$h$&$K(B<BR>>$B$J$C$F$$$^$9!#(B<BR><BR>>|$B%T%sL>(B
| GPIO$BHV9f(B|EP9307$B%]!<%H(B|<BR>>|CON12 1$B%T%s(B | GPIO_8 | Port D$B!'(B0
|<BR>>|CON12 2$B%T%s(B | GPIO_9 | Port D$B!'(B1 |<BR>>|CON12 3$B%T%s(B |
GPIO_10 | Port D$B!'(B2 |<BR>>|CON12 4$B%T%s(B | GPIO_11 | Port D$B!'(B3
|<BR>>|CON12 5$B%T%s(B | GPIO_12 | Port C$B!'(B0 |<BR>>|CON12 6$B%T%s(B | GPIO_13 |
Port C$B!'(B1 |<BR>>|CON12 7$B%T%s(B | GPIO_14 | Port C$B!'(B2 |<BR>>|CON12
8$B%T%s(B | GPIO_15 | Port C$B!'(B3 |<BR><BR>>EP9307$B$N(BGPIO$B%b%8%e!<%k$G$O!"%]!<%H$4$H$K(BDDR(Data
Direction Register)$B$H(B<BR>>DR(Data
Register)$B$r;}$C$F$$$^$9!#=PNO(BLow$B$H$9$k$K$O!"(BDDR$B$NBP1~$9$k%S%C%H$r(B<BR>>1($B=PNO(B)$B$K$7!"(BDR$B$NBP1~$9$k%S%C%H$r(B0(Low)$B$K$9$kI,MW$,$"$j$^$9!#(B<BR><BR>>Armadillo-220$BMQ$N%V!<%H%m!<%@!<$G$O!"(BGPIO$B$N@_Dj$O(B<BR>>hermit-at/src/target/armadillo2x0/boot.S
$B%U%!%$%k$G9T$C$F$$$^$9!#(B<BR>>$B2<5-$N$h$&$KJQ99$9$k$H!"5/F0D>8e$K(BGPIO_8$B$+$i(B15$B$,=PNO(BLow$B$K$J$k$H;W$$$^$9!#(B<BR><BR>>---
a/src/target/armadillo2x0/boot.S<BR>>+++
b/src/target/armadillo2x0/boot.S<BR>>@@ -60,11 +60,12 @@ _start_flash:</DIV>
<DIV>> cmp r4,
#0x00<BR>> moveq r1,
#0x00 /* a210(Rev.A or B)
*/<BR>> movne r1,
#0x80 /* a2[2|3|4]0,a210(Rev.C or later)
*/<BR>>- str r1,
[r0, #0x18]<BR>>
str r1, [r0,
#0x08]<BR>>+ orr
r1, r1, #0x0f<BR>>+
str r1, [r0,
#0x18]<BR>><BR>>-
/*PDDDR=0x00*/<BR>>-
mov r1,
#0x00<BR>>+
/*PDDDR=0x0f*/<BR>>+
mov r1,
#0x0f<BR>>
str r1, [r0,
#0x1c]<BR>><BR>>
/*PFDDR=0x00*/<BR>><BR>>$B%+!<%M%k$G$O!"(BGPIO_8$B$+$i(B15$B$O(BGPIO$B%I%i%$%P0J30C/$b?($i$J$$$N$G!"=$@5$N(B<BR>>$BI,MW$O$J$$$H;W$$$^$9!#(B<BR></DIV>
<DIV><FONT size=2 face="MS UI Gothic"></FONT><FONT size=2
face="MS UI Gothic"></FONT><BR>>-- <BR>>Koyo
Takenoshita</DIV></BODY></HTML>