On Mon, May 25, 2009 at 9:58 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
> On Mon, May 25, 2009 at 9:56 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
>> On Mon, May 25, 2009 at 9:46 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
>>>>> But it still does not work with the lpcusb isoc hex file.
>>>
>>> According to vbindiff report of the dump file, the first 0x160
>>> portion of the dump is not correct. Other than that, it seems
>>> to be ok.
>>>
>>> dump_isoc.bin is from OpenOCD.
>>> isoc_io_sample.bin is from arm-elf-objcopy.
>>>
>>
>> Problem solved. I need to erase the first bank!
>> # erase first bank only:
>> flash erase_sector 0 0 26
>>
>> Now it works! Thanks for the help.
>
> It seems that I am a lousy programmer but not too bad at
> debugging issues. ;-)
>
> Thanks a lot for the help from Michael Fisher!
>

I tried to use the other hex file from JCWren's example,
and it is also working.

So I can say problem solved. Maybe this is a known trick
(from what I see in the psas script). So sorry for the false
alarming if this is indeed a known trick.

-- 
Xiaofan http://mcuee.blogspot.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to