5.1. Creating the eboot workspace

Platform Builder debugs images only of the type nk.bin, therefore you must first change all eboot names to nk names before attempting to debug eboot. This process is described below.

  1. Create a folder, for example eboot, under the directory C:\WINCE500\PBWorkspaces\<current workspace>\RelDir

  2. Open the Workspace in Platform Builder, then select File View from the View menu.

  3. In the File View pane, drop the tree to view the eboot node of the current target board. For example, C:\WINCE500\PLATFORM\<BoardBSP_node>\eboot

  4. Right-click on the eboot node and select the Settings command. A dialog displays, titled Editing C:\WINCE500\PLATFORM\<BoardBSP>\eboot\sources.

  5. Access the General tab, change Target .pdb Name and Target Name to eboot, then click OK.

  6. In the File View pane, right-click on the node C:\WINCE500\PLATFORM\<BoardBSP_node>\eboot.

    In the command menu, enable Clean Before Building and Make Run-Time Image After Build.

  7. In the command menu used in Step 6, select Build Current Project.

  8. Ensure that the project is built without any errors. If this is not the case, rebuild the project.

  9. From the directory C:\WINCE500\PBWorkspaces\<current workspace>\RelDir\<current workspace>_Debug, copy eboot.* to the eboot directory created in Step1.

    Then copy the eboot.pdb file from C:\WINCE500\PLATFORM\<BoardBSP_node>\eboot to the eboot directory created in Step1.

  10. In the directory created in Step 1, change all eboot.* file names to read as nk.* (that is, change eboot.bin to nk.bin, eboot.nb0 to nk.nb0, and so on).

Copyright © 2007, 2008. All rights reserved.ARM DAI 0192A