-
Notifications
You must be signed in to change notification settings - Fork 14
Description
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']