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

Re: [microblaze-uclinux] Fwd: SREC File Upload Issues



Hi Michal,

On Wed, Jan 28, 2009 at 23:41, Michal Simek <monstr@xxxxxxxxx> wrote:
Hi Matt,

> Hi Michal
>
>>What is your memory map? I mean mem base and size
>
> Current map (base/size):
>
> DLMB: 0x00000000 / 8K
> ILMB: 0x00000000 / 8K
> btn_rotary_encoder: 0x400a0000 / 64K
> FLASH_16Mx8: 0x21000000 / 16M
> Ethernet_MAC: 0x40e00000 / 64K
> LEDs_8bit: 0x40000000 / 64K
> DIP_Switches_4Bit: 0x40020000 / 64K
> Reset_GPIO: 0x40030000 / 64K
> opb_intc_0: 0x41200000 / 64K
> debug_module: 0x41400000 / 64K
> opb_timer_1: 0x41c00000 / 64K
> RS232_DTE: 0x40600000 / 64K
> DDR_SDRAM_32Mx16: 0x24000000 / 64M

First of all -> check that your mss contains memory size because your board
doesn't have 64MB memory but only 32MB. But please keep 64MB in HW design ->
that's ok.


>>I think that you should find all files
>>which you need.
>>(hardware/reference-designs/
>>pre-built/Xilinx-Spartan3E500-RevD-edk91) Could you
>>test them on your board?
>
> I've successfully compiled and uploaded the .bit files from this
> directory on to my board without any issues.

Why did you compile it? It is pre-build folder -> there is download.bit already
prepared and linux & u-boot too.

Thanks, I found them now.
 

>
>
>>I hope you have write permission on your serial console.
>>chmod 777 /dev/ttyS0
>>
>>cat command in 100% OK. I am using dd if=xxx.srec of=/dev>>/ttyS0 too.
>>
>>Let's start from the same point as I am.
>>Please download the latest SVN version.
>>svn co https://developer.petalogix.com/pr/internal/petalinux/>trunk/
> <https://developer.petalogix.com/pr/internal/petalinux/trunk/>
>>pass: guest
>
> I usually have to chmod /dev/ttyS0 every time I boot.  Now I've added it
> to my rc.local so that it is always 777.

ok

> I'm currently downloading the
> SVN (it is taking a long time).

ok

>
>
> As a side note, no word yet from VirtualBox on the serial handshake
> issue.  I did however notice a bunch of these messages in dmesg when I
> send serial data:
>
> serial8250: too much work for irq4

your serial is uartlite not serial8250. serial8250 is for uart16550.

>
> Which still makes me think I'm having a serial communication issue here.


I hope you have working xmd on windows.
Go to hardware/reference-design/pre-build/Xilinx-Spartan3E500-RevD/implementation/
There is download.bit -> please load it to your board.
Then go to ../images.
run xmd
connect mb mdm
dow -data image-2.6.bin 0x24000000
rwr pc 0x24000000
con

and look to your serial line on x86 or whatever you use. Just for sure - serial
line baudrate should be 115200. 


What does happen?

I do have xmd in windows.  I started it up and try to connect using the connect command above.  If I plug in my USB JTAG cable, xmd fails to detect the cable.  If I plug in a straight USB cable from my computer to the board, I get a listing of cable detection failures followed by this:

JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       01c22093           6        XC3S500E
 2       05046093           8        XCF04S
 3       06e5e093           8        XC2C64A_VQ44_1532

ERROR(201): Could Not Detect MDM Peripheral on Hardware. Check:
        1. If FPGA is Configured Correctly
        2. MDM Core is Instantiated in the Design

I've tried specifying the -cable attribute, but it didn't seem to work.

Thanks.

Matt