[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openocd-development
Subject:    [Openocd-development] Try to program CFI flash on cirrus
From:       b.hutchman () gmail ! com (Brian Hutchinson)
Date:       2009-04-29 3:05:11
Message-ID: 3d1967ab0904282005x253fdb1eu80fb8573e58e6a14 () mail ! gmail ! com
[Download RAW message or body]

You'll have to find out which ARM core is closest to yours and grep the .cfg
files for examples.

I briefly looked at the board specs.  Looks like the flash is on CS6.
You'll have to figure out what mww commands are needed to strap the
registers enough to enable that chip select.

That is about all that came to mind so far.  Hope you get it going!

Brian

On Tue, Mar 31, 2009 at 11:11 AM, <tgiraldi at rockwellcollins.com> wrote:

> 
> Hello,
> 
> I try to configure CFI external flash on cirrus EDB 9307A eval board with
> following command into my script file:
> 
> # Use MAC FIFO RAM 4Ko of EP9307 as working area
> $_TARGETNAME configure -work-area-virt 0x80014000 -work-area-phys
> 0x80014000 -work-area-size 0x10FF -work-area-backup 1
> 
> #NOR flash 16Mbyte at nCS6 (address 0x60000000), chip width 16 bits, bus
> width used 16 bits
> #flash bank <driver> <base> <size> <chip_width> <bus_width> <target>
> [driver_options ...]
> flash bank cfi 0x60000000 0x1000000 2 2 0
> 
> In my log file following error is displayed:
> 
> Error: Could not probe bank
> Error: auto_probe failed -900
> 
> 
> If I try via telnet to use following commands:
> 1- flash info 0
> following error:
> Could not probe bank
> 
> called at file "command.c", line 456
> called at file "embedded:startup.tcl", line 89
> called at file "embedded:startup.tcl", line 93
> 
> 2- flash probe 0
> following error:
> Could not probe bank
> probing failed for flash bank '#0' at 0x60000000
> 
> What does" Could not probe bank" mean ?
> sorry I am not an expert  :-(
> what's wrong with my config file ?
> debug into RAM seems OK, just problem with flash programming
> 
> Somebody can help me ?
> I try to find explanations into archive I find nothing about cirrus EP9307
> 
> my environment:
> Open OCD  version 0.1.0 january 2009
> eval board cirrus EDB9307A ( external NOR flash JS28F128J3D 128 Mbits)
> J-TAG interface Amontec JTAG-tiny
> 
> in attachment my config file and open OCD log file
> 
> 
> 
> 
> Theo GIRALDI
> *mailto:tgiraldi at rockwellcollins.com* <tgiraldi at rockwellcollins.com>
> _______________________________________________
> Openocd-development mailing list
> Openocd-development at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/openocd-development
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.berlios.de/pipermail/openocd-development/attachments/20090428/45a0333b/attachment.html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic