Help for 16F877A>18F452


Closed Thread
Results 1 to 6 of 6
  1. #1

    Unhappy Help for 16F877A>18F452

    Hello all.

    I'm new here, i try to make conversion for a program in picbasic pro write for 16F877A.

    I have 2 include in ASM... I think the problem is here, but i'm stupid with ASM...
    The other part of the program work perfect after minor conversion.

    Can you look for me if a stupid problem exist ?

    For me i have problem with

    WrdToHex
    WrdToStrHex

    and with

    _KwpCom_WakeUpController

    _KwpCom_FindBitLn





    Thanks a lot in advance.
    Attached Files Attached Files

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Want the easy answer?
    Buy an ELM327...

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Thank you lol.

    But i have elm and many other interface but elm is not good for my project.

    I work with a friend on a project we need KWP1281 and many other stuff, the software work very fine (100%) with 16F877A but i need to adapt this for pic 18F because the 16F877A flash is full.


    It's my friend who have write the ASM files, but he need to stop the dev, and me i don't understand ASM and i'm not a good dev...

  4. #4


    Did you find this post helpful? Yes | No

    Default

    I think the firts problem is :

    movwf FSR0


    because, digit is not reported correctly

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by alkabal View Post
    Thank you lol.
    But i have elm and many other interface but elm is not good for my project.
    I work with a friend on a project we need KWP1281 and many other stuff, the software work very fine (100%) with 16F877A but i need to adapt this for pic 18F because the 16F877A flash is full.
    It's my friend who have write the ASM files, but he need to stop the dev, and me i don't understand ASM and i'm not a good dev...
    Well, get to writing...this is after all a PicBasicPro forum...not a PIC ASM forum, although most of the experienced guys here know their way around ASM very well.
    I don't think it's a 'handle this for me' forum... I could be wrong, I've been known to be wrong, at times...

    How about you re-write some of the code...and the rest of us here can help you figure out where it's failing...hmmmmmmmmmkay?

    And why is the ELM327 no good for your 'project'?
    Last edited by skimask; - 22nd February 2008 at 17:14.

  6. #6


    Did you find this post helpful? Yes | No

    Default

    Excuse me, i don't understand very wellb but ok sorry you are right it's not a ASM forum. Sorry for inconvenience ! (asm is 2 include only for my picbasic project)


    I just want help in asm for 16F to 18F conversion, because i'm sur the problem is here, the other stuff write in picbasic work very fine. (Off course, compilation is good with all define)


    KWP connection faill when the synchro start.
    KWP error is not fully reported (digit bug)

    Thanks for all, i'm go to search a ASM forum to

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