Menu

Help for PIC16F887 programming

Geo Babu
2016-08-05
2018-10-15
  • Geo Babu

    Geo Babu - 2016-08-05

    Hi,
    I had tried to program the PIC16F887 microcontroller through the bootloader app. But something wrong is happening here. The bootloader firmware I had loaded to the PIC16F through a PICKIT3 is , " tinybld16F887.HEX " , from the folder "Dan_tinybld16F887_int8MHz_19200bd_84w_r4" . (PIC16F887 uses internal 8MHz, connected through a USB to UART bridge (on a PIC16F1454)) . Don't have a RTS line so , Reset is selected as Manual.

    While checking , its properly detecting the controller ,

    Check Device...
    Open COM28 serial port at 19200bd
    Found: 16F 886/887/876A/877A/876/877(84w)
    Close COM28 serial port

    During the Write . I am getting the following error message

    Check Device...
    Open COM28 serial port at 19200bd
    Found: 16F 886/887/876A/877A/876/877(84w)
    Open HEX file: C:\Users\GEOES\Desktop\PIC_MODULE1\pic_tkit.X\dist\default\production\pic_tkit.X.production.hex
    Hex file verified, OK
    Transferring flash...
    Transferring program memory...
    no answer
    ERROR: problem in writing flash memory!!!

    Close COM28 serial port

    In the memory model , I had set the ROM - Range as 0-1F57 , ("1FFF - A8" ).

    I can see that initially from PC, 0xc1 , is sending towards the controller and as response
    0x3c 42 is coming back ., then again PC send an array ,
    0x00 00 20 1f 30 8a 00 b0 2f ff 3f 0a 12 8a 11 07 28 30 30 d4 01 c4 00 31 30 c5 00 32 30 c6 00 33 30 c7 00 93 ...
    after that no response back from the PIC

    What could be the problem happening here,
    Regards,
    Geo

     

    Last edit: Geo Babu 2016-08-05
  • E. Kizer

    E. Kizer - 2018-10-15

    did you ever find a fix for the problem. I have the exact same problem with a 16F886

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.