O'Reilly logo

Professional Windows® Embedded Compact 7 by Thierry Joubert, David Jones, Samuel Phung

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

USING THE WDT TEST APPLICATION

In this section, the supplied projects for the Compact 7 WDT test application and drivers for the eBox 3300-Vortex86DX (and MX) watchdog timer are built and tested. There are four projects in the WatchDogTimer folder in the source code for this chapter.

1. You need the following:

  • eBox 3300
  • Compact 7 eBox 3300 OS project that has been built and run with KITL and Kernel Debug enabled
  • Source code for this chapter

2. Copy the WatchDogTimer folder to the OS project SubProjects folder.

3. Add each of the projects separately, or just select the dirs file in the root of the Watchdog folder.

  • This adds all four projects.

4. Set all subprojects to be built in debug mode.

5. Set the driver and ISR to be included in the image, and set the application and wrapper DLL to not be included in the image.

6. Build all subprojects.

7. You won’t need to do a complete Sysgen. Do the following:

  • Menu ⇒ Build ⇒ Copy files to the Release Directory
  • Menu ⇒ Build ⇒ Make Run-Time Image

8. Download and run the image.

9. When started, run WatchDogTimerApp from Target\Run Programs.

10. Observer the Output window.

11. Change the settings in the application, only rebuild the application, and then rerun it.

  • Change the interrupt and timeout.
  • You don’t need to rebuild/download the image again.

13. Try it in reset mode — once!

14. Try enabling the Debug Message Zones for the IST.

The typical output from the application is shown below. The messages from the IST (PID:400002) and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required