[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Mem. mapped I/O



Hej C-liste,

Jeg har et CAN-bus modul til ISA-bussen, som jeg gerne vil kunne
"snakke" med fra et c-program (under linux - naturligvis).

Der står følgende i manualen:
---------------
The PCM-3680 is assigned with memory address, which allows direct
acces to the CAN controller. This is the simplest and fastest way of
programming any board in the PC because the board is regarded as
standard RAM.
---------------

Desuden står der:
Memory addres from C800H to EF00H
(Man kan vælge mem-område med nogle switches)

Længere inde i manualen står der:
---------------
Memory base address
The Memory base address for the PCM-3680, which requires 4KB of
address space, is made up of the memory segment and its associated
offset. The address for the memory segment is set through
SW1.......[en hel masse om DIP switch].
---------------

Jeg har ikke meget erfaring i I/O-programering på en INTEL - PC (har
kun prøvet på Motorola). Så er der nogle der har tips til hvordan jeg
får taget hul på bylden!!!

Jeg mener at der er tale om "memory mapped I/O". Og jeg mener selv at
jeg skal have fat i noget der minder om MMAP (OBS - jeg skal ikke
skrive en device driver, jeg skal bare have fat i hardwaren.) - er jeg
inde på noget af det rigtige??

På forhånd tak

Med venlig hilsen
Mads Andresen, Odense




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *