Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:sw:04-unipi-firmware [2020/05/26 06:40] tomhora ↷ Links adapted because of a move operation |
en:sw:04-unipi-firmware [2021/01/14 13:25] avsetula |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Unipi Software ====== | ====== Unipi Software ====== | ||
- | This section includes topics related to Unipi software (repository, FW tools, etc.) | + | This article includes topics related to Unipi software (repository, FW tools, etc.) |
===== APT Repository ==== | ===== APT Repository ==== | ||
Line 32: | Line 32: | ||
The internal firmware is NOT automatically flashed to the latest version installed using apt. This has to be done manually. | The internal firmware is NOT automatically flashed to the latest version installed using apt. This has to be done manually. | ||
- | === Upgrading firmware in Neuron/Axon family PLC controllers === | + | === Upgrading firmware in Patron/Neuron/Axon family PLC controllers === |
The firmware can be manually upgraded or checked using the fwspi tool which resides in /opt/unipi-bin/ (newly in /opt/unipi/tools/). | The firmware can be manually upgraded or checked using the fwspi tool which resides in /opt/unipi-bin/ (newly in /opt/unipi/tools/). | ||
- | To check the firmware on the first group of IOs: | + | To check the firmware on the first section of IOs: |
<code> | <code> | ||
/opt/unipi/tools/fwspi -i 0 | /opt/unipi/tools/fwspi -i 0 | ||
Line 41: | Line 41: | ||
<WRAP center round info 60%> | <WRAP center round info 60%> | ||
- | To check the FW of other IO groups run <code>/opt/unipi/tools/fwspi -i 1</code> alternatively <code>/opt/unipi/tools/fwspi -i 2</code>. | + | To check the FW of other IO sections run <code>/opt/unipi/tools/fwspi -i 1</code> alternatively <code>/opt/unipi/tools/fwspi -i 2</code>. |
</WRAP> | </WRAP> | ||
<WRAP center round info 60%> | <WRAP center round info 60%> | ||
- | Firmware upgrade can be done automatically on all groups available using command <code>/opt/unipi/tools/fwspi -v --auto</code> | + | Firmware upgrade can be done automatically on all sections available using command <code>/opt/unipi/tools/fwspi -v --auto</code> |
</WRAP> | </WRAP> | ||
Line 79: | Line 79: | ||
<WRAP center round info 60%> | <WRAP center round info 60%> | ||
- | The configuration of the group can be erased to the default state. This is done during the firmware upgrade by calling the fwspi utility also with -R parameter. E.g. /opt/unipi/tools/fwspi -i 0 -PR | + | The configuration of the section can be erased to the default state. This is done during the firmware upgrade by calling the fwspi utility also with -R parameter. E.g. /opt/unipi/tools/fwspi -i 0 -PR |
</WRAP> | </WRAP> | ||
Line 91: | Line 91: | ||
<WRAP center round info 80%> | <WRAP center round info 80%> | ||
- | The -p (path) parameter must be set according to the used serial for the extension - see the [[en:hw:01-axon:portmap|]] or [[en:hw:02-neuron:portmap|]]to find proper serial port within your unit. For example, if extension is connected to //RS485-1/RS485-1.1//: <code>/opt/unipi/tools/fwserial -p /dev/ttyNS0 -P </code>. | + | The -p (path) parameter must be set according to the used serial for the extension - see the [[en:hw:007-patron:portmap|]], [[en:hw:02-neuron:portmap|]] or [[en:hw:01-axon:portmap|]] to find proper serial port within your unit. For example, if extension is connected to //RS485-1/RS485-1.1//: <code>/opt/unipi/tools/fwserial -p /dev/ttyNS0 -P </code>. |
Note that the fwserial assumes that extension‘s Modbus address, baud rate and parity are in the factory-default state, ie **19200 baud 8N1 with address 15**. | Note that the fwserial assumes that extension‘s Modbus address, baud rate and parity are in the factory-default state, ie **19200 baud 8N1 with address 15**. | ||
</WRAP> | </WRAP> |