Page 1 of 1

XFLASH not recognizing flash device

Posted: Mon Apr 30, 2012 5:26 am
by jonecm
Hello Helpful forum...
I got my new pcb's back for the project I'm working on. Which, by the way, look fantastic!!!
But do they work??? Only when attached to life support it seems.
The flash memory I'm using AT25DF041A, is not being recognized by xflash.
The AT25DF041A part is supported by xmos (http://www.xmos.com/support/knowledgeba ... orted-xmos)

This is the output I get from running xflash

Error: failed to recognise attached flash device.
Error: F03034 Failed to fully run flash inquisitor.
Error: F03034 By default xflash will try to connect to a target in order to determine
Error: F03034 which flash device is being used even when outputting only to file. To
Error: F03034 prevent this connection supply the --noinq option.

I've literary killed my self trying to find out why this isn't working.
Here's some information I've gathered from my trying
CS on the data flash normally floats around 2.5v, when putting logic analyzer on this pin I don't see any change on it while running xflash.
SO don't see any activity on this pin
SI don't see any activity on this pin

I have a 10k res pulling the cs to 3.3v, could this be causing a problem???

I'll run the spi example tomorrow and see if it reads the device ID sucessfully as it seems the problem is related to software rather than hardware.

Thanks in advance!

Jon

UPDATE: It seems that I can't output anything to any pins on this board, I can read the pin state fine but when I try to change pin state nothing happens.

Re: XFLASH not recognizing flash device

Posted: Mon Apr 30, 2012 5:10 pm
by jonecm
Got it all working now!!! Problem was bad spi flash pinout in .xn descriptor file.

I must say however though that the new project wizard should be modified to facilitate the creation of the .xn project files.

Good job guys!

Jon

Re: XFLASH not recognizing flash device

Posted: Tue Sep 24, 2013 9:59 pm
by Guest
I used the same flash device and am getting the same error.
Can someone explain the fix? I am using the USB Audio 2.0 Software to program a development board based on the USB Audio 2.0 Reference Design.

Re: XFLASH not recognizing flash device

Posted: Tue Oct 29, 2013 11:33 am
by Chendy
Just a little heads up. I had the same problem when using my laptop without the charger, but when I put plugged the charger in all was well. strange but true

Re: XFLASH not recognizing flash device

Posted: Tue Oct 29, 2013 12:58 pm
by sethu_jangala
Hi Chendy,

Are you using USB Audio 2.0 Multi channel Reference design board? Have you pressed the Power button (can be found on the side of the USB Audio Multi channel Audio Board) before trying to flash the board?

Sethu.

Re: XFLASH not recognizing flash device

Posted: Fri Nov 08, 2013 3:16 pm
by Chendy
Hi sethu,

No I was using the slicekit. But again, there was no problems once I plugged in my laptop charger.

Thanks

Re: XFLASH not recognizing flash device

Posted: Fri Nov 08, 2013 3:28 pm
by sethu_jangala
Hi Chendy,

Can you tell us the following:
1. Is your board getting proper supply voltage?
2. How are you powering your board?
3. Which sliceKIT are you using?

Sethu.