2009-09-11 11:42:49     Cannot program uboot on BF561 EZ-Kit

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

2009-09-11 11:42:49     Cannot program uboot on BF561 EZ-Kit

Mario Valenta (UNITED STATES)

Message: 79807   

 

I am new to embedded BF development and have read thru all the documentation yet still have trouble understanding some things.  Im sorry in advance if this has been covered to death, or if this is the wrong place to post

 

I am trying to load Das U-boot onto my BF-561 EZkit.  This kit does not come with u-boot pre-installed and cannot boot from UART like some of the other devkits out there.   This kit is pcb v2.3 and has a ST micro flash M29W640FT (which according to datasheet is a 64 Mbit flash and is either 8Mb x8 or 4Mb x16).

 

I have a dual-boot pc here so I've installed the toolchain and uClinux on my linux installation, and in windows I have visual DSP++ installed with a analog devices JTAG ICE for programming.  in other words, I am not using gnICE or any other methods.   I'm only using vDSP++ to load the snippet that allows the jtag to program the flash directly, and from then i'm going to be able to (at least I think I will) program u-boot to the flash using vDSP++ once more, then i can abandon using windows and do everything from linux, using the comm port on the BF-561 ezkit.

 

to that end... I run vDSP++ and create a session for this board but when I attempt to program flash I get the error:

 

Error: There was a problem with one or more

required expressions in the driver.  Please make

sure the following expressions are present and

try again:

"AFP_BreakReady"

Error: Driver load failed.

 

The drivers are located in this directory:  C:\Program Files\Analog Devices\VisualDSP 5.0\Blackfin\ldr\561_PROM16.dxe

 

when i browse there are a bunch of different .DXE files available.  I figured to restrict the choices to one with "561" in the file name.  Thus the options I have are:

 

561_PROM16.dxe

 

ADSP-BF561-ROM-V05.dxe

 

ezkitBF561_initcode.dxe

 

All three of these fail, with the same error mentioned above.  I made sure to highlight core A fromt he multiprocessor window for flash programming.

 

Do I have this process wrong?  Is there some other file other than these .dxe files that I should be programming?  Is there not a .DXE file for this flash part yet?

 

Again, my apologies if this has been discussed before.  I'm a little stumped, any help is greatly appreciated.

QuoteReplyEditDelete

 

 

2009-09-11 11:50:38     Re: Cannot program uboot on BF561 EZ-Kit

Mike Frysinger (UNITED STATES)

Message: 79808   

 

the only docs we have to program u-boot via VDSP are here:

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:loading#visual_dsp_adi_ice

 

if you're getting random errors from VDSP (and it appears you are), there isnt much we can do to help as we dont use/know VDSP.  you should post your question on the VDSP forums:

http://ez.analog.com/index.jspa

 

the error you're hitting most likely isnt related to u-boot in any way as VDSP should not care about the contents when programming a binary file into flash.

QuoteReplyEditDelete

 

 

2009-09-11 11:58:39     Re: Cannot program uboot on BF561 EZ-Kit

Mario Valenta (UNITED STATES)

Message: 79810   

 

Mike, thanks for the info.

 

Actually I did just make some progress.  The DXE file to program the flash is actually stored in a different location (go figure?)

 

this may help some other noob users who have same problem.   use this DXE file:

 

C:\Program Files\Analog Devices\VisualDSP 5.0\Blackfin\Examples\ADSP-BF561 EZ-KIT Lite\Flash Programmer\BF561EzFlashDriver.dxe

 

then it works fine.  I don't know why its not in the default driver directory.  ??

Attachments

    Outcomes