On Thu, Jan 14, 2010 at 2:39 PM, Spencer Oliver <s...@spen-soft.co.uk> wrote:
> Laurentiu Cocanu wrote:
>> I tested version v0.4.0-rc1-98-g6c75f52 of OpenOCD for STR912 target.
>>
>> I tried to erase all the contents of the flash, sectors 0 to 7. Commands:
>>
>> reset init
>> flash erase_address 0 0x80000 (or flash erase_sector 0 0 7)
>>
>> The expected result is:
>>
>> erased sectors 0 through 7 on flash bank 0 in x.xx0000s
>>
>> but instead the command returned erase timed out:
>>
>> erase timed out
>> failed erasing sectors 0 to 7 (-4)
>>
>
> Probably worth changing, this is how i originally wrote the driver anyway :)
>
> it may even be a arm966e_write_cp15 bug.
> The str9 has a bug that effects the fmi status reg if the TCM bit is not
> set.
>
> This would normally be done by str9x flash_config, may need checking it
> still works.
>
> http://www.st.com/stonline/products/literature/es/12944.pdf

So do we apply the patch or not?




-- 
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to