HI,
I am using KITL to debug kernel code device drivers on I.MX28 processor.
KITl support on any BSP.
Settings:
1) Go to "Project Properties->Build Options”. Check the following options:-
a. Enable Kernel Debugger
b. Enable KITL
2) Select “BSP DEBUG” build option.
3) Rebuild the OS design; use "Build ->Build Solution" command to run build process.
Once the build is completed, the resulting OS image can be found at "...\WINCE600\ OSDesigns \
<Design Name> \ RelDir\ TX25CEvXXX_ARMV4I_Debug\ NK.BIN".
4) The download service, kernel transport and debugger settings must be properly configured in
Order to establish Platform Builder remote connection with TX25.
- Use "Target->Connectivity Options" menu command to open "Target Device Connectivity
Options" dialog.
- Select "Ethernet" for "Download" service.
- Select "Ethernet" for "Transport" in order to enable KITL.
- Select "KdStub" for "Debugger" in order to enable kernel debugger.
- Open "Ethernet Download Settings" dialog for "Download" service to locate TX25 device and
- Associate remote connection settings with an unique TX25 device name.
- Leave "Ethernet Download Settings" dialog open.
- Connect the TX25 board to the development PC using cross-over Ethernet cable, or pass-through
- Cable in order to connect via hub or Ethernet switch.
- Connect the TX25 board to the development PC using serial cable.
- Open your favorite terminal program and configure serial connection as 115200/8/N/1.
- 10. Power on TX25.
- 11. From the RedBoot command prompt run ceconnect command to establish a connection
- With the Platform Builder IDE. Note 255.255.255.255 shall not be replaced with the actual
- IP address.
- RedBoot> ceconnect -v -h 255.255.255.255
- Sending BOOTME request [1] to 255.255.255.255
Waiting for connection, enter ^C to abort
Sending BOOTME request [2] to 255.255.255.255
Waiting for connection, enter ^C to abort
Sending BOOTME request [3] to 255.255.255.255
Waiting for connection, enter ^C to abort
...
- At this point TX25 device name and IP address will appear in the "Active devices" list of the "Ethernet Download Settings" dialog.
- Select the desired device in the "Active devices" list and click "OK". The Kernel Service Map shall be configured as shown below:
- Proceed to the "Core Service Settings" tab and configure service settings
- Click "Apply" and then close the "Connectivity Options" dialog.
Downloading and starting Platform Builder IDE
1) In Platform Builder IDE, use "Target->Attach Device" command to initialize connection to the device.
Regards,
Shiva