[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] Help on 8/16 bit flash



Tyrone,

Which version of the board are you using? If it's a "Rev. 2", you'll need to
apply the attached ECO, or return your board to Nu Horizons, in order to
have the ECO applied for you.

Also, here is the proper set of configurations for the EMC controller, when
using that board:

PORT Flash_Mem_A = Flash_Mem_A, VEC = [0:31], DIR = O  PORT Flash_Mem_DQ =
Flash_Mem_DQ, VEC = [0:7], DIR = IO  PORT Flash_Mem_CEN = Flash_Mem_CEN, DIR
= O  PORT Flash_Mem_OEN = Flash_Mem_OEN, DIR = O  PORT Flash_Mem_QWEN =
Flash_Mem_QWEN, DIR = O  PORT Flash_Mem_RPN = Flash_Mem_RPN, DIR = O

BEGIN opb_emc
 PARAMETER INSTANCE = opb_emc_0
 PARAMETER HW_VER = 1.10.b
 PARAMETER C_MEM0_WIDTH = 8
 PARAMETER C_MAX_MEM_WIDTH = 8
 PARAMETER C_INCLUDE_DATAWIDTH_MATCHING_0 = 1  PARAMETER C_OPB_CLK_PERIOD_PS
= 20000  PARAMETER C_READ_ADDR_TO_OUT_SLOW_PS_0 = 90000  PARAMETER
C_WRITE_ADDR_TO_OUT_SLOW_PS_0 = 0  PARAMETER C_WRITE_MIN_PULSE_WIDTH_PS_0 =
50000  PARAMETER C_READ_ADDR_TO_OUT_FAST_PS_0 = 90000  PARAMETER
C_WRITE_ADDR_TO_OUT_FAST_PS_0 = 0  PARAMETER C_BASEADDR = 0xFFFF_8600
PARAMETER C_HIGHADDR = 0xffff87ff  PARAMETER C_MEM0_BASEADDR = 0xFF00_0000
PARAMETER C_MEM0_HIGHADDR = 0xFF3F_FFFF  BUS_INTERFACE SOPB = opb_v20_0
PORT OPB_Clk = sys_clk  PORT Mem_A = Flash_Mem_A  PORT Mem_DQ = Flash_Mem_DQ
PORT Mem_CEN = Flash_Mem_CEN  PORT Mem_OEN = Flash_Mem_OEN  PORT Mem_QWEN =
Flash_Mem_QWEN  PORT Mem_RPN = Flash_Mem_RPN END

Regards,

David Banas
Field Applications Engineer
Nu Horizons Electronics Corp.
2070 Ringwood Avenue
San Jose, CA 95131
(408)434-0800 - office
(415)846-5837 - cell
http://www.nuhorizons.com

-----Original Message-----
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of Tyrone Kwok
Sent: Friday, January 14, 2005 8:40 AM
To: mailinglist_microblaze-uclinux
Subject: [microblaze-uclinux] Help on 8/16 bit flash

Hi all,

Below is message from Antti. As http://xilinx.openchip.org can't be
accessed currently, I cannot but ask in this list:

I tried a day but still couldn't get the flash in the NuHorizons Spartan 3
400
board to work. Could somebody kindly tell me the EMC bug below and the
fix for it (btw, I'm using EDK 6.2.2)?

Thx in advance!

Cheers,
Tyrone


======================================================
Hi

both 8 and 16 bit wide Flash configuration can be used with EMC, the
flash will be accessible for reads in 8/16/32 bit accesses

the A-1 terms comes from Flash manufacturer datasheet so it quite
normal naming :)

with flash write using CFI there are problems as the EMC has a bug
that prevents the writing. Simple fixup exists, we actually made even
special fixup core for that purpose

it is the EDK cores forum at
http://xilinx.openchip.org

the fixup is basically one or gate :)

Antti
http:/uclinux.openchip.org

MicroBlaze-uCLinux Platform Simulator
available for downloads :)!
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________

Attachment: ECO_040704.doc
Description: ECO_040704.doc

The information contained in this e-mail is legally privileged and confidential information intended only for use by the  individual or entity named above.  If the reader of this e-mail is not the intended recipient, you are hereby notified that any dissemination or distribution hereof is prohibited.  If you have received this e-mail in error, please delete the material from your computer and immediately notify us at   631-396-5000.  Thank you.