|
From: vikram on 21 Jun 2008 07:18 hello... in order to interface between my pc (via matlab) and the XUP Virtex 2 pro board, i came to know i'll have to use the lwIP library/stack... is that right? (there is no OS running on the ppc405 in the board, and windows xp on the pc....) should i use the raw API or sockets? also, could you please recommend examples (with codes to show functionalities...) for both? (i referred to xilinx app note 663...) please reply asap and help out... thanks in advance.. vikram
From: Jon Beniston on 21 Jun 2008 08:42 > in order to interface between my pc (via matlab) and the XUP Virtex 2 > pro board, i came to know i'll have to use the lwIP library/stack... > > is that right? (there is no OS running on the ppc405 in the board, and > windows xp on the pc....) You can interface to the PC in many ways. Does the board you have include a serial port? That could be simpler, but it of course depends on what you are trying to do. You will probably want to be running the xilinx kernel on the PPC to give you threading support. > should i use the raw API or sockets? Sockets is probably the best. Then just about any examples of socket programming you can find on the web will be relevant. Jon
From: MikeWhy on 21 Jun 2008 14:43 "Jon Beniston" <jon(a)beniston.com> wrote in message news:66a7941d-4a8d-4819-8ae2-3b878d4f28e1(a)j22g2000hsf.googlegroups.com... >> should i use the raw API or sockets? > > Sockets is probably the best. Then just about any examples of socket > programming you can find on the web will be relevant. POSIX and Berkeley sockets lead to ugly, unscalable architectures. I would use raw sockets where they're available. They're not any more difficult to use, and the concepts are identical.
|
Pages: 1 Prev: ANNOUNCE:-- TimingAnalyzer Free Version -- Draw timing diagrams Next: Xilinx Clock Doubler |