Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHi gpushkar,
I have a host PC running linux (Ubuntu 10.04 LTS ) and connected to an DE4 Stratix IV over PCIe. I explore the use of the FPGA as a co-processor, too. I try to do the same thing with the DE4, but i get same problem. Do you solve it? --- Quote Start --- ... [ 4378.233120] BAR0 0xd0000000-0xd07fffff flags 0x0012120c [ 4378.233153] BAR2 0xff600000-0xff60ffff flags 0x00020200 [ 4378.233276] BAR[0] mapped at 0xf81c0000 with length 32768(/8388608). [ 4378.233373] BAR[2] mapped at 0xf8140000 with length 256(/65536). [ 4378.233447] bar_tests(). ... Any help will be highly appreciated! --- Quote End --- In your configuration you use 23 bits in BAR[0] and 16 bits in BAR[2], but you only has mapped 15 bits for BAR 0 and 8 bits for BAR 2 in your drive! Why do you change it in your "altpciechdma.c" ? Best Regards