Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Update Raspberry with the new CODESYS version

JAPIB
2015-06-04
2015-08-06
  • JAPIB

    JAPIB - 2015-06-04

    Hello,
    I installed CODESYS V3.6 SP6 Patch 3.
    I'm trying to transfer application in my raspberry B.
    It does not work, the runtime version on the Raspberry is too old (I think never have updated since december 2013!).
    This older version also prevents me from seeing "me connect" to transfer file "codesyscontrol_arm_raspberry_V3.5.6.20.deb" with CODESYS to the Raspberry. (as it is explained on the pdf help file).

    I found a solution with the free software "WinSCP". It allows to connect to SSH with raspberry and to transfer file from my PC to the raspberry.
    So I used it to copy file "codesyscontrol_arm_raspberry_V3.5.6.20.deb" from PC to Raspberry.
    I then connects with Putty and run the command "sudo dpkg -i codesyscontrol_arm_raspberry_V3.5.6.20.deb" to install the new version.

    I think this may interest users would be in the same case.

     
  • eschwellinger

    eschwellinger - 2015-06-08

    Hi,
    we will introduce with 3.5SP7 a new PlugIn in CODESYS which will update/install the plc Pi runtime
    to the Raspberry Pi.

    • scan the Pi's which are in your network (it is not needed to have a installed CODESYS runtime on the pi)
    • update / install the runtime to the scanned Pi's

    This should make the whole install/update procedure more userfriendly.
    See the screenshots from this preview.

    To deliver the SD Image included in the CODESYS store download will not be needed anymore,
    you use the raspberry.org original Image then.
    BR
    Edwin

    IMG: ScannPi_in_your_network.jpg

    IMG: UpdatePirutime.jpg

     
  • DDP - 2015-06-09

    when will this be released?

    do you have an FTP site where I can find older versions of the software? I have a library that doesnt like the newest raspberry pi description

     
  • eschwellinger

    eschwellinger - 2015-06-09

    Hi,
    which library does cause this, this library need to be updated.
    You could attach a projectarchive then I will try to show you how to fix this.
    BR
    Edwin

     
  • JAPIB

    JAPIB - 2015-06-10

    Hi Edwin,
    Thank you for the information. This new install/update procedure will be more userfriendly.

     
  • DDP - 2015-06-10

    Edwin Schwellinger hat geschrieben:
    Hi,
    which library does cause this, this library need to be updated.
    You could attach a projectarchive then I will try to show you how to fix this.
    BR
    Edwin

    hmmm even tried online help for project archive... cant find how to do that...
    The sample program Im trying to use is i2c with an arduino, it says the raspberry pi description is not loaded (3.5.4.0) and when I update it to 3.5.6.30, I loose my I2C Arduino UNO IO driver from Gerhard Schillhuber. Also it says it cannot find IODrvArduino but I have IODrvArduinoUNO from the same gentleman.

     
  • eschwellinger

    eschwellinger - 2015-06-10

    Hi,
    see screenshot...
    Project archive is the way to save/restore your project including every library and every devicedescription / visustyle whatever is needed to open the
    project on an other computer and give the possibility to compile it without missing items (libraries/devices...)
    BR
    Edwin

    IMG: Projectarchive.jpg

     
  • DDP - 2015-06-11

    here it is as I received it before any updates.
    hmm file is 4 megs, but Im only allowed to updload 1 meg files.

     
  • embedded - 2015-07-28

    Hi,

    I downloaded CODESYS 3.5 SP7.

    I can't find the window with the possibility to update my plc Pi runtime.

    Please some Help will be usefull

    BR

     
  • eschwellinger

    eschwellinger - 2015-07-28

    Hi,

    sorry you need to wait till the Raspi 3.5SP7 package is available in the CODESYS store.
    This come with the Pi Package.

    BR
    Edwin

     
  • embedded - 2015-07-28

    Hi Edwin,
    Thanks for the information.

     
  • eschwellinger

    eschwellinger - 2015-07-29

    2.2.0.0 Version is available...
    BR
    Edwin

     
  • tonverra - 2015-07-29

    Hi!

    I am trying to update my PI as shown above, it detects the PI, but when I hit update but I get an eternally spinning cursor in Codesys.

    Tried to download a "fresh" install image, but the download only contains the package.

    Not:
    This product consists of:
    - Debian package with CODESYS Control for Raspberry Pi
    - CODESYS Plugin to install and update the package on a Raspberry Pi
    - CODESYS device description files for Raspberry Pi, Raspberry PiFace Digital, Raspberry PiFace Control&Display, Raspberry Pi Camera, several devices/breakouts with IΒ²C (SRF02, Adafruit PWM, MPU6050, MPU9150, AK8975), SPI (MCP3008) or 1-wire (DS18B20) communication interface

    Are there any known issues?

     
  • eschwellinger

    eschwellinger - 2015-07-30

    Hi tonverra,
    thank you for reporting this.
    It seems that the updateprocess works. (If you check the Pi it is updated to 3.5.SP7 after execute the update command)
    But you need to end CODESYS by the TaskManager (it is somehow blocked)
    We are working on an update for this.

    BR
    Edwin

     
  • mindstomp - 2015-07-30

    Same problem. But after I closed CODESYS by the TaskManager, I can't login into Raspberry from CODESYS, device does not respond.

     
  • tonverra - 2015-07-30

    Same here. The pi is running. I can ping but not connect.

     
  • eschwellinger

    eschwellinger - 2015-07-30

    Hello,

    please contact e support@codesys.com e

    BR
    Edwin

     
  • tonverra - 2015-07-30

    I have done so. Thank you.

     
  • swa - 2015-08-03

    Hi! I'm having the same problem, can update both raspbian and EMLID but nowI can't connect. Is there a solution?

    BR
    Simon

     
  • eschwellinger

    eschwellinger - 2015-08-03

    Hi,
    we are working on the solution,
    at the moment you could execute manually
    sudo dpkg -i codesyscontrol_arm_raspberry_V3.5.7.0.deb
    if you Login by ssh.
    After doing this it should work again.

    BR
    Edwin

     
  • swa - 2015-08-03

    For me it also worked to reboot the PC, then I can scan and find the Pi again.

    BR
    SΓ­mon

     
  • LukaszBien - 2015-08-03

    I had very similar problem, and in my case windows 10 firewall was causing it. When I turned off firewall my RPI was updated correctly and Codesys did not freeze while updating.

     
  • rmalle - 2015-08-06

    I've succesfully installed CODESYS V3.5 SP7, including the CODESYS Control for Raspberry PI Version:2.2.0.1 package and am able to find the "Update Raspberry Pi" menu via "Tools" menu. The problem is that i do not have any .deb packages, where can i find these? It is not located anymore at the download page, only the .package file is available here. Or am i looking at the wrong place?

    Thanks,

     
  • swa - 2015-08-06

    rmalle hat geschrieben:
    "Update Raspberry Pi" menu via "Tools" menu.

    This is the only thing you need, if you locate your pi you can just update it. If you don't have the runtime it will install it.

    BR
    Simon

     
  • rmalle - 2015-08-06

    Thank you for your reply. Unfortunately i can't get it to work. I can't find any package and i also can't find the Raspberry Pi (which is connected to the same network, ping is no problem from both sides). Some screenshots in attachment.

    Any advice on how to solve this?

    IMG: screenshot.png

     

Log in to post a comment.