Steve - I would like to submit the following update to section 2.2 of
the OpenOCD User's Guide.  Is this something you can update before the
final release of v0.7.0?

Regards, 


Peter Tympanick
Product Manager
Ultimate Solutions, Inc.
==============================================================
Your Single Source for Professional Development Tools & Embedded
Solutions
Ph: 978-455-3383 x202
Fx: 978-926-3091
Email: [email protected]
Visit: www.ultsol.com

-----Original Message-----
From: Steve McKown [mailto:[email protected]] 
Sent: Monday, April 22, 2013 10:32 AM
To: Chris Kilgour
Cc: [email protected]
Subject: Re: [OpenOCD-devel] Freescale TWR-K20D72M programming issues
via OSBDM

Hi Chris,

On 04/21/2013 12:47 PM, Chris Kilgour wrote:
>
>
> On 04/19/2013 11:47 AM, Steve McKown wrote:
>> Hi,
>>
>> openocd cannot program the PK20DX256VLL7 uC on the Freescale Kinetis 
>> TWR-K20D72M eval board via its onboard OSBDM JTAG interface.  I'm 
>> using openocd trunk at commit 2cb4862, and OSBDM firmware version 
>> 31.32.  Host system is Ubuntu 12.04 32-bit.
[snip]

> The difficulty lies in determining the amount of FlexRAM available in

> the Kinetis part.
>
> Ideally we would identify the amount of FlexRAM by inspecting some 
> definitive register field(s). I've attached a patch that assumes the 
> FlexNVM size is the same as half the FlexRAM size (which is logical, 
> but not yet verified by Freescale).

This seems to be true for this K20 as well, per the relevant reference
manual.  Its FlexNVM sector size is 1/2 the FlexRAM total size.

> This seems to only make a difference on the "SF1" parts so it should 
> cover your case. I don't have any K20 Kinetis parts, but if you care 
> to try the patch, I can confirm it does not break my "SF2" and "SF3" 
> K60 parts, and then push the solution through Gerrit.

The patch works great here, applied to this morning's openocd trunk. 
The solution looks clean, and it is certainly nice to get flash
programming speeds up!

Thanks for working on this,
Steve


------------------------------------------------------------------------
------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for
building apps and a phenomenal toolset for data science. Developers can
use our toolset for easy data analysis & visualization. Get a free
account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Attachment: OpenOCD_DocUpdate.docx
Description: OpenOCD_DocUpdate.docx

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to