Project compiling error in Simulation mode

termind
2020-11-17
2023-09-08
  • termind - 2020-11-17

    Hi,
    I use Codesys 3.5.16.10 My project include Raspberry Pi SL SPI master for MCP3008. It work with Raspberry connected. But in Simulation mode compiler returns errors:
    [ERROR] raspberry pi peripherals, 3.5.13.0 (3s - smart software solutions gmbh): transferExt [spiMaster]: C0032: Cannot convert type 'POINTER TO spi_ioc_transfer' to type 'UDINT'
    [ERROR] raspberry pi peripherals, 3.5.13.0 (3s - smart software solutions gmbh): init [spiMaster]: C0032: Cannot convert type 'POINTER TO DINT' to type 'UDINT'

     
  • eschwellinger

    eschwellinger - 2020-11-17

    Hi,
    you need to report this in the CODESYS store -> my question -> bug report
    Seems that the simulation dooes not work with raspberry pi peripherals, 3.5.13.0

     
  • termind - 2020-11-18

    Well,
    Their answer was:
    "Dear,
    you can also restart the Pi and used again for 2h in demo.

    Mit freundlichen Grüßen / Best regards"

    No bad at all :)

     
  • nyee - 2023-09-07

    Hi,
    I have a similar issue - we have been using codesys V3.5.16.20
    Do you have any suggestions or confirmation that this will work with a different version of codesys and Pi extension

     
  • eschwellinger

    eschwellinger - 2023-09-08

    I fear you need to update if you need a solution for this.

     

    Last edit: eschwellinger 2023-09-08

Log in to post a comment.