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?
Thanks
Paul
I am using an LM3S811 as my JTAG emulator
Paul -
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?
LM3S2B93
IQC80C1PA
$A-01P091H
You have a C1. Please review the errata for C1.
Section 2 of http://focus.ti.com/lit/er/spmz442e/spmz442e.pdf
Hi,
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?
-Alex
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:
http://focus.ti.com/mcu/docs/mcuorphan.tsp?contentId=87903
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.