On Saturday 07 November 2009, simon qian wrote: > 0.3.0 has a bug in target_alloc_working_area, and fixed in 0.3.1. > But head version has a problem with default_mmu, which will return > ERROR_FAIL, stm32 doesn't implement mmu, so it uses default_mmu, and will > cause target_alloc_working_area return ERROR_FAIL.
I'm thinking the better fix may be just to revert the patch adding that new has_mmu() machinery. There's no need to complicate things. Targets with mmu() methods clearly have MMU support ... and not providing such a method should suffice to tell OpenOCD not to distinguish physical and virtual addresses. _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development