Hi

I am trying to get Jflash-linux working with the
SA-1110 based board I have. The ID command goes through
properly, but after that the access_rom ( ) function
fails to return proper values when the READ command is
used.

In order to enable writing to Flash,i.e the Flash write
enable line, is AND'ed with an Inverted GPIO pin, so
that the flash is not erased accidently. This works
fine from the Kernel and Bootloader as we are properly
setting it there.

But now we want to download a new bootloader and Kernel
through JTAG for which I have to enable the GPIO pin
i.e Set it HIGH.
For doing this I tried the following :
 ( I am using GPIO5 as example )
 Set GP5_EN to 1
 Set GP5_OUT to 1
 Set GP5_IN to 0
in the sa1100jtag.h file and also in the Jflash.cpp
file.

But the Pin is not changing levels and I am not able to
write to the Flash.

But, if I do the following, I am able to Pull GPIO5 high
        Set GP5_EN to 0
        Set GP6_IN to 1
        Set GP6_OUT to 1

Even though the GPIO pin changes levels in this case and I am able to see
this on the Scope, I am not able to program the flash.

I am using the Jflash.cpp file which I got from the
Assabet-Jflash-1.2-1.tgz from
 ftp://ftp.arm.linux.org.uk/.../nico.
Any pointers on what else I have to do to set the GPIO
pin to high and to program the flash.

Thanks in Advance
Ramki.


-------------------------------------
Ramakrishnan.A
Sasken Communication Technologies Ltd.
Ph: 5355501/03 x:3101
-------------------------------------

CONFIDENTIALITY INFORMATION AND DISCLAIMER
--------------------------------------------------------------------------
"This communication sent by Sasken Communication Technologies Limited is
privileged and confidential, and is directed to and for the use of the
addressee only. If this message reaches anyone other than the intended
recipient, we request the reader not to reproduce, copy, disseminate or
in any manner distribute it. We further request such recipient to notify us
immediately by return email and delete the original message.
Sasken does not guarantee the security of any information transmitted
electronically and is not liable for the proper, timely and complete
transmission thereof. Opinions, conclusions and other information in
this communication that do not relate to the official business of Sasken
shall be understood as neither given nor endorsed by it."
---------------------------------------------------------------------------_


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.

Reply via email to