Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- For test and debug (and program load) consider using the PCIe (slave) to Avalon bridge so that a host program can directly read/write any Avalon slaves (that are connected to the bridge). Watching a 'hexdump' that updates once a second (or so) can be very informative. For a Linux host I think one of the standard dev entries gives you appropriate access, but a driver that uses pread/pwrite is also reasonably trvial to write - you can do copy_to/from_user() directly from the mapped PCIe addresses. Note that host access will be slow (far slower than you imagine 'slow' would be). --- Quote End --- Yep, that is true :) This thread has Linux code to do just that (use a dev entry to access the board) ... http://www.alteraforum.com/forum/showthread.php?t=35678 Cheers, Dave