Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Embedded > MAKE THAT: flas...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 348 of 414
Post > Topic >>

MAKE THAT: flash burning - 64 bit data bus / PowerPC

by tcolgan001@[EMAIL PROTECTED] Aug 4, 2005 at 11:18 AM

HAS ANYONE ELSE HAD TROUBLE BURNING FLASH WITH A 64 BIT BUS???

We are attempting to use Metrowerks Codewarrior to program the Flash
memory
on our board, but not having success.

The system configuration is based on a 8240 PowerPC and uses a JTAG
WireTap module.

The memory configuration consists of four STI M29W160EB in a 1M X 16bit
X 4 chip
configuration (i.e. 64 bit data bus).

We are able to access the Device Code and Manufacturers code via the
command window
as follows:
    %>change  p:fff00000 f0f0f0f0f0f0f0f0 64bit
    %>change  p:fff02aa8 aaaaaaaaaaaaaaaa 64bit
    %>change  p:fff01550 5555555555555555 64bit
    %>change  p:fff02aa8 9090909090909090 64bit
    %>display p:fff00000..fff00010 64bit
      p:$fff00000 =       $0020002000200020       $2249224922492249
      p:$fff00010 =       $0000000000000000

Moreover, we are able to manually erase a flash block using the
following commands:

  %>display p:fff00000..fff00010 64bit
    p:$fff00000 =       $7d685b785508463e       $892300007d2a4278
    p:$fff00010 =       $7d4a3838554a103a
  %>change  p:fff02aa8 aaaaaaaaaaaaaaaa 64bit
  %>change  p:fff01550 5555555555555555 64bit
  %>change  p:fff02aa8 8080808080808080 64bit
  %>change  p:fff02aa8 aaaaaaaaaaaaaaaa 64bit
  %>change  p:fff01550 5555555555555555 64bit
  %>change  p:fff00000 3030303030303030 64bit
  %>display p:fff00000..fff00010 64bit
    p:$fff00000 =       $ffffffffffffffff       $ffffffffffffffff
    p:$fff00010 =       $ffffffffffffffff


HOWEVER WE HAVE PROBLEMS WHEN ATTEMTING TO USE THE CODEWARRIOR FLASH
PROGRAMMER.

When we attempt to erase even one sector the log shows the following:


======================================================================
  === Execute: Erase
  === Timestamp:  Wed Aug  3 13:29:33 2005
  === Flash Device:         AM29DL163CB
  === Flash Organization:   1Mx16x4
  === Flash Mem Start Addr: 0xFF800000
  === Flash Mem End Addr:   0xFFFFFFFF

======================================================================
  Using Algorithm: amd16x4.elf

  Loading Flash Device Driver at: 0x0000E800
  Flash Driver Buffer is at:      0x00010000
  Flash Driver Buffer Size is:    0x00040000
  Done

  Initialization Command Succeeded
  Erasing Sector 0xFFF00000 to 0xFFF3FFFF ...
  Flash Programmer:  Flash driver re****ts the following error(s):
Timed Out

  Timestamp:  Wed Aug  3 13:33:39 2005

It should be noted that we have another board which uses the same flash
chip
but in the configuration 2M X 8bits X 1chip.  On this board we are able
to
use the CodeWarrior Flash Programmer.

Also, speeds have been slowed down by changing the Interface Clock
Frequency
to 4MHz and Memory Write Delay to 200.

Note that memory device selected is AM29DL163CB which should be
compatible with
the STI device (we had similar problems previously with AMD parts).

Any help/suggestions appreciated.

Thanks,
Tim Colgan
 




 1 Posts in Topic:
MAKE THAT: flash burning - 64 bit data bus / PowerPC
tcolgan001@[EMAIL PROTECT  2005-08-04 11:18:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:56:41 CDT 2008.