PIC18f2455 blink


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1

    Question PIC18f2455 blink

    Hi all,
    I need your help in begining with PIC18F2455 using PICbasic , I have alot of errors , I need a simple programm to beging with this IC.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by iugmoh View Post
    Hi all,
    I need your help in begining with PIC18F2455 using PICbasic , I have alot of errors , I need a simple programm to beging with this IC.
    The simple program would be the same simple program that is probably used for every other PIC you've programmed so far...

    But...we don't know what you're errors are...so.............................

  3. #3


    Did you find this post helpful? Yes | No

    Wink

    When I compile the programm I have this error
    MPASM Required

    so i read and find that I must install MPLAB with MPASM , so it's woking now

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by iugmoh View Post
    When I compile the programm I have this error
    MPASM Required

    so i read and find that I must install MPLAB with MPASM , so it's woking now
    Believe it or not...the answer you seek is in the PBP manual near the beginning...
    I know...not what you want to hear...but...well...there you go.

  5. #5


    Did you find this post helpful? Yes | No

    Question

    Another question , I made a project on PIC16f877a but there isn't sufficient memory space to add additional code, so I change to PIC18F452 and make compile and it's compiled without any errors , IF I programm my chip and try practically Is't working ?

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by iugmoh View Post
    Another question , I made a project on PIC16f877a but there isn't sufficient memory space to add additional code, so I change to PIC18F452 and make compile and it's compiled without any errors , IF I programm my chip and try practically Is't working ?
    The 16F877A and 18F452 have different registers, different options, different modules, different things that need to be configured before use.
    Something made for one probably isn't going to port DIRECTLY over to another PIC without a few register changes, configuration changes, from here to there.
    Check the datasheets for the differences.
    And if it works on the '877, go thru the code. There are ways of optimizing memory use on the '877 (both the program and ram space) to get things to fit.
    Are you out of program space or ram space?

Similar Threads

  1. Trouble with most basic BLINK on PIC 16F819
    By confusedperson in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 16th April 2009, 21:46
  2. Simple Blink program doesnt work.
    By sccoupe in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 1st March 2009, 20:30
  3. Can't get blink circuit to work :(
    By Techbuilder in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 31st January 2008, 13:00
  4. I Just Can't Get it to Blink - 16F628
    By Spindle in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 31st May 2005, 15:54
  5. 20Mhz crystal cause led to blink irreguarly
    By niknaksbarbeque in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th April 2005, 11:35

Members who have read this thread : 0

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