Hello,

you need the ram to use the section command. If there is no flex ram available 
(read from the status
word) the algorithm fall back to the long word programming.

You should check if the:

/* make flex ram available */

and

/* check if ram ready */

correct for your cpu.

On some devices there is no flex ram available.


Regards,

Mathias


On 08.03.2012 19:37, Morgan Quigley wrote:
> Hello,
> 
> I was experiencing slow Kinetis K60 writes using Olimex and Amontec
> FT2232-based dongles on a custom board I designed around a
> PK60N512VMD188, and looked into it a little bit. The question deals
> with the kinetis NOR flash driver.
> 
> I found that bypassing the logic which always causes program-flash
> writes to fall back to the slow longword flash-write command resulted
> in a significant increase in flash writing speed (470 bytes/sec to 52
> kB/sec) and does not appear to introduce any problems, though to be
> fair, I've only done it maybe 10 times now.
> 
> Unless I'm confused, the Freescale K60 datasheet (p. 677, section
> 28.4.12.8) describes the "Program Section" command as indeed being
> valid for program flash, and of course performing full 2kB page
> flash-write operations is much faster than a sequence of single
> longword writes.
> 
> I just wanted to toss this observation out there and see if others
> have noticed this. I am happy to submit a patch if there are no
> objections.
> 
> Cheers,
> Morgan
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> OpenOCD-devel mailing list
> OpenOCD-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openocd-devel


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to