Hot!PIC12CE519 new design

New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2016/02/20 08:50:53
  • Location: 0
  • Status: offline
2018/04/06 00:58:42 (permalink)

PIC12CE519 new design

i would like to rebuild an old project with the PIC12CE519. Unfortunately, this microcontroller is not supported by either my PICkit 2 or PICkit 3. According to Microchip, flashing is only possible with the PM3.
The Webpage sais that I shuold consider the PIC12F629.
Now I wanted to ask if it is possible to flash the old hex file directly or if it is necessary to verify the ASM code for register names compatibility.
Thank you in advance.

2 Replies Related Threads

    Super Member
    • Total Posts : 13222
    • Reward points : 0
    • Joined: 2009/07/23 07:02:40
    • Location: UK
    • Status: offline
    Re: PIC12CE519 new design 2018/04/06 12:28:32 (permalink)
    +1 (1)
    Different architecture, different instruction set, but the MPASM assembly language mnemonics are upwardly compatible, so you only have to manually go through the source line by line fixing it up, rather than scrapping it and starting over.  
    There's another option, the PIC12F519 which will be much easier to port to.  Its the same architecture and instruction set and is close to being binary compatible if you aren't using the PIC12CE519's internal I2C EEPROM.
    A few register bits have been renamed, but you should be able to alias those with #define or do a simple search and replace.

    NEW USERS: Posting images, links and code - workaround for restrictions.
    I also support because this forum is sometimes too broken to use!
    A Guy on the Net
    • Total Posts : 16990
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: PIC12CE519 new design 2018/04/06 12:40:28 (permalink)
    +1 (1)
    Are you making one or several?
    You can buy the chips preprogrammed from Microchip.

    Buying a used pic plus programmer is also an option, if you have windows 7 and a real serial port
    post edited by NKurzman - 2018/04/06 12:41:57
    Jump to:
    © 2019 APG vNext Commercial Version 4.5