• AVR Freaks

Hot!Bootloader for the PIC16F690

Author
Reini
Junior Member
  • Total Posts : 61
  • Reward points : 0
  • Joined: 2015/09/11 03:21:24
  • Location: 0
  • Status: offline
2019/08/21 02:52:49 (permalink)
0

Bootloader for the PIC16F690

Hello all,
Does someone know if it is possible to have a PIC16F690 with a bootloader? For what I am reading (datasheet) I don't think it is possible to write to program memory. But perhaps it is still possible :-)
If not, I will have to replace the chips (on existing boards) with ones that cán have a bootloader (like the PIC16F18346)
 
It also would be nice if you could provide a link to a Microchip white paper, describing all devices with the option to write to program (flash) memory.
 
Looking forward to your input
 
With kind regards,
 
Reini
#1

8 Replies Related Threads

    NKurzman
    A Guy on the Net
    • Total Posts : 17706
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: Bootloader for the PIC16F690 2019/08/21 05:43:39 (permalink)
    0
    I think that may be a field in the part selector on the web site. A white paper would require constant updates.
    #2
    ric
    Super Member
    • Total Posts : 23525
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: Bootloader for the PIC16F690 2019/08/21 05:46:33 (permalink)
    +1 (1)
    +1. You don't  use paper for that sort of thing these days, it would be obsolete within a week.
    As NKurzman suggested, use MAPS - Microchip Advanced Part selector
    You will also drastically improve your product if you replace a PIC16F690 with a PIC16F18346 !

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #3
    Reini
    Junior Member
    • Total Posts : 61
    • Reward points : 0
    • Joined: 2015/09/11 03:21:24
    • Location: 0
    • Status: offline
    Re: Bootloader for the PIC16F690 2019/08/21 06:43:01 (permalink)
    0
    ric
    +1. You don't  use paper for that sort of thing these days, it would be obsolete within a week.
    As NKurzman suggested, use MAPS - Microchip Advanced Part selector
    You will also drastically improve your product if you replace a PIC16F690 with a PIC16F18346 !


    We know :-) That's why we use the PIC16F18346 in new designs, but we were investigating if we could upgrade old designs with a PIC16F690 by implementing a bootloader, so firmware updates can be done by the customer :-)
    #4
    Reini
    Junior Member
    • Total Posts : 61
    • Reward points : 0
    • Joined: 2015/09/11 03:21:24
    • Location: 0
    • Status: offline
    Re: Bootloader for the PIC16F690 2019/08/21 06:49:03 (permalink)
    0
    NKurzman
    I think that may be a field in the part selector on the web site. A white paper would require constant updates.

    :-) Sorry for that. With a white paper I meant of course a document (pdf for example) which provides information about devices that are capable of programming it's internal flash memory. It seems that the PIC16F690 has also flash memory, but it is not able to program it from a bootloader.
    Also, the RESET and load STKPTR instructions are not available in the PIC16F690 (but I had that covered by letting the watchdog expire, what resulted in a RESET :-))
    #5
    ric
    Super Member
    • Total Posts : 23525
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: Bootloader for the PIC16F690 2019/08/21 13:13:22 (permalink)
    +1 (1)
    Reini
     we were investigating if we could upgrade old designs with a PIC16F690 by implementing a bootloader, so firmware updates can be done by the customer :-)

    Could you just send them a PICkit3 in "Programmer to Go" mode?
    That is by far the easiest approach, assuming they can get access to the ICSP connection.

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #6
    1and0
    Access is Denied
    • Total Posts : 9607
    • Reward points : 0
    • Joined: 2007/05/06 12:03:20
    • Location: Harry's Gray Matter
    • Status: offline
    Re: Bootloader for the PIC16F690 2019/08/21 14:57:38 (permalink)
    0
    If the PIC is inserted onto a socket, send them a new PIC. ;)
     
    #7
    NKurzman
    A Guy on the Net
    • Total Posts : 17706
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: Bootloader for the PIC16F690 2019/08/21 16:58:18 (permalink)
    0
    Reini
    NKurzman
    I think that may be a field in the part selector on the web site. A white paper would require constant updates.

    :-) Sorry for that. With a white paper I meant of course a document (pdf for example) which provides information about devices that are capable of programming it's internal flash memory. It seems that the PIC16F690 has also flash memory, but it is not able to program it from a bootloader.
    Also, the RESET and load STKPTR instructions are not available in the PIC16F690 (but I had that covered by letting the watchdog expire, what resulted in a RESET :-))



    A PDF would one more document the would need to update for every new part.  And You Question is about Obsolete old Parts.  I think all new parts have self Write (except maybe PIC10 or 12 parts, maybe)
    And Yes the Old cores did not have RESET, or a way to see the H/W Stack.
    #8
    Danno
    Super Member
    • Total Posts : 266
    • Reward points : 0
    • Joined: 2005/09/07 10:12:10
    • Status: offline
    Re: Bootloader for the PIC16F690 2019/08/22 09:27:21 (permalink)
    0
    PIC16F690 can read from flash but not write to flash.  (ref DS40001262F Section 10.1.4)
     
    Concur with upgrading to PIC16F18346!
    #9
    Jump to:
    © 2019 APG vNext Commercial Version 4.5