debug not working with MPASM assempler


Closed Thread
Results 1 to 6 of 6

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    When switching from the PM assembler to MPASM, and not including config settings in your
    code, make sure your config settings in 16f876A.INC are the same for both assemblers.

    For a 12MHz oscillator both should use HS_OSC. XT_OSC may not be providing enough drive
    for your 12MHz crystal or resonator, resulting in some odd harmonic of the fundamental
    crystal frequency.

    That would for sure cause garbage to be displayed in a serial terminal. The actual PBP
    library code generated at compile time should be pretty much the same for either
    assembler. Both assemble the same library code.
    Regards,

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

  2. #2
    Join Date
    Feb 2005
    Posts
    44


    Did you find this post helpful? Yes | No

    Default Its workings

    the problem was the capitals....before i wrote DEFINE osc 12 and not working.when i changed to DEFINE OSC 12 it works fine.thanks everyone for their reply's.

Similar Threads

  1. N-Bit_MATH
    By Darrel Taylor in forum Code Examples
    Replies: 38
    Last Post: - 16th December 2010, 14:48
  2. About USB
    By dias11 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 3rd December 2009, 20:41
  3. Data EEPROM gets clobbered during programming
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th July 2008, 02:46
  4. Debug and some 18F pics
    By sinoteq in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st June 2007, 15:10
  5. Converting to MPASM
    By btaylor in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 4th November 2005, 01: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