Skip to content

Transfer PLC failed #3

@Felipeasg

Description

@Felipeasg

How is the correct way to transfer application to the PLC?

After I have download the YAPLC/IDE beremiz matiec in the same folder, put the src of RTE in the home directory and set de PATH with arm-gcc I can build the project in the beremiz using the target - yaplc.

I also built and tested the stm32flash and put it in the same folder of the beremiz ide.

Therefore I can't deploy the application in the plc.

The procedure that I followed after build was:

  • Click in the Connect to the target PLC ( This open an connection with PYRO)
  • Click in Transfer PLC

but I got this error:

Transfer failed
PLCobject : Traceback (most recent call last):
File "/home/felipe/tests/beremiz/runtime/PLCObject.py", line 433, in NewPLC
'wb').write(data)
TypeError: argument 1 must be string or buffer, not list

I opened the file PLCObject.py in the line 433 and print the argument 1 that is:

['/home/felipe/nucleron/IDE/yaplctargets/../../stm32flash/stm32flash', '-w', u'/home/felipe/yaplcide-projects/test1/build/test1.elf.hex', '-v', '-g', '0x0', '-S', '0x08008000', '%(serial_port)s']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions