<!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=187101208-07082007><FONT face=Arial color=#0000ff size=2>Tak
jsem zatim zjistil, ze pricinou meho problemu je EALLOW flag.
</FONT></SPAN></DIV>
<DIV><SPAN class=187101208-07082007><FONT face=Arial color=#0000ff size=2>Takze
zbyva otazka, jestli pri pouziti DSP/BIOS features muzu takto jednoduse
manipulovat s registry???</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
hw-list-bounces@list.hw.cz [mailto:hw-list-bounces@list.hw.cz] <B>On Behalf Of
</B>Jaroslav Buchta<BR><B>Sent:</B> Tuesday, August 07, 2007 8:56
AM<BR><B>To:</B> 'HW-news'<BR><B>Subject:</B> TMS320 -
nakopnuti<BR><BR></FONT></DIV>
<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></BLOCKQUOTE></BODY></HTML>