What's the memory map for the debug/OpenSDA K20 on the Freescale Freedom?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

What's the memory map for the debug/OpenSDA K20 on the Freescale Freedom?

ソリューションへジャンプ
2,284件の閲覧回数
andrewpayne
Contributor II

I'd like to develop my own dev/debug app to load on the debug K20 on the FRDM-LK25Z.  What's the memory map for image files loaded by the debug bootstrap code?


Specifically, I'm looking for the information needed to make a loadable debug app:

  • The starting address for the image (i.e. where it gets loaded in flash)
  • The boot entry point address
  • How/where interrupt vectors are handled
  • Ranges of flash and RAM available to loaded apps (vs reserved for the bootloader)
  • Any other requirements (e.g. a signature recognized by the bootloader)

Back in Oct someone asked about the source code to make a loadable app (see:  OpenSDA Source code), with the a release planned "in the next couple of weeks".  Short of getting the source code, is this information documented anywhere?

Thanks!

-andy

ラベル(1)
0 件の賞賛
返信
1 解決策
1,743件の閲覧回数
rogerzhong
Contributor III
0 件の賞賛
返信
3 返答(返信)
1,743件の閲覧回数
andrewpayne
Contributor II

I heard back from P&E Micro (they were very helpful, and responded quickly):

In short, the memory map available is from $8000-$1ffff. The bootloader expects

the loaded application to have it's vector table at address $8000 which is

where we fetch the "reset vector" for your application. You have full control

of everything on the processor (including all ram and peripherals) with the

exception of flash ranges $0000-$7FFF. One of the first operations your

application should perform if you want to use interrupts is to set the SCB_VTOR

register to point to your vector table (presumably at address $8000).

So, an SREC origin'd at 0x8000 should do the trick.

0 件の賞賛
返信
1,743件の閲覧回数
andrewpayne
Contributor II

Update: 

I opened a support ticket with Freescale (1-996057826), they replied:

"Please accept my apologies for the late response. Unfortunately the firmware that is loaded on the K20 of the freedom board was develop by P&E micro, because of this is property of P&E."

...and referred me to P&E. I opened a support request with P&E.

0 件の賞賛
返信
1,744件の閲覧回数
rogerzhong
Contributor III

Hi Andrew,

Please refer to, Basic OpenSDA Project

0 件の賞賛
返信