PBP for dsPIC 16bit??


Closed Thread
Results 1 to 34 of 34

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: PBP for dsPIC 16bit??

    Quote Originally Posted by cncmachineguy View Post
    That is the "file format" same as pdf, doc,pbp,xls,dwg and so on.

    But the content will not be correct. At best you will get an eight bit program to run on a 16 or 32 bit processor. This will not be too good. For instance, when we declare a WORD variable, the compiler generates code to make the uP act on the WORD in multiple BYTES. The 16 bit uP would not need the extra overhead of manuiplating the BYTES since it can handle WORDS. But the program would have it anyway since it was compiled for an eight bit uP.
    PBP could very well have a separate compiler switch like it does for longs to switch up to 16 bit compiler, yeah it would probably be a a complete rewrite from the code in an 8 bit compiler but the interface could remain the same and use the same syntax. Look at how similar "C" compilers are for each series. All said I think it would be Do able, however; I think the upgrade price would be steep, I think it would HAVE to be. My thoughts are it would be worth it so as not to need retraining in " C ".
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: PBP for dsPIC 16bit??

    You can start right now with assembler or C... it's free (with some limitations).

    If you already mess with 10,16,18 series, then you'll discover PIC24, DsPIC, PIC32 assembler is far different... not to mention the extra features and architecture.

    Download a datasheet... then oh surprise, you also need to download the family common datasheet for x specific section of the internal peripherals.

    Yes it is a complete rewrite, no it's not simple... and no you don't need to stick to C, there's already Basic compilers available.

    On the long run, you may find it handy to know C.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default Re: PBP for dsPIC 16bit??

    Quote Originally Posted by mister_e View Post
    .....On the long run, you may find it handy to know C.
    If you want to leverage your efforts into commercial/professional activities, then C/C++ is the way to go. It dominates the market at 84% (ASM is the next highest with 5%) with all other languages making up the balance of 11% - BASIC (all dialects, not just PBP) accounts for 1% of total usage.
    Name:  bg475.png
Views: 3699
Size:  23.0 KB
    Why pay for overpriced toys when you can have
    professional grade tools for FREE!!!

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: PBP for dsPIC 16bit??

    It's been said countless time in here, compilers are just tools. You want to have more than one screwdriver in your kit.

    I say, if you can, learn them all

    Keep programming fun, enjoy what you do..life's too short.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Sep 2005
    Location
    France
    Posts
    50


    Did you find this post helpful? Yes | No

    Default Re: PBP for dsPIC 16bit??

    I would like to program PIC24, because they have 4 UART ! Need Them because SERIN(OUT)2 are not good for my apps

    Regards

  6. #6
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default Re: PBP for dsPIC 16bit??

    Quote Originally Posted by harryweb View Post
    I would like to program PIC24, because they have 4 UART ! Need Them because SERIN(OUT)2 are not good for my apps

    Regards
    Sure looks like you are not going to find the solution here any time soon.
    Why pay for overpriced toys when you can have
    professional grade tools for FREE!!!

  7. #7
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default Re: PBP for dsPIC 16bit??

    Quote Originally Posted by harryweb View Post
    I would like to program PIC24, because they have 4 UART ! Need Them because SERIN(OUT)2 are not good for my apps

    Regards
    18F with 4 USART:

    http://www.microchip.com/wwwproducts...ct=PIC18F67J94

    Robert

  8. #8
    Join Date
    Sep 2005
    Location
    France
    Posts
    50


    Did you find this post helpful? Yes | No

    Default Re: PBP for dsPIC 16bit??

    @ Robert,

    The text you select had been written in 2011... not sure that 18F67J94, if exist at this time, was suported by PBP2.60...
    ;-)


    I can see now, that, here in France, electronicians are using more and more ARDUINO, raspberry Pi, beaglebone.... (linux embedded and python prog) May be because of the price and no simple basic compiler for big PIC available. (?)

    Regards

Members who have read this thread : 1

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