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.
I'm trying to program a LaunchPad equipped with an MSP430G2452.
I activated support for GCC extensions (using CCS 5.3.0) in the compiler language options. This is needed for my project. If I don't activate this and remove parts of my code that require this GCC options there is no issue with debugging.
When I try to debug I run into a "Load program error" with the following console output: "
MSP430: Trouble Writing Memory Block at 0xfff4 on Page 0 of Length 0x2: Could not write device memory
MSP430: GEL: File: C:\Users\XXXX.out: Load failed."
I already checked the linker command file but the memory map makes sense for me and seems to be correct. 0xfff4 should be writeable since this address belongs to the interrupt vector... I'm confused.
Cornelius,
i just tried to reproduce the issue using CCS v5.3.0.00090, CGT version 4.1.3, simple LED blink example with activated GCC extension, but i can't see the problem.
Have you tried to search the forum for similar problem? Using the search words "MSP430 Trouble Writing Memory Block", i can find several threads which might be interesting for you:
http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/101362.aspx
Thanks for your answer :)
Now the error comes independent from the GCC option. I searched with google and found some posts with similar behavior described. In some posts people write that Rev. 1.4 of the Launchpad shows this behavior, 1.3 doesn't. I tried it with my 1.5 LaunchPad and I dindn't get any error - with LaunchPad 1.4 the error comes back.
Do we have a documents that shows the differences between the LaunchPad Revisions? This would be interesting...
Hi Cornelius,
the differences between the board revisions can be found in the user's guide:
http://www.ti.com/lit/ug/slau318c/slau318c.pdf
chapter 1.3 "Revision":
1.3 Revisions
The first production revision of the LaunchPad in 2010 was 1.3. In 2012 the LaunchPad board revision changed from 1.4 to 1.5 to align with the new release of Value Line devices. The differences in the schematic and the kit contents are:
• Layout and Schematic:
– Voltage feedback in the emulator changed to increase startup stability (Rev 1.3 to Rev 1.4)
– Rearranged jumper J3 to support a vertical jumpers position for the UART lines
– VCC on the connector J4 can now be disconnected from the emulator VCC by J3
– Pullup resistor R34 and capacitor C24 on P1.3 removed to reduce the current consumption
– Presoldered male headers J1 and J2
Can you provide a simple test code to reproduce the issue on my bench?
Thanks for the answer.
After Updating the LaunPad Firmware everything works fine: http://processors.wiki.ti.com/index.php/MSP430_LaunchPad_Firmware_Update
:)
**Attention** This is a public forum