Programming and Testing
Running a Hex file on Pt-51
Assuming that you have installed Keil and FLIP tools successfully.
-
Download the following assembly file and compile it to generate the hex file for a simple LED test. led.asm.
-
Take a look at the video below for the procedure to dump a hex file that will be executed on the Pt-51 kit.
Completing, the above two steps lets you test the LEDs on Pt-51 kit. This is a quick check of the Pt-51 kit and installed tools.
Testing the peripherals of Pt-51
A test file has been developed to test all the peripherals of Pt-51.
- Download this test file. pt51_test.hex.
- Program the Pt-51 using the downloaded
pt51_test.hex
file. - Details of the peripherals being tested and their success/failure can be understood from this set of slides. Make sure all the tests run successfully.
The pdf of these slides is available here.