EmbeddedRelated.com
Forums
Memfault Beyond the Launch

please help--msp430-jtag: Could not erase the Flash : Invalid parameter(s).

Started by sunyaohua1984 May 1, 2009
Hi there,

I am new to MSP programming, currently working with MSP430F2418 core, and the jtag to flash code into my memory.

I used the JTAG programmer and the TI code composer to compile the binary for MSP core in the mplatform, the compilation is OK, but when the msp430-jtag tries to write the binary into the flash memory, it has an error:

Could not erase the Flash : Invalid parameter(s).

I searched online, some people suggested this might be an power voltage
mismatching problem between the JTAG programmer and the MSP board, and we should connect the PROGRAMMER power to the MSP board power to solve it. I tried , not successful(Device Unknown).

Please help if you have any idea about this issue.

thanks a lot.

--john

Beginning Microcontrollers with the MSP430

This could be caused by all kinds of different reasons. The error msg from tools can be misleading (CCE is not alone).

--- In m..., "sunyaohua1984" wrote:
>
> Hi there,
>
> I am new to MSP programming, currently working with MSP430F2418 core, and the jtag to flash code into my memory.
>
> I used the JTAG programmer and the TI code composer to compile the binary for MSP core in the mplatform, the compilation is OK, but when the msp430-jtag tries to write the binary into the flash memory, it has an error:
>
> Could not erase the Flash : Invalid parameter(s).
>
> I searched online, some people suggested this might be an power voltage
> mismatching problem between the JTAG programmer and the MSP board, and we should connect the PROGRAMMER power to the MSP board power to solve it. I tried , not successful(Device Unknown).
>
> Please help if you have any idea about this issue.
>
> thanks a lot.
>
> --john
>

Thanks. even when I try to run the following command in the command line:

msg430-jtag -l COM5 -e

it does not erase, the tool feed back message displayed on screen is:

MSP430 JTAG programmer version : 2.3
Use -h for help
Mass Erase...
Cleaning up after error...
Reset and release device...

An error occured:
Could not erase the Flash : Invalid parameter(s).

Could you please point out some possible ways to find out the problem?

I am considering use the BSL instead of the jtag to do the programming... but I have not looked into the BSL sw/hw details yet. this will take a while I guess...

any help or suggestions will be appreciated.

Thanks.

--- In m..., "old_cow_yellow" wrote:
>
> This could be caused by all kinds of different reasons. The error msg from tools can be misleading (CCE is not alone).
>
> --- In m..., "sunyaohua1984" wrote:
> >
> > Hi there,
> >
> > I am new to MSP programming, currently working with MSP430F2418 core, and the jtag to flash code into my memory.
> >
> > I used the JTAG programmer and the TI code composer to compile the binary for MSP core in the mplatform, the compilation is OK, but when the msp430-jtag tries to write the binary into the flash memory, it has an error:
> >
> > Could not erase the Flash : Invalid parameter(s).
> >
> > I searched online, some people suggested this might be an power voltage
> > mismatching problem between the JTAG programmer and the MSP board, and we should connect the PROGRAMMER power to the MSP board power to solve it. I tried , not successful(Device Unknown).
> >
> > Please help if you have any idea about this issue.
> >
> > thanks a lot.
> >
> > --john
>


Memfault Beyond the Launch