I have problem with LM3S9B95 controller and “Open On-Chip Debugger 0.4.0 (2010-02-22-19:05)”
flash programming does not seem to work. I checked the debug output of the openocd, it seems to operate correctly. For mass erase it writes 0xA4420004 to address 0x400fd008 and starts polling it. But the thing is that the operation seems to never finish. This MERASE bit never returns to 0 again and openocd hangs… Does anybody have any comments, hints?
I attach my debug output file.
But in case I compile a short code sample I can load it to RAM, move pc to there and execute it. Eclipse and gdb are quite happy. So the controller itself seems to work somehow…
Madis or anyone else can you tell me how to program the LM3S9xxx chip without using mass erase?
write_image seems to automatically call mass erase even without the “erase” command. I am using the most reason OpenOCD development release. Tired issuing sector erases but it seemed to just hang on those.