I am attempting to load Flash onto a LM3S2B93 on my target board. I receive the following error-
CORTEX_M3_0: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x5e8
I modified a working project that was programming an Eval board RDK-IDM-SBC. I changed the GEL file and ARM target in the project from LM3S9B92 to the new processor LM3S2B93. The target board is running on a 8Meg oscillator. The Eval board used a 16Meg crystal. Is the clock the problem?
I am using an LM3S811 as my JTAG emulator
Please identify the revision of the silicon you are working with, and read the associated errata fully.
How do I determine the "revision of the silicon" What section of the chip part number identifies revision?
You have a C1. Please review the errata for C1.
Section 2 of http://focus.ti.com/lit/er/spmz442e/spmz442e.pdf
I am still getting the same error when I try to load a program. Any ideas?
CORTEX_M3_0: Flash Programmer: Error while writing to Flash memory
CORTEX_M3_0: Trouble Writing Memory Block at 0x1000 on Page 0 of Length 0x5f0
Cannot write to target
I assume that that loading the GEL file lm3s9b96.gel is okay for a LM3S2B93?
When I try to read memory at 0x40004000 I get the following error
CORTEX_M3_0: Trouble Reading Memory Block at 0x40004000 on Page 0 of Length 0x14: Debug Port error occurred.
When I try to read memory at 0x20000000 It works. I can also modify RAM
Just to get on the same page as you confirm the following:
1) Your using LMFLASH as your software programmer
2) You’re using the 811 as the JTAG programmer for the RDK-IDM-SBC
If the above is correct, are you seeing the DEBUG_OUT LED on the 811 illuminate when you try to program the SBC?
I am using 811 for both. What is LMFLASH? Is this software in CC4?
..1) Your using LMFLASH as your software programmer
..2) You’re using the 811 as the JTAG programmer for the RDK-IDM-SBC
The LMFLASH utility is a simple software GUI that TI gives out for free.
It's a basic flash programmer that allows you to load binary's into memory, read out memory, ect.. when using Stellaris parts.
Here is the link:
It's called: "LMFlashProgrammer-1144"
I would give it a try. One thing to remember is that the XTAL setting is always for the target board, not for the EK you're using to program the target (so for your case, set the XTAL value to the one present on the SBC).
It is possible to run this from CC4?
Is Stellaris ARM flash programming integrated into CC4? If not is there a way to load this into CC4?
Please do not post the same question multiple times. It will NOT make us respond faster.
And no, LMFLASH is a seperate tool and will not / should not be integrated into CCS4.
Try the GUI as is, loading simple binary files onto the SBC. This will help us find your problem.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.