public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* enable_vpp / disable_vpp
@ 2005-05-02  9:03 Sascha Hauer
  2005-05-04 23:00 ` Todd Poynor
  0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2005-05-02  9:03 UTC (permalink / raw)
  To: linux-mtd

Hi all,

I'm using cfi_cmdset_0001.c (intel strata) on a custom pxa board. Our
mapping driver implements enable_vpp and disable_vpp. We often receive
"Chip reports voltage low on erase" errors. The driver seems to disable
vpp during erase operations. If I short-ciruit the disable_vpp function
everything works fine. A comment gives a hint on how to do this correct:

/* We should really make set_vpp() count, rather than doing this */

Is this feature planned for the future? 

Sascha

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: enable_vpp / disable_vpp
  2005-05-02  9:03 enable_vpp / disable_vpp Sascha Hauer
@ 2005-05-04 23:00 ` Todd Poynor
  2005-05-06  9:51   ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Todd Poynor @ 2005-05-04 23:00 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: linux-mtd

Sascha Hauer wrote:
> Hi all,
> 
> I'm using cfi_cmdset_0001.c (intel strata) on a custom pxa board. Our
> mapping driver implements enable_vpp and disable_vpp. We often receive
> "Chip reports voltage low on erase" errors. The driver seems to disable
> vpp during erase operations. If I short-ciruit the disable_vpp function
> everything works fine. A comment gives a hint on how to do this correct:
> 
> /* We should really make set_vpp() count, rather than doing this */
> 
> Is this feature planned for the future? 

One stab at this was
http://lists.infradead.org/pipermail/linux-mtd/2005-January/011517.html

comments or alternate suggestions would be welcome.  You can also modify 
your map driver to do this instead.

-- 
Todd

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: enable_vpp / disable_vpp
  2005-05-04 23:00 ` Todd Poynor
@ 2005-05-06  9:51   ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2005-05-06  9:51 UTC (permalink / raw)
  To: Todd Poynor; +Cc: Sascha Hauer, linux-mtd

On Wed, May 04, 2005 at 04:00:20PM -0700, Todd Poynor wrote:
> Sascha Hauer wrote:
> >Hi all,
> >
> >I'm using cfi_cmdset_0001.c (intel strata) on a custom pxa board. Our
> >mapping driver implements enable_vpp and disable_vpp. We often receive
> >"Chip reports voltage low on erase" errors. The driver seems to disable
> >vpp during erase operations. If I short-ciruit the disable_vpp function
> >everything works fine. A comment gives a hint on how to do this correct:
> >
> >/* We should really make set_vpp() count, rather than doing this */
> >
> >Is this feature planned for the future? 
> 
> One stab at this was
> http://lists.infradead.org/pipermail/linux-mtd/2005-January/011517.html
> 

I tried something similar. I copied enable_vpp and disable_vpp from the
dilnetpc, which does exactly that. It did not solve my problem, so maybe
counting is not enough. I can't remember how it behaved, but I think I
had one enable_vpp and one disable_vpp, but too early.

Sascha

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-06  9:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-02  9:03 enable_vpp / disable_vpp Sascha Hauer
2005-05-04 23:00 ` Todd Poynor
2005-05-06  9:51   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox