Menu

Any support for 16bit PIC24 family support in the near future?

ikonsgr74
2017-09-13
2017-09-15
  • ikonsgr74

    ikonsgr74 - 2017-09-13

    Hi,

    I just wanted to know if there is any chance that cow basic will support 16bit PIC24 family of mcu's in the future.
    Although i'm pretty new in pic programming ,i've made quite a few pic projects, and i really loved using cow basic. So, as there are literally thousands of usb devices out there, and only pic24 and above provides OTG function for usb hosting, it would be really great if we could host them using cow basic as pic programming language! ;-)

     

    Last edit: ikonsgr74 2017-09-15
  • stan cartwright

    stan cartwright - 2017-09-15

    many !8f pics have usb.

     
    • ikonsgr74

      ikonsgr74 - 2017-09-19

      Well, what i'm really interested for, is not just "usb support" but rather "usb hosting support", e.g. the ability for a pic to act as a host to a usb device. This functionality is provided through the OTG On The Go technology ( https://en.wikipedia.org/wiki/USB_On-The-Go ) and as far as i know, only 16bit family of PIC24XXXX and above offer this functionality.

       
  • joe rocci

    joe rocci - 2017-09-15

    To my knowledge, there is no USB support at all in GCB. If you want to use USB serial, you need a board with a USB-serial converter chip on it. Many cheap Arduino (AVR) boards have this, which is why I prefer to develop on those hardware platforms using GCB as the IDE/Compiler.

     

    Last edit: joe rocci 2017-09-15
    • Anobium

      Anobium - 2017-09-15

      We do have USB support in Alpha release. We will have PIC and AVR direct support for USB in the next release.

      I have just moved a developer discussion to the 'Open Discussion' forum so you can see the status and next set of capabilities being worked on.

       
      • ikonsgr74

        ikonsgr74 - 2017-09-19

        Wow, that's amazing! :-)
        Could you be a bit more specific about usb support?
        What chips will be first supported?
        And will this include any OnTheGo OTG functionality, in order to use GCB to program a pic for usb device hosting?

         

        Last edit: ikonsgr74 2017-09-19
    • ikonsgr74

      ikonsgr74 - 2017-09-19
       

      Last edit: ikonsgr74 2017-09-19
  • Hugh Considine

    Hugh Considine - 2017-09-15

    Support for 24F chips would be nice, but it would also be a very large job. There would be hundreds of lines, maybe even over a thousand lines of new or changed code needed. This would take up time that I think would be better spent improving the compiler for the existing chips supported.

    The same applies to adding support for pretty much any new chip family. I started adding AVR support in early 2007, and it wasn't until 2009 that the first AVR was programmed to flash an LED with GCBASIC. Obviously there was a lot of other work done in that time period, and with intensive effort it would take less than 2 years to add support for a new chip family, but then there is the challenge of testing and debugging the new code.

    I can't say that GCBASIC will always be limited to 8-bit PIC and AVR, but it will be limited to those in the near future.

    Better news on USB support though, that is a lot less work and should be ready within a few months.

     
    • joe rocci

      joe rocci - 2017-09-15

      Great news on USB! The final wish-list item for me would be floating point. Is it in the cards?

      From: Hugh Considine
      Sent: Friday, September 15, 2017 9:33 AM
      To: [gcbasic:discussion]
      Subject: [gcbasic:discussion] Any support for 16bit PIC24 family support in the near future?

      Support for 24F chips would be nice, but it would also be a very large job. There would be hundreds of lines, maybe even over a thousand lines of new or changed code needed. This would take up time that I think would be better spent improving the compiler for the existing chips supported.

      The same applies to adding support for pretty much any new chip family. I started adding AVR support in early 2007, and it wasn't until 2009 that the first AVR was programmed to flash an LED with GCBASIC. Obviously there was a lot of other work done in that time period, and with intensive effort it would take less than 2 years to add support for a new chip family, but then there is the challenge of testing and debugging the new code.

      I can't say that GCBASIC will always be limited to 8-bit PIC and AVR, but it will be limited to those in the near future.

      Better news on USB support though, that is a lot less work and should be ready within a few months.


      Any support for 16bit PIC24 family support in the near future?


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gcbasic/discussion/579125/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
    • Chuck Hellebuyck

      Hugh, what you have created is absolutely amazing. All the work Evan has done with help from many others has made Great Cow BASIC an incredible compiler. You brought the Microchip and Atmel parts together before Microchip did.
      People will always ask for what it doesn't have and that just drives it to be better but I just wanted to compliment you and the rest of the team for such an outstanding product. And to make it free to use both at home and commercially plus completely open source continues to amaze me. Arduino gets so much credit for being easy to use but I contend GCB is easier to use and far more open source than Arduino. Thanks so much for what you have given us.

       
  • bed

    bed - 2017-09-15

    Chuck, too sad not having a 1+ Button for your Post. I second that, even I'm a newbie for GCBasic

     
  • stan cartwright

    stan cartwright - 2017-09-16

    Joe rocci. When I first started using GCB it was intended for pics but I found my dos programmer boards no longer worked so I used an arduino uno until I built a pic icp board. It worked once I set the usb com port and I could serprint to the gcb terminal straight away. I need a serial to usb and hassle to use the gcb terminal with pic.
    To me usb is plug n play, or should be but I can't see it on a 8 bit micro in the same way as win or linux.
    I thought commercial devices that used usb had to have a "licence id" or summat that cost lots. Dunno really. Think usb webcam.
    I didn't realise avr had been around since 2009. Was there discussion as whether to support it? :)
    I hope any gcb related youtube vids I post increase awareness of gcb as I'd never heard of it until October '16. I used picaxe for 3 months before gcb and users on their forum were pleased to hear of gcb and some of them were arduino users to, also amazed you could use basic to program a uno as fast as using c++.
    Again, great work the dev team are doing. I hope it becomes more well known.
    What is the great cow name logo about? Did someone like atom heart mother?

     
  • bed

    bed - 2017-09-24

    Placed a link in the upcoming FAQ for this, thought it will be ask from time to time

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.