Reply by sunyaohua1984 May 1, 20092009-05-01
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
>

Beginning Microcontrollers with the MSP430

Reply by old_cow_yellow May 1, 20092009-05-01
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
>

Reply by sunyaohua1984 May 1, 20092009-05-01
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