Skip to contentSkip to conversation

u-boot hangs while accesing pcmcia socket address.

U-Boot-Users Girish 1 participant 3 messages Feb 20, 2007 – Feb 28, 2007

lore
Share & tools
lore

Girish

author
#0 lore raw

Hi all ,
I am writing a driver for 256MB Micron Nand flash On PXA270 board
through PCMCIA interface as decribed in "http://download.intel.com/design/pca/applicationsprocessors/applnots/28014402.pdf". So I am trying it out in u-boot first. I wrote a u-boot command called mynand which writes the command at 0x30000000 (socket1 of pcmcia), data at 0x20000000(socket0 of pcmcia) and address at 0x20000040(i.e Address6=ALE). But u-boot hangs whenever I try to access pcmcia socket addresses i.e. 0x20000000 or 0x30000000. Please help me in this regard.

Thanks in advance.

regards
Girish A J

----------------------------------------------------------------------
"When Ability Ends; Faith Begins....

Girish A J (girish.a at geodesic.com)
Associate - Systems, Ph: (80) 2361 8184-86 Ext 135
PicoPeta Simputers Pvt Ltd. Fax:(80) 2361 7568
146 5th Cross, RMV Extension,
Bangalore - 560 080.
URL http://www.geodesic.com
--------------------------------------------------------------------------

author
#1 lore raw
Quoted 11 lines · Girish

Hi all ,
I am writing a driver for 256MB Micron Nand flash On PXA270 board
through PCMCIA interface as decribed in "http://download.intel.com/design/pca/applicationsprocessors/applnots/28014402.pdf". So I am trying it out in u-boot first. I wrote a u-boot command called mynand which writes the command at 0x30000000 (socket1 of pcmcia), data at 0x20000000(socket0 of pcmcia) and address at 0x20000040(i.e Address6=ALE). But u-boot hangs whenever I try to access pcmcia socket addresses i.e. 0x20000000 or 0x30000000. Please help me in this regard.

And I did "md 0x20000000" It too hangs the u-boot. Please suggest me
how to go on further.
Waiting for your responses.

Regards
Girish

----------------------------------------------------------------------
"When Ability Ends; Faith Begins....

Girish A J (girish.a at geodesiconline.com)
Associate - Systems, Ph: (80) 2361 8184-86 Ext 135
PicoPeta Simputers Pvt Ltd. Fax:(80) 2361 7568
146 5th Cross, RMV Extension,
Bangalore - 560 080.
URL http://www.picopeta.com
--------------------------------------------------------------------------

author
#2 lore raw
Quoted 14 lines · Girish
Quoted 12 lines · Girish

Hi all ,
I am writing a driver for 256MB Micron Nand flash On PXA270 board
through PCMCIA interface as decribed in "http://download.intel.com/design/pca/applicationsprocessors/applnots/28014402.pdf". So I am trying it out in u-boot first. I wrote a u-boot command
called mynand which writes the command at 0x30000000 (socket1 of pcmcia), data at 0x20000000(socket0 of pcmcia) and address at 0x20000040(i.e Address6=ALE). But u-boot hangs whenever I try to access pcmcia socket addresses i.e. 0x20000000 or 0x30000000. Please help me in this regard.

Quoted 4 lines

And I did "md 0x20000000" It too hangs the u-boot. Please suggest me how to go on further.
Waiting for your responses.

Hi all,
the hang is because of RDY pin; which should be connected to
nPWAIT of PCMCIA interface. We didnt do it before.
Now we can able to access the address 0x20000000(PCMCIA's Socket 0).
Hope this info might help somebody who has same problem. :-)

Regards
Girish