Alix3d Board with Linuxcnc ?

More
20 May 2016 06:40 #74869 by restinpeace
`Hi,
i recently got a old industrial mini PC named "ALIX.3D2"
it has 2 usb ports, 1 Lan, 2 Minipci Slots, a DB9 Serialport and a LPC Bus with at least 20 free pins.
Is it possible to run emc2 on this with the LPC Bus pinout or should i buy at least a Parralelport Card ? if so, has anyone seen a MiniPCI Parralelport Card? not MinipciE.
CPU is a 500mhz AMD Geode and 256mb DDR Ram and the System is running from 4gb Compactflash.



regards.rip
Attachments:

Please Log in or Create an account to join the conversation.

More
20 May 2016 12:21 #74877 by andypugh
If the LPC bus is memory-mapped then it might be very easy.

All that the parallel port driver does (in effect) is outb(0x378, pin-state) and it would be relatively easy to write a driver for your IO pins if they are that easy to access.

In practice you would use the rtapi library version of outb:
linuxcnc.org/docs/2.7/html/man/man3/rtapi_outb.3rtapi.html

From inside a custom HAL driver:
linuxcnc.org/docs/2.7/html/hal/comp.html

Please Log in or Create an account to join the conversation.

More
20 May 2016 12:25 #74878 by andypugh
Looking in more detail (Wikipedia) it appears that it might not be so easy.
You could try looking carefully at
www.intel.com/design/chipsets/industry/25128901.pdf
to see if you can imagine a way to use it.
The following user(s) said Thank You: restinpeace

Please Log in or Create an account to join the conversation.

More
20 May 2016 15:12 #74884 by restinpeace
thats what i found from pc engines. i do not believe anymore that this will work...anyway i droped them a email and wait what they will say about this board. regards
J11 / J6 / J11 LPC expansion
The LPC port is used in the factory to connect an alternate flash BIOS to start the board when the
on-board flash is corrupted or blank. Use PC Engines adapter LPC.1A for this purpose if needed.
The LCP port can also be used to connect a super I/O device. Unlike SC1100 based WRAP boards,
this port cannot be reprogrammed as GPIO pins. Contact PC Engines for sample schematics if
required.
1 LCLK0 LPC clock (33 MHz)
2 GND ground
3 LAD0 LPC data 0
4 GND ground
5 LAD1 LPC data 1
6 GND ground
7 LAD2 LPC data 2
8 GND ground
9 LAD3 LPC data 3
10 GND ground
11 LFRAME# LPC frame
12 GND ground
13 PCIRST# reset (active low)
14 CLK48 super I/O clock (48 MHz)
15 ISP high to use LPC flash, low to use on-board flash, pulled low by resistor
16 VCC +5V supply
17 GND ground
ALIX system board 18 5/5/2010
18 V3 +3.3V supply
19 SERIRQ serial interrupt
20 LDRQ# LPC DMA request

Please Log in or Create an account to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum