On 20 February 2012 18:22, salvador <[email protected]> wrote:
> Hello
> I have made same minor changes to make a better support for flashing a
> pic32mx220f032b chip.
> This chip has 3k boot flash, 32k program flash an 8k ram.

OpenOCD does at the moment have an issue with the BFM size register -
i am trying to get more info from microchip.
And as you probably know we assume BFM is a fixed 12k.

> Page size is 1k bytes or 256 words.
> Row size is 128 bytes or 32 words.
>
> The modifications were made in src/flash/nor/pic32mx.c
>

This patch will need a bit of work before it can be included in OpenOCD.
The different row/page sizes will need to be dynamically changed for
the loader - either by loader params (preferred) or direct memory
writes.

As already mentioned the patch will need submitting to our review system, first.
Updating this flash driver has been on my todo list for a while.

Cheers
Spen

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to