AWC APP-III Manual Download Page 9

 

To dump the first 256 bytes of program storage (which starts at 
location 0x200) you'd write: 

 

app3 -m 100 -d pgm com1 

If you wanted to erase the chip (not necessary when programming) 
and also wanted to verify that it was blank, you can issue these two 
commands: 

 

app3 -e com1 

 

app3 -b com1 

Internals 

The APP-II is actually a PIC18F252 that operates at 20MHz. You 
can find documentation for this device at the Microchip Web site. 
However, the APP-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 for serial I/O to 
program. Therefore, we don't recommend you use the serial port 
for anything other than a serial port. 

The chip will not allow you to change certain fuse settings (notably 
the code protect options and the clock selection). 

 

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: