[Soekris] Error LED on 4801
ajv
info at vogelaar-electronics.com
Thu Nov 22 13:11:17 UTC 2007
The net4801 contains a SC1100 processor and a PC87366 I/O controller.
Both chips have GPIO pins. I think the GPIO pins of the PC87366 are used.
To see how it is wired I would like to have the schematic diagram of the
4801 printed
circuit board, but was unable to find it on the Soekris site.
Is this diagram available?
Anthony Vogelaar.
====================================================================
Antoine Zen-Ruffinen wrote:
> Have a look page 204 and following of the SC1100 databook. There is
> everything you need to program it.
>
> 2007/11/22, Antoine Zen-Ruffinen <antoine.zen at gmail.com>:
>
>> Hello,
>>
>> If you look a the net4801, it is written section 3.11: " This red LED
>> is connected to the SC1100 processor GPIO20, pin D21. It is connected
>> so that it will be on at power on,....". Then you should have a look
>> at the SC1100 datasheet for how to program it.
>>
>> I have programmed the GPIO of the PC87366 unsing inb and outb, it work
>> fine. I assume you can do the same with the GPIO of the SC1100.
>>
>> Antoine
>>
>> 2007/11/22, ajv <info at vogelaar-electronics.com>:
>>
>>> Hello,
>>>
>>> I am programming the 4801 in assembler under Linux (Slax)
>>> Can you point me to a document or provide me with a piece of code
>>> written in assembler using direct port I/O (not using a kernel driver)
>>> to switch the error LED on and off?
>>>
>>> cat/proc/ioports shows : 6100-612B NatSemi SCx200 GPIO
>>> I assume I can use inb and outb into this region?
>>>
>>> Thanks in advance.
>>>
>>> _______________________________________________
>>> Soekris-tech mailing list
>>> Soekris-tech at lists.soekris.com
>>> http://lists.soekris.com/mailman/listinfo/soekris-tech
>>>
>>>
>
>
>
More information about the Soekris-tech
mailing list