Help ?


Closed Thread
Results 1 to 21 of 21

Thread: Help ?

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Puerto Rico
    Posts
    133

    Unhappy Help ?

    Hello to all

    I am using the pic18f252 with PICBASIC PRO and MicroCode Studio Plus with the last version of picbasic pro and I have about 1,900 line of code but I am having some very strange problems as sometimes the code jumps steps and don't know if the problem of PICBASIC or of the pic18f252 and I am using the new USB Programmer

    This type of problem has frustrated and I am thinking about changing all it of PICBASIC by a compiler of C. But I do not want to commit a so large error that have a great deal of money in this.

    If someone it can give me an idea that can be.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by jetpr View Post
    I am using the pic18f252 with PICBASIC PRO and MicroCode Studio Plus with the last version of picbasic pro and I have about 1,900 line of code but I am having some very strange problems as sometimes the code jumps steps and don't know if the problem of PICBASIC or of the pic18f252 and I am using the new USB Programmer
    Attach that code...I ain't scared!

  3. #3
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    My largest PBP program runs at about 4,500 lines and works flawlessly. However, I can't say the same for 18F series PICs - they do have anomalies, especially the early ones. Take the 18F2420 for example... part of the 18F242/252 family... all's well until you try to use PortE.3 in a design - then Gawd help you! Hey ski - you actually want to look at somebody's 1900 line program? Run out of credit at the bar, and you're killing time waiting for payday or something?

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Melanie View Post
    My largest PBP program runs at about 4,500 lines and works flawlessly. However, I can't say the same for 18F series PICs - they do have anomalies, especially the early ones. Take the 18F2420 for example... part of the 18F242/252 family... all's well until you try to use PortE.3 in a design - then Gawd help you! Hey ski - you actually want to look at somebody's 1900 line program? Run out of credit at the bar, and you're killing time waiting for payday or something?
    Sure...I figure I can add some colons here and there...make it...oh I don't know, maybe 190 lines instead
    Heck, my old mp3 player project ended up being 2,057 lines AFTER combining lines and my current project is already up to 2,015 (again with a load of colons) and I'm only about 1/2 done with it.
    Besides, like you said, with some of the 18F series, they're a bit flakey. I haven't had a problem with them in over a couple of years, but those early ones...Look out!
    Who knows...might be something that you or I would easily recognize as an obvious error, but somebody with limited PBP experience wouldn't see it...but after pointing it out, stands out like a sore thumb after the first time.

  5. #5
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    4,500 lines is absolutely huge for embedded systems software. My current project - cloning Donkey Kong for the PC, so far I've done the first level (100% playable) plus most of the raw foundation for everything is tact. I'm up to about 1,600 lines so far, the code is yet to be optimized. In the final completed version, I'm estimating 3,000 lines.

  6. #6
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    4,500 lines is absolutely huge for embedded systems software...

    You should see the size of the LST file after compilation! 10.4Mb, 3385 pages, 229138 lines... geeze... try printing that one out for reference...

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