smal code hex 16f628 migrate to12f629 hex

Started by restech_pl in Piclist9 years ago

Hello all I am looking easy and clear solution how to migrate hex code from 16F628 to 12f629. I use disassember Nigel Goodwin WinPicProg for...

Hello all I am looking easy and clear solution how to migrate hex code from 16F628 to 12f629. I use disassember Nigel Goodwin WinPicProg for asm source. pin in use 16f628: 4 -- RST 5 -- GND 6 -- I/O 13 -- I/O 14 -- VCC 16 -- CLK Anybody can help me ? thx for any ansfer please look my code : ; Generated by WinPicProg 1.91, (c) Nigel Goodwin 2002. LIST P=16F628, ...


16F628 on-chip eeprom problem

Started by Vladimir M Skrbic in Piclist13 years ago 2 replies

Hello everyone, I'm new to the group and I'd like to ask a question. I've recently moved all my projects from 16F84 to 16F628...

Hello everyone, I'm new to the group and I'd like to ask a question. I've recently moved all my projects from 16F84 to 16F628 mcu's. Yesterday I've tried to write data to the internal (on-chip) eeprom of 16F628 using PicBasic Pro with little (or no ;) sucess. Would anyone care


16f628 internal oscillator

Started by hunt4it44 in Piclist14 years ago

I did a little experiment this past weekend playing with the 16f628a- 04 and its internal oscillator. On one breadboard I put 2...

I did a little experiment this past weekend playing with the 16f628a- 04 and its internal oscillator. On one breadboard I put 2 16f628's with identical clock programs that display on an LCD. The only difference between the 2 16f628's was I set one up to use the internal oscillator


PIC16F628 support in PICC Lite

Started by Jeff Cooper in Piclist14 years ago 3 replies

People: PICC Lite lists 16F627 but not 16F628 as a supported device. The include file, 16f6x.h has comments pertaining to...

People: PICC Lite lists 16F627 but not 16F628 as a supported device. The include file, 16f6x.h has comments pertaining to 16F628 and a #ifdef referencing a symbol called _16F628. Can I target the 16F628 and use its 2K of program memory or will they prevent that?


A/D with comparator in 16F628

Started by Luis in Piclist12 years ago

Hi All !! I'm new on this group , and I'm From Brasil !! Whow to make A/D with comparators on 16F628 in PicBasicPro ??? ...

Hi All !! I'm new on this group , and I'm From Brasil !! Whow to make A/D with comparators on 16F628 in PicBasicPro ??? Sorry my english....


differences between 16f628 and 16f628a

Started by knalkeez in Piclist13 years ago 2 replies

Until now, I succesfully used 16f628's for my robot-projects. I use an el-cheapo parallel-programmer (SHAER) and use ...

Until now, I succesfully used 16f628's for my robot-projects. I use an el-cheapo parallel-programmer (SHAER) and use in-circuit-programming. So far so good. Yesterday I ordered 16f628A chips, 'cause they're a bit cheaper, and usually the 'A' stands for 'improved'. But after reading some a


Convert program code from 16F84 to 16F628??

Started by Shawn McClintock in Piclist14 years ago 2 replies

How hard would it be to port a program written for the 16F84 to a 16F628? Any big changes need made? Or can I just recompile with...

How hard would it be to port a program written for the 16F84 to a 16F628? Any big changes need made? Or can I just recompile with new processor selection and appropriate changes in code for device type? Shawn


ICD 2 support for 16F628?

Started by Dennis Clark in Piclist13 years ago 2 replies

Hi all, I've got an issue. My ICD-2 on MPLAB 6.60 says that the programmer won't support the 16F628. The MC website says it...

Hi all, I've got an issue. My ICD-2 on MPLAB 6.60 says that the programmer won't support the 16F628. The MC website says it will program it, but not debug it without an adapter. OK, since my IDE refuses to let me choose the ICD-2 as my programmer, it is obvious which way the w


assembler SPI on 16F628 to MAX7219

Started by Glen in Piclist14 years ago

I'm trying to write SPI Master code to send from a 16F628 to a MAX7219. Anybody got any example code? I've written what I think ...

I'm trying to write SPI Master code to send from a 16F628 to a MAX7219. Anybody got any example code? I've written what I think should work, but no luck so far. I have a logic probe and can see the MOSI, CLK and SS lines toggling away, but the 7219 doesn't react. A scope wo


Convert / recompile code - 16F84 to 16F628 need help!

Started by Shawn McClintock in Piclist13 years ago 5 replies

I have C source for a project, it was written for the 16F84. I am trying to recompile using Hi-Tec to use the code on a 16F628 so I...

I have C source for a project, it was written for the 16F84. I am trying to recompile using Hi-Tec to use the code on a 16F628 so I can add a few routines myself (the code uses most of the 84's mem space) but even after selecting the type of pic to compile for, the resulting HEX file


A 16f628 hangs on entering programming mode

Started by gabrielszb in Piclist14 years ago

I have programmed a 16f628 with code generated by PICC lite and after succesfull programing the chip now cannot be reprogrammed...

I have programmed a 16f628 with code generated by PICC lite and after succesfull programing the chip now cannot be reprogrammed again - it hangs after entering programming mode. I use Wouter's Wisp628 incircuit programmer and have been using it for half a year without any


IC PROG+JDM+16F628+16F877+16F84

Started by csg37 in Piclist14 years ago 4 replies

This is my first message hi all of you. I look for a JDM circuit which programs 16F628+16F877+16F84 in one circuit. ...

This is my first message hi all of you. I look for a JDM circuit which programs 16F628+16F877+16F84 in one circuit.


16F628(A) at 16 MHz and TMR0 problem

Started by Wolfgang in Piclist12 years ago 3 replies

Hi, i am using "PIC Simulator IDE" from OshonSoft to compile and assemble my code for the 16F628. All is working fine. But I have got the...

Hi, i am using "PIC Simulator IDE" from OshonSoft to compile and assemble my code for the 16F628. All is working fine. But I have got the problem, that when I want to have i.e. 50 Hz frequency output to one pin on port a, i never get the result I am expecting. I compute like this : clock frequency is 16 Mhz, so internal clock is 4MHz. If I


16F628 in-circuit programming problem

Started by leon_heller in Piclist12 years ago 11 replies

This is a weird one! I've added connections for in-circuit programming to my JDM programmer, and it works OK with a 16F88 on the...

This is a weird one! I've added connections for in-circuit programming to my JDM programmer, and it works OK with a 16F88 on the target board. However, when I try to program a 16F628 on the same target board programming fails on the first location. The chip programs OK whe


16F628 Data EEPROM Write Problem

Started by Scott Kellish in Piclist14 years ago 3 replies

  Hi Everyone, I'm having some intermittent problems writing to the data eeprom on 16F628 parts. Below is the code...

  Hi Everyone, I'm having some intermittent problems writing to the data eeprom on 16F628 parts. Below is the code I'm using. Once in a while, probably on


16F628-04 & 16F628-20 INTOSC question ?

Started by Vincent in Piclist13 years ago 3 replies

Message Hello,  

Message Hello,  


Assembler advice

Started by upand_at_them in Piclist12 years ago 4 replies

I'm still getting used to programming in assembly and I wonder if someone could critique a short routine I have for a 16F628. I have...

I'm still getting used to programming in assembly and I wonder if someone could critique a short routine I have for a 16F628. I have three bytes (r2, r3, r4) as follows: |xxxxxxBA| |98765432| |10xxxxxx| and I need the middle 12 bits so that I end up with this: |----BA98| |76543210| Is this the best way to do it?... movlw H


PIC Timing

Started by Anonymous in Piclist13 years ago 11 replies

I need to use an External Oscilator for my 16F628. Which setting should I use? LP, XT, HS, EC? What else do I need to do? ...

I need to use an External Oscilator for my 16F628. Which setting should I use? LP, XT, HS, EC? What else do I need to do? Thanks for any help.


external a to d converer

Started by jean michel urbani in Piclist13 years ago 3 replies

hello List, I have lingered on the net for the last 2 monthes to try to get info on how to use an external ad converter with...

hello List, I have lingered on the net for the last 2 monthes to try to get info on how to use an external ad converter with a pic 16F628 and can't nanaged get it. could someone help me ? thanks jean mi


PIC PROBLEM!

Started by Anonymous in Piclist14 years ago 3 replies

Hey, I bought 5 16F628's and I can't get a simple thing to work! I'm using PicBasic and my program is... High 0 And...

Hey, I bought 5 16F628's and I can't get a simple thing to work! I'm using PicBasic and my program is... High 0 And I have a LED hooked up to RB0. To no success. Any help? Shamoon