Hi,
We have a custom board on which the regulator supplies stable 1.8V voltage to MPS430G2302. Using MSP-FET430UIF with 2-wire connection as shown in http://processors.wiki.ti.com/index.php/JTAG_(MSP430), we were able to connect to the device.
We had programs when loading .out file and encountered
error MSP430: Trouble Writing Memory Block at 0xf000 on Page 0 of Length 0x92: Could not erase device memory
MSP430: Trouble Writing Memory Block at 0xf000 on Page 0 of Length 0x92: Could not erase device memory
. When this happens we used MSP-FET430UIF JTAG pin 4 (VCC TARGET) to sense the board voltage level.
We suspected the error might have related to the 1.8V voltage and used external power supply of 2.2V, after that the connection was successful. If we adjust the external voltage to below 2.2V, say 2.1 or 2.0, the loading error happens again despite successful connection.
The question is on the voltage. Datasheet SLAS723F MSP430G2x32, MSP430G2x02 Mixed Signal Microcontroller gives VCC [1.8, 3.6V] on p17 “Recommended Operating Conditions”. Though for flash programming/erase the lowest voltage is 2.2V, we were actually not doing any operation on the flash, just loading code and data to the ordinary memory. There are also other parts on the board designed for 1.8V operation and when using the external power supply we have to cut all of them off to avoid damage, so 1.8V is certainly preferred if it can also be to download code and data.
Could anyone tell us why even if we are not loading anything to flash memory we still need 2.2V voltage?
John
John MielkeCould anyone tell us why even if we are not loading anything to flash memory we still need 2.2V voltage?
It may be possible to locate some in ram but the reset vector is in flash so don't think there is any way to eliminate the need for the target voltage to support flash operations when downloading from CCS.
Chester,
Understand it, thanks for the answer.
John Mielkewe were actually not doing any operation on the flash, just loading code and data to the ordinary memory.
However, to be able to write the code into the MSP, you'll need 2.2V at least during the programming cycle. So you need some way to provide 2.2V to the MSP while you are putting the code onto it (without frying your other circuitry). Or you program the MSP outside the PCB before soldering it.
_____________________________________Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.