Menu

MikroC Compatibility for PIC 10/12/16/18 MCUs 8 bits

MAIP
2013-12-09
2013-12-24
  • MAIP

    MAIP - 2013-12-09

    Hello,

    Is that MikroC compiler work with PIC 10/12/16/18 MCUs 8 bits without modifications? if not: how to modify my code to work with tinybootloader.

    Thank's man for this bootloader :)

     
  • MAIP

    MAIP - 2013-12-09

    and i want bootloader for PIC16F877A 20Mhz with HEX file.

    thank's

     
  • MAIP

    MAIP - 2013-12-10

    Hello and thank's, Would you please do me a favor? I need you to compile the asm for me(i have a very slow connexion to download mplab :( ).

    and for # pragma orgall what address should be i use(0xXXX) in my program

    Thank you very much for your effort

     

    Last edit: MAIP 2013-12-10
  • Dan

    Dan - 2013-12-10

    Hi,MAIP

    Attach the file that was compiled.

    Matched tinybld16F876A_20MHz.HEX results.

    In other words You can use as it is tinybld16F876A_20MHz.HEX.

     
  • MAIP

    MAIP - 2013-12-10

    thank you very much

     

    Last edit: MAIP 2013-12-11
  • edorul

    edorul - 2013-12-12

    Hello MAIP,

    have you tried to program with TinyBootloader+ an ".hex" compiled by MikroC without modification of the code?
    If so, can you tell us if it worked?

    Best regards,
    Edorul

     
  • MAIP

    MAIP - 2013-12-21

    Hello,
    RTS Reset:


    Check Device...
    Open COM3 serial port at 115200bd
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Error: No Device Detected!!!
    Verify: - COM number
    - baud rate
    - if Device was reseted less than 1sec ago
    (do you need to check "RST Reset"?)
    - if TinyBootloader firmware is correctly
    programmed into Device
    Close COM3 serial port


    Manual Reset

    Check Device...
    Open COM3 serial port at 115200bd
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xF7 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Software reseting Device
    Device answer: 0xC1 no answer...
    Error: No Device Detected!!!
    Verify: - COM number
    - baud rate
    - if Device was reseted less than 1sec ago
    (do you need to check "RST Reset"?)
    - if TinyBootloader firmware is correctly
    programmed into Device
    Close COM3 serial port


     

    Last edit: MAIP 2013-12-21
  • Dan

    Dan - 2013-12-21

    Hello MAIP,

    In order to isolate the problem, please execute the following communication check.

    Procedure of communication check

    1.Check the wiring of the reset circuit serial connection and with reference to the tempearure controller.jpg.

    2.Loop-back test using terminal software
    Not turn the monitor on PIC, You shorting the RC7/RX and RC6/TX.
    OK if it is echo by character input from the terminal software

    3.Character output test using the terminal software
    If any of the above is also normal, You write a test program attached in place of the boot loader
    Start the terminal software, and then turn on the PIC.

    The screen @@@@@@@.......... is displayed with if communication is normal.

    There is a problem with the firmware above 123 if normal.

     

    Last edit: Dan 2013-12-21
  • MAIP

    MAIP - 2013-12-24

    1 - checked
    2- loop back is ok
    3- character output don't work correctly: i use usb to serial adapter and i think there is a problem in this adapter

     

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.