CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

Application corrupt on power fail
https://forum.codesys.com/viewtopic.php?f=21&t=7232
Page 1 of 1

Author:  praveena [ Fri Sep 23, 2016 10:59 am ]
Post subject:  Application corrupt on power fail

Dear Sir,
The following are our queries.
1. On powerOFF and power ON of our target device , we find that in the Codesys binary messages on startup show ( in the serial console as enclosed)that the application is not found.
We have tried the following setting in the CODESYSControl.cfg .

[CmpApp]
#Bootproject.RetainMismatch.Init=1
RetainType.Applications=OnPowerfail
#Application.FirstLoadInitRetains=1
Bootproject.CreateOnDownload=1
Bootproject.StoreOnlyOnDownload=1
Application.1=PROTO.app
Application.2=PROTO



[CmpRetain]
#Retain.SRAM.Size=0x1000
#Retain.SRAM.Address=0xFA3C57736


But the problem remains. In our case the binary is available on the SDCard. So on power up we require the boot project to remain available( without being corrupted in the SDCard)


2. Once Codesys binary finds that the application is unavailable /Corrupt , can we trap that error in any QNX application.


-praveena

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/