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-GANG: MSP-GANG: Error 396 Code from file is out of range in selected MCU

Part Number: MSP-GANG
Other Parts Discussed in Thread: MSP430FR5043

Hi! 

I have the same problem as this post (but only using 1 port enabled and 1 board). MCU: MSP430FR5043. 

What was the solution for this problem? 

Thanks 

  • Hi Thibault,

    This suggests the range of memories specified in the output file do not match the memory map of the device.  Are you using CCS, IAR, other?  What output file format are you generating - TI .txt format?  If so, can you attach to this posting and I call review it.


  • If I remove the first 2 lines (TinyRam memory), I do not get any error anymore. In the linker file there seems to be a variable called "lib_version" from some TI example code. Why is it there? This should be reseted on power cycles right? 

  • Are you using Tiny Ram in your application?  The "lib_version" in the linker file is a small section of FRAM that was added to reserve space if it became necessary to store the library version.  I believe the purpose was so the application could check which lib version was compiled into the image and make certain calls based on the version. If I recall, it is not used.  Which demo are you using?

  • Hi Thibault,

    It's been a while since we have heard from you, so I'm going to assume you were able to move forward with your project.
    I will mark this posting as RESOLVED, but if this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information.
    If this thread is locked, please click the "Ask a related question" button, and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

**Attention** This is a public forum