AWC APP-III Manual Download Page 8

 

here's the command to program 1st.HEX (downloaded from the 
web site): 

 

app3 com1 1st.HEX 

If you want to verify that the device was programmed correctly 
you can issue this command: 

 

app3 -v com1 1st.HEX 

To run the new program, remove the jumper cap and press the 
reset button. This is the basic steps you'll use to program the APP-
III each time you want to run a program. 

You can write your own programs using any language that 
generates 8 bit hex files like MPLAB from Microchip. 

The app3 program understands several options: 

-v: Verify 

-d type: Display (type=all, pgm, id, eeprom, or config) 

-e: Erase 

-b: Blank check 

-m xxxx: Sets top address for -d, -e, and -b 

 

So, for example, to display the contents of the eeprom, issue the 
command: 

 

app3 -d eeprom com1 

 

Summary of Contents for APP-III

Page 1: ...APP III PIC Development Kit 2003 by AWC AWC 310 Ivy Glen League City TX 77573 281 334 4341 http www al williams com awce htm V1 1 30 Aug 2003 ...

Page 2: ......

Page 3: ...le of Contents Overview 1 If You Need Help 1 What Else You ll Need 1 Features 2 Assembly 2 Programming 3 Internals 5 Resources 6 Figure 1 Circuit Diagram 7 Connections to JP1 8 Connection to ICSP Header 8 ...

Page 4: ......

Page 5: ...instructions If You Need Help If you require assistance please feel free to contact us The best way to get support is via e mail stamp al williams com However you may also call between 9AM 4PM Central Time at 281 334 4341 You can also fax to 281 754 4462 Be sure to check out our Web page for updates at www al williams com awce What Else You ll Need In addition to the APP III kit you ll also need a...

Page 6: ...be careful not to get this connector backwards The two pin header you install will allow you to select programming mode or execution mode by placing or removing a jumper on these two pins With the jumper in place the APP III will allow programming via the download software When the jumper is not present the APP III will run your program The APP III is shipped with a test program already on board R...

Page 7: ...s working If you don t see the output but the LED is still pulsating check the MAX232 wiring and the settings on the terminal program for example some programs require you to use a connect command to start communications Congratulations Your APP III is working Now you can do some programming Programming To assist you further in programming you can download a few sample HEX files from our Web site ...

Page 8: ...t button This is the basic steps you ll use to program the APP III each time you want to run a program You can write your own programs using any language that generates 8 bit hex files like MPLAB from Microchip The app3 program understands several options v Verify d type Display type all pgm id eeprom or config e Erase b Blank check m xxxx Sets top address for d e and b So for example to display t...

Page 9: ...III environment makes programming a little different In particular Your program starts at location 0x200 Port B pin 7 is not generally available for your use Port B pull up resistors are enabled briefly on reset however if you want them enabled you must enable them in your own program Although you can use the serial port in your own programs you must be able to configure the two serial port pins f...

Page 10: ... and replace it with a pull down resistor around 4 7K to enter programming mode After programming you d return the circuit to its original configuration Be careful not to short pin 7 directly to ground if you are using it as an output since this could damage the APP III Resources http www al williams com app3 htm Examples and include files http tutor al williams com pictutor Illustrated tutorials ...

Page 11: ...7 Figure 1 Circuit Diagram ...

Page 12: ...Ground 2 RC2 13 3 RC1 12 4 RC0 11 5 RA5 7 6 RA4 6 7 RA3 5 8 RA2 4 9 RA1 3 10 RA0 2 11 5V Connection to ICSP Header You can use the ICSP header to connect to an in circuit programmer or in circuit debugger Pin 1 is the pin closest to the DB9 J1 Pin Signal IC1 Pin 1 MCLR 1 2 5V 3 Ground 4 RB7 28 5 RB6 27 ...

Reviews: