how large and complex firmware you design using pbp?


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    Hi, CHRDCV

    Reading your post Twice ...

    I do not think you are facing a "tool" problem ... but "Method" problem ...

    as Bruce says ... " nothing beats PBP for quick & reliable results " and I really do agree !!! On my amateur side, I build lots of programs ... but each program for few chips !!!

    You won't find a better tool for developing applications quickly ...

    IF you look for Bytes saving ... do not say PBP need Huge memory room nor ( cf your point 3 ) : PBP produced code for tables is very close to assembler !!! ... and the "structure" is very similar !!!

    Most of time it is a "programming style" issue, as Basic permits dozens of ways to solve one "operation"
    Some funny contests on this forum have shown code size factor could vary from 1 to .... 10 and even more !!!


    Now ... the ONLY Basic language ( straight following the manual ... ) "weakness" i've found is for interrupts ... that often leads to carefully design the flow of the program.
    But with some "unregistered" tricks ... It can be as quick as Assembler !!!

    And remember "structuring" a program is not a must with Basic ... but it greatly helps to get a readable listing ... once more, it's not a Language but writer question.


    In the End ...

    What elders did is not always stupid ... they just thought another way of us ...

    What about trying to understand their work a bit ???

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2
    Join Date
    Jul 2006
    Posts
    60


    Did you find this post helpful? Yes | No

    Default

    Hello

    It depends what you want doe. For many years i wrote all my programs in PBP Pro and all work fine. For a new project that i need use spi, sd card with FAt32, Color TFT, RTC and Temperatur i have change to Atmega2561 and BAscom and i can only say fantastic. I like PBP Pro but all that i need for the project the Bascom compiler support it and mutch more.
    For little projects i use sometimes PBP Pro

    Regards
    Pedro

  3. #3
    Join Date
    Dec 2008
    Posts
    5


    Did you find this post helpful? Yes | No

    Thumbs up

    Thanks all for answers!

    I think that like say Mr. Nygaard: "Programming is understanding", independent of the used languages. But even language have yours tricks and my intention here is know more about then in pic basic pro.

    I describe the current work for give some ideas and find similars works made with the same language, in last metrics of the entire project, I discover that all project have 11675 lines (excluding commentaries and pre-processor directives). So to implement new methods, I will need know more about the greats techniques using pic basic pro and re-write some pieces of code. In firs view of actual code, I´ve found some unstructural programming method (large usage of goto´s) and wast time in main loop using pause , serin2 and another polling methods. My first intention is re-write these methods in structural way, withou of use of goto´s statements and communications serial polling for two hardware serials.

    In essence, the product is one avl then I need some peaces of code giving support for "application" code.

    Again, thanks a lot ...

Similar Threads

  1. Making a menu
    By chrisshortys in forum mel PIC BASIC Pro
    Replies: 36
    Last Post: - 12th November 2008, 19:54

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