Hello,
> I found reference a similar problem in;
>
> http://tech.groups.yahoo.com/group/ts-7000/message/4283
>
> Using that code also fails to toggle the port B[4,3,1,0]
> pins as output, though port B[7,6,5] pins work fine.
>
> As far as I know, this board is new and was never
> used. So its unlikely that someone has connected
> 5V and popped the pins. Its also unlikely that
> this board, and that of the original poster were damaged
> identically, given that we both observe the same
> outputs not working.
These pins can be used as GPIO pins or used for DMA. The bootrom for the
TS-7300 uses DMA, so by default these pins are configured for DMA. You
can refer to the keypad example code for an example of how to reconfigure
these pins as GPIO pins.
http://www.embeddedarm.com/downloads/samplecode/keypad.c
e.g.
//Disable DMA on GPIO
*(syscon + SFTWR_LCK) = 0xAA;
*(syscon + DEVICE_CFG) = 0x08140d00;
--
Best Regards,
______________________________________________________________
Eddie Dawydiuk, Technologic Systems | voice: (480) 837-5200
16610 East Laser Drive Suite 10 | fax: (480) 837-5300
Fountain Hills, AZ 85268 | web: www.embeddedARM.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|