Logic Machine Forum
Problem with firmware update LM 2020.07 RC3 - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: Problem with firmware update LM 2020.07 RC3 (/showthread.php?tid=2962)



Problem with firmware update LM 2020.07 RC3 - Josema - 07.11.2020

Good morning:
I just updated the firmware of my LM5p-DW1 and now the Dali ignitions do not work in the LM, I have several Scripts for the Dali configuration of the LM and none of the ignitions work, not even forcing them from Objects, can someone help me please ?
Thank you


In the forum I just read that:
- If using user.dali library you need to delete the current library and reboot your device. This way a new library version will be installed. Otherwise dalicmd function will not work.
How do I remove the current library so that a new version of the library is installed?
Thank you


When I scan, no Gatewey Dali appears and there should be two ...


RE: Problem with firmware update LM 2020.07 RC3 - Daniel - 07.11.2020

Are you sure you selected correct firmware? You can install dali package manually https://dl.openrb.com/lm-20-imx6/pkg/genohm-scada-dali_20200722_imx6.ipk and make sure to clear browser cache.


RE: Problem with firmware update LM 2020.07 RC3 - Josema - 07.11.2020

(07.11.2020, 10:11)Daniel. Wrote: Are you sure you selected correct firmware? You can install dali package manually https://dl.openrb.com/lm-20-imx6/pkg/genohm-scada-dali_20200722_imx6.ipk and make sure to clear browser cache.

I think so, is what I read in the forum




Excuse the ignorance, how can I install dali package manually?
Is this that you send me a file or a link?

After looking in the manual, where are the packages, the Dali package existed, even so I have added it again, even so the two Dali gateways do not appear in my LM, I am very lost.
Thanks for everything



 

(07.11.2020, 10:26)Josema Wrote:
(07.11.2020, 10:11)Daniel. Wrote: Are you sure you selected correct firmware? You can install dali package manually https://dl.openrb.com/lm-20-imx6/pkg/genohm-scada-dali_20200722_imx6.ipk and make sure to clear browser cache.

I think so, is what I read in the forum




Excuse the ignorance, how can I install dali package manually?
Is this that you send me a file or a link?

After looking in the manual, where are the packages, the Dali package existed, even so I have added it again, even so the two Dali gateways do not appear in my LM, I am very lost.
Thanks for everything


 



RE: Problem with firmware update LM 2020.07 RC3 - admin - 09.11.2020

Run this once and post what you get in Logs tab. It will read the extension type that is connected to your LM.
Code:
m1, m2, m3 = require('i2c').read(0, 0x50, 0x70, 3)
if m1 and m2 and m3 then
  readid = string.char(m1, m2, m3)
  log(readid)
else
  log('id read failed')
end



RE: Problem with firmware update LM 2020.07 RC3 - Josema - 10.11.2020

(09.11.2020, 08:35)admin Wrote: Run this once and post what you get in Logs tab. It will read the extension type that is connected to your LM.
Code:
m1, m2, m3 = require('i2c').read(0, 0x50, 0x70, 3)
if m1 and m2 and m3 then
  readid = string.char(m1, m2, m3)
  log(readid)
else
  log('id read failed')
end
 
Good morning:
Thanks for the answer, this is the log that I get when executing the Script




RE: Problem with firmware update LM 2020.07 RC3 - admin - 10.11.2020

Looks like the extension is missing ID.
Try writing it via a script once and then reboot your LM and see if Dali gateways appear.
Code:
id = 'dw2' -- dw2 is a newer version of dw1
b1, b2, b3 = id:byte(1, 3)
res = require('i2c').write(0, 0x50, 0x70, b1, b2, b3)



RE: Problem with firmware update LM 2020.07 RC3 - DGrandes - 06.04.2022

Hi,

I have an LM "LogicMachine5 Power DW1" with 2017 firmware and I'm trying to update last firmware but doesn´t update.

Is "LM5 Lite + Ext (4 or 6 DIN units)" right firmware?

Thanks


RE: Problem with firmware update LM 2020.07 RC3 - Daniel - 06.04.2022

Drop what you have in System logs.


RE: Problem with firmware update LM 2020.07 RC3 - DGrandes - 06.04.2022

(06.04.2022, 11:49)Daniel Wrote: Drop what you have in System logs.

Code:
Apr 6 13:02:05 LogicMachine kern.info kernel: [ 8596.226870] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Apr 6 13:01:42 LogicMachine kern.info kernel: [ 8573.371484] fec 2188000.ethernet eth0: Link is Down
Apr 6 10:39:14 LogicMachine kern.notice kernel: [ 25.536864] random: nonblocking pool is initialized
Apr 6 10:30:59 LogicMachine kern.info kernel: [ 9.646049] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
Apr 6 10:30:53 LogicMachine user.info sysinit: /lib/genohm-scada/storage/current.db: OK
Apr 6 10:30:53 LogicMachine authpriv.info dropbear[917]: Running in background
Apr 6 10:30:52 LogicMachine kern.info kernel: [ 2.741289] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: nodelalloc
Apr 6 10:30:52 LogicMachine user.info sysinit: /dev/mmcblk0p3: clean, 786/958464 files, 105851/3830528 blocks
Apr 6 10:30:52 LogicMachine user.info sysinit: e2fsck 1.43.4 (31-Jan-2017)
Apr 6 10:30:52 LogicMachine kern.info kernel: [ 2.568776] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 1.492984] fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.900595] EXT4-fs (mmcblk0p2): re-mounted. Opts: nodelalloc
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.464603] Freeing unused kernel memory: 160K (c03ba000 - c03e2000)
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.464036] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.463936] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.377818] mmcblk0: p1 p2 p3
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.376252] mmcblk0: mmc0:59b4 USDU1 14.9 GiB
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.375303] mmc0: new high speed SDHC card at address 59b4
Apr 6 10:30:51 LogicMachine kern.warn kernel: [ 0.369220] mmc0: host does not support reading read-only switch, assuming write-enable
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.352043] Waiting for root device /dev/mmcblk0p2...
Apr 6 10:30:51 LogicMachine kern.err kernel: [ 0.351970] Warning: unable to open an initial console.
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.351556] vdd3p0: disabling
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.350813] rtc-pcf85263a 0-0051: setting system clock to 2022-04-06 10:30:50 UTC (1649241050)
Apr 6 10:30:51 LogicMachine kern.err kernel: [ 0.347326] cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.345958] can: raw protocol (rev 20120528)
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.345906] NET: Registered protocol family 29
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.345555] can: controller area network core (rev 20120528 abi 9)
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.345490] NET: Registered protocol family 17
Apr 6 10:30:51 LogicMachine kern.warn kernel: [ 0.329679] 2198000.adc supply vref not found, using dummy regulator
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.313668] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.277028] sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.276997] sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.276808] /soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.275040] sdhci-pltfm: SDHCI platform and OF driver helper
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.275023] sdhci: Copyright(c) Pierre Ossman
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.275002] sdhci: Secure Digital Host Controller Interface driver
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.274471] usbcore: registered new interface driver btusb
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.273721] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.272045] i2c /dev entries driver
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.271815] rtc-pcf85263a 0-0051: rtc core: registered rtc-pcf85263a as rtc0
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.267519] hub 2-0:1.0: 1 port detected
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.267413] hub 2-0:1.0: USB hub found
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.266106] usb usb2: SerialNumber: ci_hdrc.1
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.266084] usb usb2: Manufacturer: Linux 4.4.73 ehci_hcd
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.266059] usb usb2: Product: EHCI Host Controller
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.266034] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.265998] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.265638] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.256368] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
Apr 6 10:30:51 LogicMachine kern.info kernel: [ 0.256248] ci_hdrc ci_hdrc.1: EHCI Host Controller



RE: Problem with firmware update LM 2020.07 RC3 - Daniel - 06.04.2022

What is the CPU? System Status


RE: Problem with firmware update LM 2020.07 RC3 - DGrandes - 07.04.2022

(06.04.2022, 14:32)Daniel Wrote: What is the CPU? System Status

   
   
   


RE: Problem with firmware update LM 2020.07 RC3 - Daniel - 07.04.2022

Ok then if you used fw for imx6 then I think the card is in read only mode. Try changing something like add object, sync project and reboot. If the object is missing then this is the card issue.


RE: Problem with firmware update LM 2020.07 RC3 - DGrandes - 11.04.2022

(07.04.2022, 07:31)Daniel Wrote: Ok then if you used fw for imx6 then I think the card is in read only mode. Try changing something like add object, sync project and reboot. If the object is missing then this is the card issue.

Hi,

We have updated with "LM 4M" firmware but the two dali channels have disappeared.

Thanks


RE: Problem with firmware update LM 2020.07 RC3 - admin - 11.04.2022

You've probably installed LM5 M4. You need this firmware: https://dl.openrb.com/lm-21-imx6/lm5m3ex-20211215.img