On Fri, Oct 22, 2010 at 09:32:15AM +0200, Michiel Konstapel wrote:
> > It's possible... can you confirm that that MSPDebug picks up the
> > correct flash address just by running mspdebug without any commands
> > and without -q? It should print something like this on startup:
> >
> > Code memory starts at 0x8000
> >
> > If not, that likely has something to do with the erase problem.
>
> Looks like you're on to something, it says 0x1100:
>
> $ ./mspdebug uif -j -d /dev/ttyUSB0
> Trying to open UIF on /dev/ttyUSB0...
> Initializing FET...
> FET protocol version is 20401004
> Configured for JTAG (2)
> Set Vcc: 3000 mV
> Device ID: 0xf249
> Device: MSP430F249
> Code memory starts at 0x1100
>
> Should I update my firmware? I've got a set of DLLs backed up so I could
> update the FET, and restore it if needed.
The firmware should be ok -- looks like it's just passing the wrong
address to the FET in the erase request.
Could you try this patch, and see if it gets the erase/program working?
The patch should be applied on top of the latest git version.
If you could paste the same startup text you've included above that
would also be quite helpful.
Cheers,
Daniel
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users