Looks like it was just an abuser error. Although I did notice that some of
the mask values were incorrect (at least for the k20) that were used to
calculate the flash sizes -  I got it working right before leaving work
yesterday ;-)

Thanks!

©

Sent from my Android
On May 25, 2012 4:13 PM, "Christopher Friedt" <[email protected]> wrote:

> Error: ftfx command failed FSTAT: A0 W0: 0B000000 W1: 00000100 W2: 00000000
> Error: error writing to flash at address 0x00000000 at offset 0x00000000
>
> Can't be sure exactly why I'm getting this error - none of the flash
> configuration bits have been changed.
>
> On Thu, May 24, 2012 at 4:07 PM, Christopher Friedt
> <[email protected]> wrote:
> > Hmm... nice patch.
> >
> > Just applied to use with the twr-k20 (k20d50m128) ... still unable to
> > write to flash though. I'm heading toward a deadline rather quickly,
> > and would certainly be available to help test / debug anything else
> > you submit.
> >
> > Thanks,
> >
> > C
> >
> > On Wed, May 23, 2012 at 2:41 PM, Spencer Oliver <[email protected]>
> wrote:
> >> On 23/05/2012 19:06, [email protected] wrote:
> >>> This is an automated email from Gerrit.
> >>>
> >>> Christopher Kilgour ([email protected]) just uploaded a new
> patch set to Gerrit, which you can find at http://openocd.zylin.com/663
> >>>
> >>> -- gerrit
> >>>
> >>> commit b99fd097b26c50dd50aae0d04e8b1517eaf15e66
> >>> Author: Christopher Kilgour<[email protected]>
> >>> Date:   Wed May 23 11:05:28 2012 -0700
> >>>
> >>>      kinetis: update support for all program flash granularities
> >>>
> >>>      Updates the Kinetis NOR flash support to handle all known block
> and sector
> >>>      sizes.  Previously only 2kiB sectors were hard-coded, now all
> four known
> >>>      combinations non-volatile sector sizes are supported.
> >>>
> >>>      The premise of separating Kinetis Program Flash (PFLASH) from
> FlexNVM is
> >>>      also introduced.  This means each "block" of flash (in Freescale
> terms) is
> >>>      treated as a bank in OpenOCD.  Correspondingly, the existing board
> >>>      configuration for the TWR-K60M512 eval system is updated to
> recognize two
> >>>      banks instead of one.
> >>>
> >>>      A board config for the TWR-K60F120M is also added.
> >>>
> >>>      Bank and sector erase and programming has been checked with both
> of the
> >>>      mentioned eval boards.
> >>>
> >>>      Change-Id: Iae2d10ebf8f548d0a3698df5430bbbe1ccadc58a
> >>>      Signed-off-by: Christopher Kilgour<[email protected]>
> >>>
> >>
> >> Just for info you could have edited the first change rather than upload
> >> a new change, eg.
> >>
> >> // make patch and push first change to gerrit
> >> git push review
> >>
> >> // patch fails jenkins build so requires tweaking
> >> // first make changes then
> >> git commit -a --amend
> >> git push review
> >>
> >> It is documented in the OpenOCD dev guide:
> >> http://openocd.sourceforge.net/doc/doxygen/html/patchguide.html
> >>
> >> Cheers
> >> Spen
> >>
> >>
> ------------------------------------------------------------------------------
> >> Live Security Virtual Conference
> >> Exclusive live event will cover all the ways today's security and
> >> threat landscape has changed and how IT managers can respond.
> Discussions
> >> will include endpoint security, mobile security and the latest in
> malware
> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >> _______________________________________________
> >> OpenOCD-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/openocd-devel
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to