Skip to contentSkip to conversation

rtcan bit of help

Xenomai-help Roland Tollenaar 2 participants 2 messages Oct 23, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

new machine, new chances. rtnet running only the peak_dongle to get into action. But this is giving some problems.

First the BIOS setup. Must set LPT1 to EPP mode but I only have the following options:

	1-EPP+ECP
	2-Bi-Directional
	3-One directional

Only 2 allows me to load the driver without getting the message that the device does not exist. So Bi-Directional = EPP?

There is one other setting in the BIOS (that I have found) which may affect this which is the address and IRQ and DMA line. The options are a whole lot of things but I have chosen 0x378 and IRQ 7. No DMA line

I mention this because I can select the same address with DMA 1 or DMA 2 but I have chosen the one with no direct memory access.

Once the driver is loaded, there is no adverse message in the system log that I can see. dmesg report rtcan2 loaded.

I get flooding of the read buffer when I run my application. I can see this in dmesg.

Is there something obviously wrong with my BIOS choice? If not what can I check.

I have done some other tests but to prevent this email becoming too long, especially if the problem is obviously BIOS related i refrain from mentioning the outcome.

Kind regards,

Roland

#1 lore raw
Quoted 19 lines · Roland Tollenaar

Hi,

new machine, new chances. rtnet running only the peak_dongle to get into action. But this is giving some problems.

First the BIOS setup. Must set LPT1 to EPP mode but I only have the following options:

	1-EPP+ECP
	2-Bi-Directional
	3-One directional

Only 2 allows me to load the driver without getting the message that the device does not exist. So Bi-Directional = EPP?

There is one other setting in the BIOS (that I have found) which may affect this which is the address and IRQ and DMA line. The options are a whole lot of things but I have chosen 0x378 and IRQ 7. No DMA line

Quoted 5 lines

I mention this because I can select the same address with DMA 1 or DMA 2 but I have chosen the one with no direct memory access.

Once the driver is loaded, there is no adverse message in the system log that I can see. dmesg report rtcan2 loaded.

This means, that at least the first register accesses worked.

Quoted 2 lines

I get flooding of the read buffer when I run my application. I can see this in dmesg.

Do you see interrupts with /proc/xenomai/irq.

Quoted 2 lines

Is there something obviously wrong with my BIOS choice? If not what can I check.

Don't know he magics of the BIOS and the parallel port setupo, sorry,

Quoted 3 lines

I have done some other tests but to prevent this email becoming too long, especially if the problem is obviously BIOS related i refrain from mentioning the outcome.

Do you see errors listed by /proc/rtcan/sockets or /proc/rtcan/devices?

Wolfgang.