On 19 March 2012 15:36, Uhrheber <uhrhe...@gtfe.de> wrote:
> On 19.03.2012 16:01, Spencer Oliver wrote:
>>>> set WORKAREASIZE 8192
>>>
>>> This makes 32kbytes.
>>
>> how - 8192 bytes
>
> It's a 32bit processor, so 8192 * 4 bytes makes 32kBytes.
>

working area is in bytes honest.

>> Flash is defined in the same file as above - target/pic32mx.cfg
>> As long as your resulting hex/s19/elf has the correct memory locations
>> it will be programmed correctly.
>
> Hm.
> Then why does it take so long?

unsure, perhaps you are writing to a bad address - enable debug info
would be a start.
add to your config:
debug_level 3

Also you could try creating a binary file and manually specify the address.

> Flashing ran for several hours, then I interrupted it.

certainly something wrong with your setup i would say.

Spen

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to