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

Re: [microblaze-uclinux] FSL download doesn't work



Hi Ivan,

I had the same result, which took me about 10 minutes to download image file from XMD even I added FSL core. You can try to change the frequency of XMD Debug Option to 12000000 Hz. The problem will be solved, ant it may take you 1-2 minutes to download image file.

much success

Qihua Shang

On 3/14/07, Ivan Stankovic <pokemon@xxxxxxxxxxxxxx> wrote:
Hi,

I'm using EDK 8.2.02 on a Windows machine with a parallel
programming cable. It seems I can't enable fast (FSL)
downloads (I _am_ able to download kernel image without
FSL, but that takes over 20 minutes).

Here's what xmd says:

XMD%
Loading XMP File..
Processor(s) in System ::

Microblaze(1) : microblaze_0
Address Map for Processor microblaze_0
(0x00000000-0x00001fff) dlmb_cntlr    dlmb
(0x00000000-0x00001fff) ilmb_cntlr    ilmb
(0x24000000-0x27ffffff) DDR_SDRAM_32Mx16      mb_opb
(0x24000000-0x27ffffff) DDR_SDRAM_32Mx16      ixcl
(0x24000000-0x27ffffff) DDR_SDRAM_32Mx16      dxcl
(0x40000000-0x4000ffff) LEDs_4Bit     mb_opb
(0x40600000-0x4060ffff) RS232 mb_opb
(0x40c00000-0x40c0ffff) Ethernet_MAC  mb_opb
(0x41200000-0x4120ffff) opb_intc_0    mb_opb
(0x41400000-0x4140ffff) debug_module  mb_opb
(0x41c00000-0x41c0ffff) opb_timer_1   mb_opb

XMD% connect mb mdm -bscan USER1 -pfsl port 0 type s
Connecting to cable (Parallel Port - LPT1).
Checking cable driver.
Driver windrvr6.sys version = 7.0.0.0. LPT base address = 0378h.
ECP base address = FFFFFFFFh.
Cable connection established.

JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
1       0167c093          10        XC4VLX25
        Assuming, Device No: 1 contains the MicroBlaze system
Connected to the JTAG MicroProcessor Debug Module (MDM)
No of processors = 1

MicroBlaze Processor 1 Configuration :
-------------------------------------
Version............................5.00.c
No of PC Breakpoints...............2
No of Read Addr/Data Watchpoints...0
No of Write Addr/Data Watchpoints..0
Instruction Cache Support..........on
Instruction Cache Base Address.....0x24000000
Instruction Cache High Address.....0x27ffffff
Data Cache Support.................on
Data Cache Base Address............0x24000000
Data Cache High Address............0x27ffffff
Exceptions  Support................off
FPU  Support.......................off
FSL DCache Support.................on
FSL ICache Support.................on
Hard Divider Support...............on
Hard Multiplier Support............on
Barrel Shifter Support.............on
MSR clr/set Instruction Support....on
Compare Instruction Support........on
Number of FSL ports..............1
PVR Supported......................on
PVR Configuration Type.............Full
PVR MicroBlaze Source Version......0x3
PVR MicroBlaze User1 ID............0x0
PVR MicroBlaze User2 ID............0x0
MBsfsl(0)-MDMmfsl(0) Connected..........Yes
JTAG MDM Connected to MicroBlaze 1
Connected to "mb" target. id = 0
Starting GDB server for "mb" target (id = 0) at TCP port no 1234

XMD% dow -data image.bin 0x24000000

And now the download takes a long time, as if xmd is ignoring
the FSL link. Any idea why this happens? (The MHS file is
attached.)


--
Ivan Stankovic, pokemon@xxxxxxxxxxxxxx

"Protect your digital freedom and privacy, eliminate DRM,
learn more at http://www.defectivebydesign.org/what_is_drm"