KBOOT and Application as a single build in KDS3.0

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

KBOOT and Application as a single build in KDS3.0

1,082件の閲覧回数
thcooke77
Contributor III

I am wondering if anyone has been able to set up a project(s) that allow you to build and debug both the kboot debugger and an application together, much like a library in KDS? I have a j-link debugger.

 

I have read all of the posts on merging projects but most seem cumbersome in that you manually have to include binary files from one project to another, and you can only debug one or the other.

 

Thanks,

Terry Cooke

 

P.S.

I have looked at:

Merging applications using Kinetis Design Studio

Adapting KDS project for KBOOT flash resident bootloader

ラベル(1)
タグ(3)
1 返信

772件の閲覧回数
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Terry,

You can use the following gdb command to load additional symbol files when debugging:

add-symbol-file filename address

Example:

add-symbol-file C:\\Users\\b38285\\workspace.kds\\Application2\\Debug\\Application2.elf  0x0000a410

pastedImage_1.png

0x0000a410 is the origin of the m_text section of my second application.

pastedImage_6.png

Please notice that you need to have both applications previously programmed, you can flash both of them selecting additional .elf files when using the P&E connection:

pastedImage_0.png

Or following the methods described on the documents you already mentioned.

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信