This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430AFE231: Are there MSP430 or other TI processors that cannot write to their flash?

Part Number: MSP430AFE231

Tool/software:

For a new system I'm designing, I have a requirement for a small microcontroller (The MSP430AFE231 would be ideal).  The problem is that one of the requirements is that it must not be able to write to its own flash.

Does TI have a small microcontroller of any flavor with that (lack of) ability?

Thanks!

John

  • Hello John,

    Sorry for that I am a little confused with your question, so you want to find a microcontroller with a fixed code in in its Flash when it is sent out from factory and no one can modify it, or you want to find a microcontroller that you can write code into Flash and after you complete development, you don't other people to modify the Flash, you want to do Flash write protection?

    What kind of microcontroller you want, could you please explain it in details?

    Best Regards,

    Janz Bai

  • Hi Janz

    Yes, you've stated more clearly what I want.  Flash memory write protection. 

    Once the code is loaded, I would like to protect the flash from being modified by the program.  Some Microchip parts have a configuration bit that can be set that prevents any modification to the flash until a bulk erase is performed.  That's the sort of thing I need for this application.

    Otherwise, the AFE 231 would be ideal.  High resolution ADC, spi/I2C, etc.

    Thanks!

    John

  • You can lock JTAG (and password protect BSL) but the code on the device is always going to be able to write to flash. Since you control that code, this wouldn't seem to be a problem.

    Writing to flash isn't the sort of thing that will happen by accident.

  • Quite true.  I am pursuing this line of logic for now.

  • Hello John,

    Maybe you can try to learn about M0 device. it have write protection feature by setting registers in NONMAIN. By writing protection, it will protect the Flash and don't let any one write code into it after you complete the code development.

    Best Regards,

    Janz Bai

  • Hi Janz.  This is just what I needed.  Thanks!

    John

**Attention** This is a public forum