2008-01-28 02:55:57     BF561 EZ-KIT problems with extender boards and SCLK confusion

Document created by Aaronwu Employee on Aug 5, 2013
Version 1Show Document
  • View in full screen mode

2008-01-28 02:55:57     BF561 EZ-KIT problems with extender boards and SCLK confusion

Jan Fristedt (SWEDEN)

Message: 50200    Hi all,

I'm still having problems with my BF561 EZ-KIT and extender boards. When I run SCLK at 100MHz the combination of a BF561 EZ-KIT and a USB-LAN EZ-EXTENDER run OK. If I add an A-V EZ-EXTENDER to the stack it fails to run. I'm only about 95% sure all jumpers are in the correct positions but since I was able to change the SCLK frequency I tried that first.

 

First I changed CONFIG_SCLK_DIV to 10 for a 60MHz SCLK, seemed safe and low, but the BF561 EZ-KIT died completely and I had to reprogram the flash via JTAG. When I changed CONFIG_SCLK_DIV to 8 I got the same problem. With a value of 7 it "almost" worked. It seem to exist a minimum frequency for the SCLK at about 90 MHz. Is this a SDRAM refresh problem? Is it documented somewhere?

 

Then I tried to change the value of CONFIG_VCO_MULT and got some combinations of CONFIG_VCO_MULT and CONFIG_SCLK_DIV to work but not other combinations. It wasn't a case of SCLK being between a minimum and a maximum that worked, to me it seemed that certain combinations refused to work even though the resulting SCLK would have been between limits.

 

I have seen some posts about power problems with EZ-KITs and extender boards of certain revisions. Are those problems related to the on board regulators or the external power supply?

 

TIA

/Janne

QuoteReplyEditDelete

 

 

2008-01-28 03:58:06     Re: BF561 EZ-KIT problems with extender boards and SCLK confusion

Mike Frysinger (UNITED STATES)

Message: 50201    what do you mean stacked ?  you're using the LAN and the AV card at the same time ?  this most likely wont work.

 

the problems you're having are with the hardware, not the software.  you should talk to a local FAE about the situation.

QuoteReplyEditDelete

 

 

2008-01-28 06:27:16     Re: BF561 EZ-KIT problems with extender boards and SCLK confusion

Jan Fristedt (SWEDEN)

Message: 50220    Yes, we "need" ethernet and a camera interface at the same time.

 

I just found out from EE-258 "Interfacing Micron MT9V022 Image Sensors to Blackfin Processors" that they expect SW3 1=off 2=off for "Non flash boot ensures that PPI0 does not drive against the image sensor output." My conclusion is that we need to boot from SPI if we use ADI hardware.

 

I checked the part in the documentation about "Serial NOR Flash and U-Boot" and it looked slightly dated.

 

Do you know if that is a correct description of the current state, or even better, do you know a better way?

 

I will get in contact with my local FAE and express my feelings about the hardware, I don't want to do it in public :'|

 

TIA

/Janne<a id="serial_nor_flash_and_u-boot" name="serial_nor_flash_and_u-boot">

QuoteReplyEditDelete

 

 

2008-01-28 07:00:31     Re: BF561 EZ-KIT problems with extender boards and SCLK confusion

Mike Frysinger (UNITED STATES)

Message: 50221    unfortunately, you cannot boot from SPI flash on the BF561-EZKIT using the SPI pin header ... you will need to make a custom card that connects to the U-connector

 

which document are you referring to exactly ?  the one in the wiki should be perfectly up to date:

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:parallel-flash

 

the state of BF561-EZKIT as a development platform does suck   maybe with enough customers telling people that the platform is inadequate, the situation will improve ...

QuoteReplyEditDelete

 

 

2008-01-28 08:18:23     Re: BF561 EZ-KIT problems with extender boards and SCLK confusion

Jan Fristedt (SWEDEN)

Message: 50224    How come? Why? Aren't all needed signals available on the header?

 

The document I refer to is http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:serial-flash

 

The BF561-EZKIT seem to be a less than perfect development platform. Let's say no more...

 

/Janne

QuoteReplyEditDelete

 

 

2008-01-28 08:33:20     Re: BF561 EZ-KIT problems with extender boards and SCLK confusion

Mike Frysinger (UNITED STATES)

Message: 50228    the CS that the BF561 bootrom uses for booting is not the CS that is on the SPI pin header ... the BF561 uses CS2 to boot, but the pin header has CS1 pulled out.  iirc, CS2 is also tied up to some peripheral, so you may have to disconnect it (if a switch is available) or cut the trace ... and CS2 is only available on the u-connector

 

sorry, i confused parallel and serial flash.  but the answer is the same :).  the document you refer to should be up to date ... but it covers things according to the 2008R1 u-boot, not the 2007R1 u-boot ... the reading/writing interface from the command line should be the same

 

what in particular threw you off ?

QuoteReplyEditDelete

 

 

2008-01-28 09:59:10     Re: BF561 EZ-KIT problems with extender boards and SCLK confusion

Jan Fristedt (SWEDEN)

Message: 50234    They sure made some interesting decisions at ADI when they designed the BF561-EZLITE...

 

"The current largest is about 128 megabits / 16 megabytes and it works great!" sounded a bit old for me. Now I realize that we are probably not talking SD-cards but serial flash chips. Silly me!

 

We have decided to forget about the combination BF561-EZKIT + A-V EZ-EXTENDER + USB-LAN EZ-EXTENDER for the moment. We are going to do part of the development on our BF537-EZKIT + A-V EZ-EXTENDER and part of the development on our BF561-EZKIT + USB-LAN EZ-EXTENDER using file sharing over ethernet.

 

/Janne

QuoteReplyEditDelete

 

 

2008-01-28 10:15:18     Re: BF561 EZ-KIT problems with extender boards and SCLK confusion

Robin Getz (UNITED STATES)

Message: 50235    Jan:

 

Sorry to say - Linux (today) does not support the AV EZ-Extender. This doesn't mean you can't write driver for it, but we have none. What kind of camera are you trying to connect to?

 

-Robin

QuoteReplyEditDelete

 

 

2008-01-28 11:22:49     Re: BF561 EZ-KIT problems with extender boards and SCLK confusion

Jan Fristedt (SWEDEN)

Message: 50238    We have code for what we want to do, running on the BF537.

 

The only thing we use the A-V EZ-EXTENDER for is to connect a Micron camera to the PPI interface.

 

The USB-LAN EZ-EXtender is just for development. We think it's a very convenient way to develop using ethernet and NFS. Can you suggest some other similarly convenient method?

 

/Janne

Attachments

    Outcomes