from 877 to 452


Closed Thread
Results 1 to 11 of 11

Thread: from 877 to 452

  1. #1
    Join Date
    Sep 2004
    Location
    Les Angles (FRANCE)
    Posts
    18

    Talking from 877 to 452

    HI all

    "I've got a problem!", i wrote a piece of code for the 16F877 which works fine but i haven't enough memory to continue.
    So i have decided to move it to 18F452 but it doesn't start.

    crystal is actualy a 4MHz

    I use :
    -microcode studio 2.1.0.6
    -PBP 2.45
    -mpasmwin v03.80.03
    -labtool 48 universal programmer

    I have no error report

    here is the beginning of my code

    can someone help me i don't understand what's wrong.
    Attached Files Attached Files
    Jean-François

    F4CDH

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


    Did you find this post helpful? Yes | No

    Default

    Pure guess here, what about if you try this

    RCON=0
    Steve

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

  3. #3
    Join Date
    Sep 2004
    Location
    Les Angles (FRANCE)
    Posts
    18


    Did you find this post helpful? Yes | No

    Default

    i have trying with rcon=0 but no more result
    Jean-François

    F4CDH

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


    Did you find this post helpful? Yes | No

    Default

    i'm pretty sure it's an oscillator or brown out setting... i'll get one of these F452 and i'll test it. i'll let you know

    a bientot
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default

    just few thought here.

    2.What about if you remove all the configuration fuse setting and do it manually on your programmer program.

    2. can you to set erase before programming on your programmer ?

    3. can you remove the testing at Min vdd and max VDD on your programmer ?

    4. is ICSP, in case yes is it possible to try only in programmer socket?

    let us know

    Last edited by mister_e; - 1st November 2004 at 20:04.
    Steve

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

  6. #6
    Join Date
    Sep 2004
    Location
    Les Angles (FRANCE)
    Posts
    18


    Did you find this post helpful? Yes | No

    Default

    HI mister_e,

    its the same result

    i have a old 'picstart plus' i'm going to try with it, may be my programmer is out

    i let you know the result
    Jean-François

    F4CDH

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


    Did you find this post helpful? Yes | No

    Default

    Hope your PICstart is updated for that... or i hope you have an 17C blank in extra to update it or, better, Upgrade Flash kit already fitted in.

    regards
    Steve

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

  8. #8
    Join Date
    Sep 2004
    Location
    Les Angles (FRANCE)
    Posts
    18


    Did you find this post helpful? Yes | No

    Unhappy

    HI mister_e

    1 - if i remove all the configuration fuse setting and do it manually on my programmer it's the same result

    2 - i always erase the chip before i program it

    3 - i program it without test min or max VDD

    4 - my programmer isn't ICSP

    5 - i have tryed to program with 'picstart plus' but when i 'import' the HEX file i've got those error message :

    "the format of the file c:\...........................\therm452 jfb.hex can not be read or written because its extension was not recognized'
    Jean-François

    F4CDH

  9. #9
    Join Date
    Sep 2004
    Location
    Les Angles (FRANCE)
    Posts
    18


    Did you find this post helpful? Yes | No

    Thumbs up

    HI,

    yes i've got upgrade my picstart plus with 17c and firmware v3.11

    à bientôt
    Jean-François

    F4CDH

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


    Did you find this post helpful? Yes | No

    Default

    Hi automan, i'm really not sure of the following but is V3.11 support 18F452... maybe this is the reason of those error messages. The newest version the the firmware is 4.XXX
    Steve

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

  11. #11
    Join Date
    Sep 2004
    Location
    Les Angles (FRANCE)
    Posts
    18


    Did you find this post helpful? Yes | No

    Question

    HI mister_e

    the firmware v3.11 is the last with pic17c, for the newer firmware i should buy the upgrade kit.

    so i can't do the test now.
    Jean-François

    F4CDH

Similar Threads

  1. pic '877 ADC...PLease HELP !!
    By Gixxer in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st January 2008, 17:41
  2. Homicidal 877 user needs help
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 20th December 2007, 15:09
  3. PIC18 (452) DATA or EEPROM Command
    By Acetronics2 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th August 2007, 17:14
  4. Bootloader Problems
    By rossfree in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th February 2005, 18:51
  5. '877 and Visual Basic 6
    By Tomas in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th March 2004, 03:31

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