Hello community, using T1042RDB, I am trying to debug my own u-boot ( sdk compiled ) with Code warrior to learn how it works.
I have a custom board and I want to debug my customized u-boot on it later.
According to https://www.nxp.com/docs/en/application-note/AN4876.pdf, 5.2.2. Stage 1 – Debug NOR for AS0, after I wrote "setpicloadaddr 0xfff80000" command to shell, I think I had some kind of error. "No source available for "0x00000000FFFFFFFFFC (0x00000000FFFFFFFFFC)0 " and "?" on the given memory locations in Disassembly screen.
What is the meaning of "?" ? How can resolve this? What is the procedure to debug U-boot with T1042 processor ? I also tried "setpicloadaddr 0xe800000" which is nor flash adress of t1042 rdb. Nothing changed.
Thanks.
解決済! 解決策の投稿を見る。
In the Debugger Shell view, issue the following command to enter the PIC alternate load address:
"setpicloadaddr 0xFFF40000"
For details, please refer to section "7.6.4.2 Debugging U-Boot using NOR flash" in C:\Freescale\CW_PA_v10.5.1\PA\Help\PDF\Targeting_PA_Processors.pdf
Hello mr wang,
After the steps in C:\Freescale\CW_PA_v10.5.1\PA\Help\PDF\Targeting_PA_Processors.pdf, It appears debugger wants to locate source code of compiled u-boot exactly at where it has compiled. I am compiling u-boot in with a linux desktop and trying to debug with different windows desktop. I copied the source code to windows PC. What procedure should I follow to make debugger see this source file. It's still searching where it was compiled in Linux ( root path is starting with "/" )
Thanks
Please click Locate File to specify the path of resetvec.S on your Windows PC.