Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHello Again,
Well, it looks as though the project has been pushed back by a few weeks (whew!), and the new project system architecture may not require PPP after all. Basically, after some discussion, instead of implementnting a Radio Link router, we've scaled back the project to just be an ethernet-brige between two PC's streaming videos to one another. Below is the revised project block diagram [ PC ] <--> [ |ETH| <-|BUF|-> |RF| ] <--> [ |RF| <-|BUF|-> |ETH| ] <--> [ PC ] PC : Personal Computer RF : Radio Link BUF : DRAM Buffer (on board) ETH : Ethernet Link Essentially the NIOS II will now be responsible for doing the following: Tx Link (1) Grabbing each raw Ethernet packet from the controller (2) Reformat the data for RF Tx Rx Link (1) Reformat the data from RF Rx to Ethernet (2) Send out the raw Ethernet packets to the PC Essentially, I am now faced with the task of buffering the Ethernet packets coming from the SMSC LAN91C111 chip into an external DRAM, and now transferring this to the RF section's input FIFO. Just a few questions: (0) Would this approach work, or does PPP have to be used? (1) How can I grab the raw Ethernet frames/packets from the LAN chip in eCOS? (2) How can I implement a DMA buffer to buffer transfer in eCOS? Any help you can offer would be greatly appreciated. Thanks.