<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16481" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=093534806-07082007><FONT face=Arial size=2>Zdravim, nejak se
seznamuju s timto DSP, mam eZdsp board a Code Composer
Studio.</FONT></SPAN></DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial size=2>Muze mi nekdo do
zacatku poradit, jak se vubec zorientovat? Rad bych pouzil DSP/BIOS funkce,
multithreading atp.</FONT></SPAN></DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial size=2>Prvne jsem se zasekl
na tom, ze nevim, jak se treba leze na GPIO. Zrejme by se melo korektne nejak
pres ovladac, coz ale je mi zatim zahadou, dokumentace ponekud
neprehledna.</FONT></SPAN></DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial size=2>Zkusil jsem
primo:</FONT></SPAN></DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial size=2>#define GPADIR
*((int *)(0x6f8a))<BR>Void main(Int argc, Char *argv[])<BR>{<BR> GPADIR =
0xffff;</FONT></SPAN></DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial size=2>coz ale kupodivu
neudela nic, do ASM to vypada prelozeno OK, nejak takto:</FONT></SPAN></DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial
size=2>MOV @AL,#0xFFFF</FONT></SPAN></DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial size=2>MOV
*(0:0x6F8A),@AL</FONT></SPAN></DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial size=2>Kdyz otevru okno
editace pameti a na tuto adresu zapisu rucne, tak se stav portu skutecne zmeni,
po provedeni techto dvou instrukci ale jinak v pameti zustanou vychozi
0.</FONT></SPAN></DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial size=2>Neco jsem
nepochopil?</FONT></SPAN></DIV>
<DIV><SPAN class=093534806-07082007><FONT face=Arial size=2>Dekuji za pripadne
dalsi rady.</FONT></SPAN></DIV></BODY></HTML>