Driver installation for the Acromag PMC module

  • Download the driver software from acromag (or ask Ingo)
  • Go to pmcdx501/devdx501/ and #define KERNEL_DBG_OUTPUT for more help
  • edit ../pmcdx501.h

#define PMCDXBOARD (word)0x424B
/* Pmcdx2002 device ID */
#define PMCDXARRAY "./utility/xc2v2002.h"
/* contains Pmcdx2002 data array See HFileGenerator.c */
#define DEVICE_NAME     "apmcdx2002"
/* the name of the device */

  • define the same target in the Makefile
  • make kernel module as root
  • make the dev-node
  • insmod apmcdx2002.ko
  • Check /var/log/messages:

Feb 10 15:39:24 hadc09 kernel: try to fine PLX = 16d5 424b 0 
Feb 10 15:39:24 hadc09 kernel: 
Feb 10 15:39:24 hadc09 kernel: mapped PLX  region addr  = E0020000
Feb 10 15:39:24 hadc09 kernel: mapped FPGA region addr1 = E0180000

  • the demonstration program is relly stupid: One can flash with factory xilinx configuration, not with a user file


  • Write a "prog_acromag"

-- IngoFroehlich - 10 Feb 2006
Edit | Attach | Print version | History: r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r1 - 10 Feb 2006, IngoFroehlich
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Hades Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)