This sounds exactly like my problem. The previously flashed program is running
but nothing can be done with flash.

I have never used gdb but will give it a try tomorrow.

Thanks.

(* jcl *)

On 9/14/05, David Smead <sm...@mail.amplepower.net> wrote:
> Greetngs,
> 
> I had similiar same problem with the F1232 and thought I must have blown
> up the chip, although static electricity is not a problem in Seattle.
> After the second one `blew' and I hadn't even touched the board, I could
> see that the processor was still running the code which had been
> previously loaded.
> 
> Thinking I'd poke around using gdb I fired up gdb-proxy which connected to
> the chip, and I was able to run gdb.  Then I tried an erase command and it
> worked, and after that I could load programs again via jtag.  I repeated
> on the first `blown' processor and it also worked.
> 
> If this fixes your problem then some kind of bug report should probably be
> filed.
> 
> 
> Sincerely,
> 
> David Smead
> www.amplepower.com
> www.amplepower.net
> 
> 
> On Wed, 14 Sep 2005, John Luciani wrote:
> 
> > It is definitely the right chip for the build.
> >
> > I had successfully downloaded elf files, made a minor change to my program 
> > and
> > tried to download the new elf file and received the error message.
> >
> > (* jcl *)
> >
> > On 9/14/05, David Brown <da...@westcontrol.com> wrote:
> >> Are you sure you have the right chip on the board, and the right chip
> >> selected for the build?  Most of the time when I get this sort of error 
> >> it's
> >> because I've built the code for an '149 but the card has an '147, or
> >> similar.
> >>
> >> Other than that, I've sometimes seen msp430 chips die, and fail to
> >> communicate on the jtag port.  Sometimes the chip still runs fine, but I
> >> can't program it or otherwise access the jtag (reseting does not need jtag
> >> communication).  The only solution I've found is using a new chip.
> >>
> >> mvh.,
> >>
> >> David
> >>
> >>
> >>
> >>> I am working on an MSP430F169 board and have successfully programmed
> >>> it with the Olimex parallel port JTAG cable and pyJTAG until now.
> >>>
> >>> When I run the command       msp430-jtag -eEpvr  app.elf
> >>>
> >>> I get the error
> >>>     An error occoured:
> >>>     Could not write target memory
> >>>
> >>> I am able to reset the MSP430F169 using    msp430-jtag -r
> >>> performing just an erase with     msp430-jtag -e
> >>> produces the same error message.
> >>>
> >>> Powering down the MSP430F169 did not help.
> >>>
> >>> Any ideas on how to determine what is wrong with the JTAG flash
> >>> programming would be appreciated.
> >>>
> >>> Thanks.
> >>>
> >>> (* jcl *)
> >>>
> >>>
> >>> -------------------------------------------------------
> >>> SF.Net email is sponsored by:
> >>> Tame your development challenges with Apache's Geronimo App Server.
> >> Download
> >>> it for free - -and be entered to win a 42" plasma tv or your very own
> >>> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> >>> _______________________________________________
> >>> Mspgcc-users mailing list
> >>> Mspgcc-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> SF.Net email is sponsored by:
> >> Tame your development challenges with Apache's Geronimo App Server. 
> >> Download
> >> it for free - -and be entered to win a 42" plasma tv or your very own
> >> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> >> _______________________________________________
> >> Mspgcc-users mailing list
> >> Mspgcc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> >>
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's Geronimo App Server. Download
> > it for free - -and be entered to win a 42" plasma tv or your very own
> > Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> > _______________________________________________
> > Mspgcc-users mailing list
> > Mspgcc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> >
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>

Reply via email to