codewarrior u-boot debugging

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

codewarrior u-boot debugging

810件の閲覧回数
Irfan3
Contributor III

Hi team,

I am using T2080 RDB board with codewarrior 10.5 version.

I have few queries related to u-boot debugging.

I was following "Target_pa_processor" pdf from codewarrior for debugging u-boot. As stated in the document, there are four stages in u-boot debugging, i was able to successfully perform first stage debugging, in which the last instruction is rfi in first stage uboot debugging which is present in start.s file after this it has to jump to "start_as" function which is after translation address space. but when i give setpicloadaddr reset the source file is disappearing and i am unable to perform debugging.

Also i have stopped debug mode and then i have added memory configuration file in the setup and then resumed the debugging but still it didn't work.

Can you please indicate where i am doing wrong.

Thanks and regards,

Irfan

0 件の賞賛
3 返答(返信)

801件の閲覧回数
Pavel
NXP Employee
NXP Employee

See the AN4876 Application Note about u-boot debugging:

https://www.nxp.com/docs/en/application-note/AN4876.pdf

0 件の賞賛

794件の閲覧回数
Irfan3
Contributor III

Hi pavel

I have already followed that document.

My curent issue is after rfi instruction the source code disappears and it says no source code for 0x********** which makes debugging difficult even though I am trying step into function for debugging.

Please let me know any other method to sort this issue or am I missing anything

Thanks and regards

Irfan

0 件の賞賛

677件の閲覧回数
Pavel
NXP Employee
NXP Employee

The AN4876 contains sequence to debug after RFI instruction. See the Section 5.2.3 and 6.2.2.

0 件の賞賛