On Thu, May 14, 2009 at 4:34 PM, Paul Thomas <pthomas8...@gmail.com> wrote:

> On Thu, May 14, 2009 at 4:29 PM, Øyvind Harboe <oyvind.har...@zylin.com>wrote:
>
>> On Thu, May 14, 2009 at 11:56 PM, Paul Thomas <pthomas8...@gmail.com>
>> wrote:
>> > Hello,
>> >
>> > I'm trying to use the load_image command, and it keeps giving me an
>> error. I
>> > know the command syntax is correct because this works on a different
>> imx27
>> > board. I would think it's just my SDRAM initilization except that I can
>> > read/write to the memory with mww and mdw. You can see the full output
>> > (debug = 3) here (http://pastebin.com/m69f2aae3). I'm trying to load a
>> 16.9k
>> > redboot image. I just updated SVN to 1787. I'm using the Signalyzer for
>> > Xverve and the cfg file I just sent to the list.
>>
>> This is an old problem I've seen with arm926ejs before.
>> You could try to tinker with the interpretation of this value in:
>>
>> int arm926ejs_examine_debug_reason(target_t *target)
>>
>> You can read up on arm926ejs documentation, but chances
>> are that these values are undocumented....
>>
>> Example of such tinkering in attached patch....
>>
>> --
>> Øyvind Harboe
>> Embedded software and hardware consulting services
>> http://consulting.zylin.com
>>
>
> OK, I think I figured this out. mww and mdw only work to for the first 32k
> and the redboot image is 169k not 16.9k. Well into SDRAM register fun.
>
> thanks,
> Paul
>

Never mind, mdw and mww _do_ work for at lest 192k. Although my memory test
isn't very robust. It's only writing the same values to the first 100 words
of each 4k. I'll work on a better memtest next.

thanks,
Paul
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to