>That's one of my next things to do. Perhaps with some help?? I've ported >the >Linux version of NOPPP to Dos (so I can program 16F877s). That's fine- it >works... It would be a simple matter to add a new option for the 16F826 but I just started working on modifying the software this week, but I'm having trouble getting it to compile. The problem is in the conio.h header. I've tried Miracle C, a shareware compiler, and Plato, the C compiler we have on the university network here. The other problem is my C programming is very rusty, I haven't done it since my undergraduate graphics course, which was more than five years ago. I've had to get a couple of books out of the library to brush up a bit. >I'm not sure on all of the values for the 16F826. As I understand it >PSIZE=program memory, DSIZE= data memory, CMASK=??, IMASK=? no of bits in >config. Pretty happy on the PSIZE and DSIZE, IMASK and CMASK a bit shaddy. >If I knew the values I could work out the rest and modify the NOPPP >software >for the 16F826 which someone might be able to check??? CMASK is the mask for the configuration word. On the 16C84, the config word only uses the first 5 bits (I think) so thats why it is 001Fh. On the other supported processors, the 16F83 and 16F84, they use all 14 bits, so it is 3FFFh. The 16F628 also uses all 14 bits. IMASK I'm not sure about either, I'm still trying to figure that out. But for the most part, it seems fairly straight forward. Just increase PSIZE, PSIZEMAX, DSIZE, DSIZEMAX to the values for the 16F628. Anyone know what the ISIZE and IMASK are for? Something to do with interupts I'm guessing. Unfortunately I program in Pic Basic, so I don't really work with the PIC architecture directly. If I did, I'm sure it would help. James. > case 'C': > DEVICE = PIC16C84; > PSIZE = 1024; > DSIZE = 64; > CMASK = 0x001F; > IMASK = 0x3FFF; > DEFAULTCONFIG = 0x001B; > break; >----- Original Message ----- >From: James Padfield >To: >Sent: Tuesday, September 25, 2001 1:27 PM >Subject: [PIC]: 16F628 on the NOPPP? > > > > Ok, this may be a stupid question, but can I program a 16F628 with a > > no-parts pic programmer? > > I seem to have fried my 16F84A, and several people suggested I look at a > > 16F628 as an alternative. However, I don't want to build another >programmer. > > Thanks, James. > > > > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu