On Tuesday 15 December 2009, Yegor Yefremov wrote: > I've tested your changes with OpenOCD: 0.4.0-dev-00931-g6f929db > (2009-12-15-13:50) > It is working as earlier. For my board lm3s6432 I had to increase > work-area amount to 0x4000 to avoid warnings.
Issuing warnings was inappropriate; that behaviour should be gone now (in ...-963-g3f18900). > But still I have a > problem that sometimes the first erase/write attempt fails with the > following messages: > > flash write_image erase image.bin 0x1000 bin > auto erase enabled > Algorithm flash write 2048 words to 0x1000, 16757 remaining > error executing stellaris flash write algorithm Current code will report the status code there. If you still see the problem, please report that code. This would seem to indicate an issue at the level of Cortex-M3 algorithm operation. Not necessarily one caused by the Stellaris flash support ... though it's strange that this happens only the *FIRST* time. > flash writing failed with CRIS: 0x0 I'll have to see about removing that diagnostic when it's useless, as it is here. CRIS == 0 is the output after success, too. ;) - Dave > error writing to flash at address 0x00000000 at offset 0x00001000 (-902) > Command handler execution failed > in procedure 'flash' called at file "command.c", line 637 > called at file "command.c", line 352 > > but the second one always succeeds: > > ... _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development