FPGARelated.com
Forums

NIOS II CFI interface

Started by bjzh...@gmail.com May 1, 2008
Hi,everybody,I am a fresher of NIOSII,and in the passed days ,I have
been familar with the nios II system,also write some test program
about the gpio,timer,uart and can work properly,today I add the flash
controoler(CFI),but it doesn't work.And I use the signal tap to watch
the wave and the address bus is active but the read,write and cs is
always '1',I don't know why,can someone give me some advice and debug
methods.
On May 1, 2:27 am, "bjzhan...@gmail.com" <bjzhan...@gmail.com> wrote:
> Hi,everybody,I am a fresher of NIOSII,and in the passed days ,I have > been familar with the nios II system,also write some test program > about the gpio,timer,uart and can work properly,today I add the flash > controoler(CFI),but it doesn't work.And I use the signal tap to watch > the wave and the address bus is active but the read,write and cs is > always '1',I don't know why,can someone give me some advice and debug > methods.
Here are two helpful links: <http://www.google.com/search?q=debug+nios> <http://www.google.com/search?q=simulate+nios> Here's something to read while you're trying to figure out how to use google's search feature: <http://www.altera.com/literature/an/an351.pdf> You really should learn about Google's search feature; it works pretty well. And it's free for google-mail users (such as yourself), and the rest of the internet. Cheers, G.
On 5=D4=C21=C8=D5, =CF=C2=CE=E711=CA=B140=B7=D6, ghel...@lycos.com wrote:
> On May 1, 2:27 am, "bjzhan...@gmail.com" <bjzhan...@gmail.com> wrote: > > > Hi,everybody,I am a fresher of NIOSII,and in the passed days ,I have > > been familar with the nios II system,also write some test program > > about the gpio,timer,uart and can work properly,today I add the flash > > controoler(CFI),but it doesn't work.And I use the signal tap to watch > > the wave and the address bus is active but the read,write and cs is > > always '1',I don't know why,can someone give me some advice and debug > > methods. > > Here are two helpful links: > <http://www.google.com/search?q=3Ddebug+nios> > <http://www.google.com/search?q=3Dsimulate+nios> > > Here's something to read while you're trying to figure out how to use > google's search feature: > <http://www.altera.com/literature/an/an351.pdf> > > You really should learn about Google's search feature; it works pretty > well. And it's free for google-mail users (such as yourself), and the > rest of the internet. > > Cheers, > G.
Thanks,I have tried all what you say 2 days before and I have no idear so I refer to google group for help.Now I know why,Firstly,the flash chip I use is not support CFI.but the nios II only support CFI compliant flash.Secondly,because the jtag uart also use jtag ,so if I use printf function and from the signal tap the singal I watch is always '1',I remove the printf function and then the singal is active in the signal tap.
On May 1, 8:59 pm, "bjzhan...@gmail.com" <bjzhan...@gmail.com> wrote:
> On 5=D4=C21=C8=D5, =CF=C2=CE=E711=CA=B140=B7=D6, ghel...@lycos.com wrote: > > > On May 1, 2:27 am, "bjzhan...@gmail.com" <bjzhan...@gmail.com> wrote: > > > > Hi,everybody,I am a fresher of NIOSII,and in the passed days ,I have > > > been familar with the nios II system,also write some test program > > > about the gpio,timer,uart and can work properly,today I add the flash > > > controoler(CFI),but it doesn't work.And I use the signal tap to watch > > > the wave and the address bus is active but the read,write and cs is > > > always '1',I don't know why,can someone give me some advice and debug > > > methods. > > > Here are two helpful links: > > <http://www.google.com/search?q=3Ddebug+nios> > > <http://www.google.com/search?q=3Dsimulate+nios> > > > Here's something to read while you're trying to figure out how to use > > google's search feature: > > <http://www.altera.com/literature/an/an351.pdf> > > > You really should learn about Google's search feature; it works pretty > > well. And it's free for google-mail users (such as yourself), and the > > rest of the internet. > > > Cheers, > > G. > > Thanks,I have tried all what you say 2 days before and I have no idear > so I refer to Google group for help.Now I know why,Firstly,the flash > chip I use is not support CFI.but the nios II only support CFI > compliant flash.Secondly,because the jtag uart also use jtag ,so if I > use printf function and from the signal tap the signal I watch is > always '1',I remove the printf function and then the signal is active > in the signal tap.
NIOS supports many types of NOR flash, and adding a new type is usually a software change in the HAL. If you're trying to use NAND flash, there are application notes for those. You can use a 'traditional' UART instead of the JTAG UART. Several design examples for this on the Altera web site. Keep googleing, G.