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.

MSP-EXP430F5438: Flashing tool doesn't recognise the entire flash size for code thus burns only part of the code

Part Number: MSP-EXP430F5438

I am trying to run RIOT-OS on MSP-EXP430F5438 which has Flash size of 256KB and RAM of 16KB. The code that I had compiled using mspgcc on Ubuntu-16.04 is of size 14KB . When I try to burn the code on the device using JTAG and using tool Uniflash or FET-Pro430 only part of the code gets flashed. It keeps saying that the code size exceeds memory on the device. How is that possible and how to resolve this? Please help.

  • Please make sure you are generating the correct type of binary hex image, which should either be in TI-TXT or Intel format. You should also look through the image and ensure that all addresses comply with the BSL, info, or code memory of the MSP430F5438A. What specific part gets left out during flashing, and can you provide a screenshot of the error given? It would also be good to make sure that the correct device derivative is selected inside of your programmer software.

    Regards,
    Ryan
  • I will check the above mentioned points and then get back if the error doesn't get resolved. Thanks!

**Attention** This is a public forum