pic18f4620 and flashlab77


Closed Thread
Results 1 to 4 of 4
  1. #1
    igeorge's Avatar
    igeorge Guest

    Default pic18f4620 and flashlab77

    Hi everybody,
    I have a flashlab77 development board and I just bought some 18f4620 from microchip.
    I converted a code from a 16f877 to the new processor , compile with no errors, just 3 warnings about 18f4620.inc 20: __Config has been deprecated for pic18 devices
    After that it start the program process and it will hag up asking to reset processor.
    I turn power of and on, but nothing happen. I try to put pin 1 to gnd for a short period of time , but the result is the same.
    I can use the Melab serial programmer with the chip with no problem, but I can not program from microcode studio plus using the loader and the flash77 board.
    The board work perfectly if I insert a 77 chip , with no errors or reset questions.

    Please help
    Ion George

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Ion,

    This PIC should work fine on a Flash-Lab board. It's pin for pin compatible with the 877, so assuming the loader firmware is OK, you're not making any changes to the loader firmware (config fuses) before programming it with the loader firmware, it should work.

    Make sure to use DEFINE OSC ? and that this matches the loader firmware. If the loader firmware is compiled for a 20MHz osc, then DEFINE OSC 20 should take care of it. If this doesn't match, you will always get this message.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    tvebronc's Avatar
    tvebronc Guest


    Did you find this post helpful? Yes | No

    Default need your help

    hi,
    I need help converting the code from a PIC16F to a PIC18F just like you did...
    I would really appreciate your help
    I attached the file
    Attached Files Attached Files

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    it's actually more than this.. you want us to convert it to PBP too? For school or your own?

    Probably faster to know what it do then create a brand new one from start.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts