Menu

linux mint gcb

2019-10-29
2019-11-14
1 2 3 > >> (Page 1 of 3)
  • stan cartwright

    stan cartwright - 2019-10-29

    Gcb under wine linux mint cinnammon 19.2 64 bit.
    When I open the gcb ide,under programmer preferense I get the screen shown.
    I changed the first programmer to nano but no com port option?
    It says it's flashed hex but does not.

     
  • mkstevo

    mkstevo - 2019-10-29

    Do you have your programmer connected to a real, physical, nine pin serial port? WINE doesn't support USB devices.

    There are (reportedly) ways of making a USB serial device available to WINE, but I never managed to do so when using GCB (nor any other programming environment if it comes to it) in WINE on my iMac. As my experiences shared on this forum say, I always used the stand alone MicroChip programming tool (called IPE) to program the devices, using the .hex file created by SynWrite. I never got the help to work either under WINE.

    As I quite liked the process of having a program for writing (and compiling) code before programming with a another program, this never worried me.

    Although MpLAB IPE is a part of the MpLAB download, it can be installed separately without the need for installing the whole thing.

     
  • stan cartwright

    stan cartwright - 2019-10-29

    I didn't know about wine and usb mkstevo.
    When I first used gcb I used a program called xloader to flash gcb hex file to a uno.
    There's versions for linux and other software that does the same.
    I don't use mplab. I do use pics and when I used picaxe made a rs232 to picaxe lead.
    It would be the same for pics, data and clock? I'll search for linux hex to pic.
    Isn't rs232 a com port ie would it have a number like com 1?
    Thanks for the info. GCB compiles faster under wine than it does using win10 same machine,hd and program.

     
  • mkstevo

    mkstevo - 2019-10-31

    I don't use MpLAB. Hate it. With a passion.

    I do use MpLAB IPE. Totally different, standalone programmer. Has to be downloaded with MpLAB, but can be installed by itself.

    There has to be a tool for programming PICs from Linux. Does AVRDude program PICs?

    PICs require a minimum of three programming connections, PGC (clk) PGD (dat) MCLR (programming voltage) plus 5V and 0V.

    I tend to use the NSDSP programmer for programming all my PICs due to the speed it programs at. Is there a Linux version of the software?

    If your programmer of choice presents itself as a 'virtual' serial port to Linux, you might be able to map that port over to your WINE installation. I never got this to work as I'm hopeless with Linux. As MpLAB IPE (with a PicKit) worked, was free and suited my mindset, I used that. If you are good with Linux you may have better luck?

     
  • Anobium

    Anobium - 2019-10-31

    In a matter of days. PICKitPlus for Linux will be in Alpha. It is simple to use and has the same capabilities as the Windows version.

     
    • mkstevo

      mkstevo - 2019-11-01

      Dare I ask if this could be (re)compiled for macOS?

       
      • Anobium

        Anobium - 2019-11-01

        We are working that. We are currently focused on PICkit AutoWatch. For Windows and Linux. Then.....

         
  • mkstevo

    mkstevo - 2019-10-31

    Oh, and as an afterthought, VirtualBox fully supports USB. Why not run a minimal installation of Windows XP (or Windows 10) in VirtualBox and use PicKITPlus?

    (Or VmWare, Parallels and so on)

     
  • Anobium

    Anobium - 2019-10-31

    Forgot to mention - and, PICKitPlus for Linux support Microchips programmer-on-board and soon.... PK4!

     
  • stan cartwright

    stan cartwright - 2019-10-31

    Will there be a gcb app for linux. no compiling or installing fb?

     
    • Trev

      Trev - 2019-11-01

      As I alluded previously, no one GCB Linux installation is going to work on all possible Linux distributions because of dependancies.

      That said, if users of the relevant Linux distributions care to put in the ongoing effort to produce an installation that works, I'm sure Evan would include it.

      If there are no Linux users willing to do this, then it will not happen.

      While I am not a Linux user, I did manage to successfully compile and install GCB on Ubuntu using the installation script which is currently provided subject to having to find a single missing library dependency as previously mentioned.

      So, even if no Linux users pop up to undertake the necessary ongoing work to create a binary installation for the various Linux distributions, GCB can still be compiled and installed successfully using the provided script which Bernd maintains.

       
  • Anobium

    Anobium - 2019-11-01

    and, this is not that hard. It just takes time.

    I use continuous integration software. The software enables me to produce 6 variants of GCB installers and distributions. I use a robust configuration management tool that the integration software gets the 'Gold' GCB from (an SVN rep).

    I publish the Gold configuration to key members of our community, to support diaster recovery or my untimely death. Publishing to a developer that wants to create all the distros would an easy operation.

    Linux distros would simply pull from the Gold SVN rep.

    So, creating Linux builds is not that hard. With the same integration software someone can build the distro packages and load into the relevant app stores.

    I would be concerned regarding the quality and support. But, with the right of commitment these risks can be minimised.

     
    • stan cartwright

      stan cartwright - 2019-11-01

      I tried the linux gcb installion guide but it said no fb folder although I followed the instructions and copy-pasted everything as suggested to avoid mistakes.
      Although there are many linux distros, the download options for many programs are just debian or ubuntu 32 or 64 bit.

       
  • stan cartwright

    stan cartwright - 2019-11-01

    The guide is good but I had to play around to get freebasic installed.
    All I did was change the fb 32 bit ref to 64bit and followed instructions.
    Has it loaded so I can try compiling gcb?

     

    Last edit: stan cartwright 2019-11-01
  • stan cartwright

    stan cartwright - 2019-11-01

    It seems fb has compiled gcb ?? Now what. I got geany installed. How can I test linux gcb on avr? Do I get averdude?
    I seem to have got somewhere using my full paths not ones suggested.
    If it works I'll write a guide and start again explaining everything.

     
    • Trev

      Trev - 2019-11-02

      Try compiling a .gcb file on the command line eg
      $ gcbasic /K:A /A:GCASM test.gcb
      If you haven't setup your path to gcbasic, you will need to use the fill path in front of gcbasic or change to the directory in which gcbasic is installed and prefix gcbasic with ./ so ./gcbasic ...

       
  • stan cartwright

    stan cartwright - 2019-11-02

    Thank you for replying @Trev.
    As a novice I'm confused.
    I must have built freebasic because it compiled gcb source but...
    Where is built version of freebasic? I will need to use from gui.
    No fbide like win so geany or even a text editor and save as .bas and use command line.
    Where is compiled GCB ?
    I want to move the compiled GCB to it's own folder and clear downloads but it must be in downloads somewhere
    First screen shot is downloads.After compilation second screen with another gcb folder.
    Third screen that gcb file opened.
    gcbasic /K:A /A:GCASM test.gcb-----command not found.

     

    Last edit: stan cartwright 2019-11-02
  • stan cartwright

    stan cartwright - 2019-11-02

    Is this the gcb start?

     
  • stan cartwright

    stan cartwright - 2019-11-02

    When I said mint is like windows, it really is. I can go to file manager and create new folders,copy paste, even left click a file and shift left click another and the files inbetween highlight and right click brings a copy,open,open with ,delete and other stuff just like windows.
    I can get away with not using terminal a lot.
    I saw a review of zorinos which is supposed to be like using win but by default installs wine and loads of stuff I might not need.

    I thank Trev,Bed,mkstevo and anobium for help installing gcb on linux mint
    Special thanks to Bed for http://gcbasic.sourceforge.net/Typesetter/index.php/Install-Great-Cow-BASIC-for-Linux
    I would not have got this far without it...... which is not very far but a big step for me.

    I opened geany and it looks complicated to make work with gcb...if I have a working gcb.
    Can I use the same gcb syn.exe ide in linux? ie is it installed with gcb?

    I can not ask about installing gcb on linux forums. Imagine the replies.
    So you are stuck with me asking questions specific to gcb linux here. sorry guys :)

    Being a novice I ask, could @Bed's installation guide be made a script instead of copy/pasting/enter pass word/enter each instruction?

    It is the best guide I've found for a novice but I need a bit more explanation of getting gcb to work like win version...NO mplab but pickit and pickitplus, avr usb programming working.
    I am DETERMINED to get it working!.....and learn new stuff...because I have to.
    Bring back win 7!

     

    Last edit: stan cartwright 2019-11-02
  • stan cartwright

    stan cartwright - 2019-11-02

    I have geany running and opened a win gcb file.
    How is this sent to gcb from geany to make a hex file or even flash it.?
    I've searched a bit.

     
  • stan cartwright

    stan cartwright - 2019-11-03

    This geany build screen. Is this where I put paths to gcb?

     

    Last edit: stan cartwright 2019-11-03
    • mkstevo

      mkstevo - 2019-11-04

      That's where I put mine.

      And here is a screen shot...

       
1 2 3 > >> (Page 1 of 3)

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.