EmbeddedRelated.com
Forums

cannot reprogram MSP430F1611 after setting RST/NMI in NMI mode

Started by Xiaohui Liu October 29, 2012
Hello everyone,

I'm using a sensor platform
TelosB,
based on MSP430F1611 . Normally,
TelosB can be programmed using bsl with usb cable connected as shown
here.
But I accidentally configured RST/NMI pin of MSP430 from reset to NMI mode.
Now, my motes cannot be reprogrammed. This
thread
reports
the same problem and suggests some additional hardware like the MSP430
Launchpad has to be used to reprogram it. Is it possible to reprogram my
sensors without buying additional hardware? If this turns out impossible,
is there any device I have to buy other than MSP430 Launchpad?

Thanks and look forward to your reply.

Best Regards,
Xiaohui Liu


Beginning Microcontrollers with the MSP430

Hello!

I've already did a mistake like that and got my msp430f2619 totally
bugged.... my jtag didn't even recognized the device!! What i did was:

When clicking on "Download program" (in any software for
programming/debbuging - like IAR) i forced a low lvl on the RST pin. You
might have to do this 3 or 4 times, it depends on your timming - it got to
be exactly when the program is downloading your code in the msp.

This will force a HW reset. For me, it worked. I got my msp430f2619 working
again... but i cannot guarantee if it is the right way to do it or not and
if it is the right way....

If you need some details, check this post
http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/p/219925/774674.aspx#774674

Good luck!

Fero

On Mon, Oct 29, 2012 at 2:44 PM, Xiaohui Liu wrote:

> **
> Hello everyone,
>
> I'm using a sensor platform
> TelosB<
> http://www.memsic.com/products/wireless-sensor-networks/wireless-modules.html
> >,
> based on MSP430F1611 . Normally,
> TelosB can be programmed using bsl with usb cable connected as shown
> here<
> http://docs.tinyos.net/tinywiki/index.php/Getting_Started_with_TinyOS#Installing_on_telos-family_mote_.28telosa.2C_telosb.29
> >.
> But I accidentally configured RST/NMI pin of MSP430 from reset to NMI mode.
> Now, my motes cannot be reprogrammed. This
> thread<
> http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/t/198966.aspx
> >
> reports
> the same problem and suggests some additional hardware like the MSP430
> Launchpad has to be used to reprogram it. Is it possible to reprogram my
> sensors without buying additional hardware? If this turns out impossible,
> is there any device I have to buy other than MSP430 Launchpad?
>
> Thanks and look forward to your reply.
>
> Best Regards,
> Xiaohui Liu
>
>
>
>
>


Hi,

Thanks for your reply.

How can I force a low level on the RST pin?

Lest I may burn the flash, I've been trying LaunchPad BSL(http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/t/198966.aspx), but it has not worked yet. So I decide to give your approach a try.

-Xiaohui Liu

--- In m..., Fero Santos wrote:
>
> Hello!
>
> I've already did a mistake like that and got my msp430f2619 totally
> bugged.... my jtag didn't even recognized the device!! What i did was:
>
> When clicking on "Download program" (in any software for
> programming/debbuging - like IAR) i forced a low lvl on the RST pin. You
> might have to do this 3 or 4 times, it depends on your timming - it got to
> be exactly when the program is downloading your code in the msp.
>
> This will force a HW reset. For me, it worked. I got my msp430f2619 working
> again... but i cannot guarantee if it is the right way to do it or not and
> if it is the right way....
>
> If you need some details, check this post
> http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/p/219925/774674.aspx#774674
>
> Good luck!
>
> Fero
>
> On Mon, Oct 29, 2012 at 2:44 PM, Xiaohui Liu wrote:
>
> > **
> >
> >
> > Hello everyone,
> >
> > I'm using a sensor platform
> > TelosB<
> > http://www.memsic.com/products/wireless-sensor-networks/wireless-modules.html
> > >,
> > based on MSP430F1611 . Normally,
> > TelosB can be programmed using bsl with usb cable connected as shown
> > here<
> > http://docs.tinyos.net/tinywiki/index.php/Getting_Started_with_TinyOS#Installing_on_telos-family_mote_.28telosa.2C_telosb.29
> > >.
> > But I accidentally configured RST/NMI pin of MSP430 from reset to NMI mode.
> > Now, my motes cannot be reprogrammed. This
> > thread<
> > http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/t/198966.aspx
> > >
> > reports
> > the same problem and suggests some additional hardware like the MSP430
> > Launchpad has to be used to reprogram it. Is it possible to reprogram my
> > sensors without buying additional hardware? If this turns out impossible,
> > is there any device I have to buy other than MSP430 Launchpad?
> >
> > Thanks and look forward to your reply.
> >
> > Best Regards,
> > Xiaohui Liu
> >
> >
> >
> >
> >
>
>
>
>

Hi,

The issue is resolved. The whole procedure is listed
here
in
case anyone encounters the same issue. Please let me know if you have any
comment. Thanks.

-Xiaohui Liu

On Wed, Nov 7, 2012 at 2:39 PM, sinotrinity wrote:

> **
> Hi,
>
> Thanks for your reply.
>
> How can I force a low level on the RST pin?
>
> Lest I may burn the flash, I've been trying LaunchPad BSL(
> http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/t/198966.aspx),
> but it has not worked yet. So I decide to give your approach a try.
>
> -Xiaohui Liu
>
> --- In m..., Fero Santos wrote:
> >
> > Hello!
> >
> > I've already did a mistake like that and got my msp430f2619 totally
> > bugged.... my jtag didn't even recognized the device!! What i did was:
> >
> > When clicking on "Download program" (in any software for
> > programming/debbuging - like IAR) i forced a low lvl on the RST pin. You
> > might have to do this 3 or 4 times, it depends on your timming - it got
> to
> > be exactly when the program is downloading your code in the msp.
> >
> > This will force a HW reset. For me, it worked. I got my msp430f2619
> working
> > again... but i cannot guarantee if it is the right way to do it or not
> and
> > if it is the right way....
> >
> > If you need some details, check this post
> >
> http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/p/219925/774674.aspx#774674
> >
> > Good luck!
> >
> > Fero
> >
> > On Mon, Oct 29, 2012 at 2:44 PM, Xiaohui Liu wrote:
> >
> > > **
> > >
> > >
> > > Hello everyone,
> > >
> > > I'm using a sensor platform
> > > TelosB<
> > >
> http://www.memsic.com/products/wireless-sensor-networks/wireless-modules.html
> > > >,
> > > based on MSP430F1611 .
> Normally,
> > > TelosB can be programmed using bsl with usb cable connected as shown
> > > here<
> > >
> http://docs.tinyos.net/tinywiki/index.php/Getting_Started_with_TinyOS#Installing_on_telos-family_mote_.28telosa.2C_telosb.29
> > > >.
> > > But I accidentally configured RST/NMI pin of MSP430 from reset to NMI
> mode.
> > > Now, my motes cannot be reprogrammed. This
> > > thread<
> > >
> http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/t/198966.aspx
> > > >
> > > reports
> > > the same problem and suggests some additional hardware like the MSP430
> > > Launchpad has to be used to reprogram it. Is it possible to reprogram
> my
> > > sensors without buying additional hardware? If this turns out
> impossible,
> > > is there any device I have to buy other than MSP430 Launchpad?
> > >
> > > Thanks and look forward to your reply.
> > >
> > > Best Regards,
> > > Xiaohui Liu
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>