XFLASH not recognizing flash device

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
User avatar
jonecm
Member++
Posts: 23
Joined: Tue Oct 11, 2011 4:36 am

XFLASH not recognizing flash device

Post 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.


User avatar
jonecm
Member++
Posts: 23
Joined: Tue Oct 11, 2011 4:36 am

Post 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
Guest

Post 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.
User avatar
Chendy
Active Member
Posts: 46
Joined: Tue Nov 02, 2010 4:53 pm

Post 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
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Post 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.
User avatar
Chendy
Active Member
Posts: 46
Joined: Tue Nov 02, 2010 4:53 pm

Post by Chendy »

Hi sethu,

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

Thanks
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Post 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.
Post Reply