Posts by Schuker

    My ffsdisk total disk space gets smaller, after my application crashed.

    I did a "dir /s/a" after an complete installation.

    1. Result: Total Files Listed:
    2. 97 File(s) 14.543.254 bytes.
    3. 21 Dir(s) 48.269.312 bytes free

    After my crash, I did the same again.

    1. Result: Total Files Listed:
    2. 97 File(s) 14.603.177 bytes.
    3. 21 Dir(s) 30.715.904 bytes free

    As we can see, the number of file on ffsdisk is still the same, the size of all file is similar.

    Why does the free size gets reduced?

    I try to delete some file on the NetDCU-A5 via ftp command.

    After I did the reboot, sometimes the file reappears.

    Sometime, when I copy a file to the NetDCU-A5, the command is successful. Refreshing the file list show the file with the expected length.

    When I reboot the device, the length is zeo "0".

    How can this happen?

    There is enough time after the command was executed and the reboot.

    I can see the similar behavior, if I start the explorer.

    Set the date/time, daylight saving and timezone (GMT +1:00 Berlin).

    Via telnet I save that in the registry. With an application I fetch the local and system time.

    I expect an offset of 2h between local and system time, as we are now in daylight saving time.

    What is the reason, that the system does not recognize the daylight saving time?

    We have some devices, where the return value is as expected "2"

    This is really strange.

    What could be the reason?

    Could there be something in the registry which is different?

    I have already checked the time zone setting in the registry for "Central Europe Standard Time". On all devices the same.



    memset(&tzLocal, 0, sizeof(tzLocal));

    int ret = GetTimeZoneInformation(&tzLocal);







    printf("ret: %d, '%d', std: '%s' '%d , day: '%s' '%d'"),








    ret: 1, '-60', std: 'Central Europe Standard Time' '0 , day: 'Central Europe Daylight Time' '-60'

    Why is the return value "ret" 1. We have now daylight saving time, so I would expect return value 2

    When I call GetTimeZoneInformation(), I get the return value 1, which means standard time. But we are now (24.08.2021) in daylight saving time.

    The standard name and the daylight name are correct.

    What could be the reason?

    I have configured CET "Central Europe Time". The date / time is valid.

    I have a new PC (Windows 10) and try to connect to a NetDCU A5 using the remote registry editor form VS 2008, which fails to connect.

    I have installed VS 2008 with SP1 and the FSVYBRID_WCE6 SDK.

    On my old PC (Windows 7) it is still working.

    What could be the reason?

    I have copied the ndcucfg.exe into ffsdisk on my NetDCU8.

    When I call "ndcucfg" on ffsdisk, I get the error "cannot execute \ffsdisk\ndcucfg.exe"

    I still have an old NetDCU8 with Kernel V 1.26.

    I want to change the timezone via registry.

    After I have written the content of my file to the registry, I can not see the changed values.
    The value timeZoneInformation is missing some characters!

    \ffsdisk> ndcucfg -B\ffsdisk\tz.txt

    NetDCU Config Utility Ready
    Version: 031
    Type help for commands

    !>reg open
    !>reg del key \Time
    !>reg create key \Time
    !>reg open \Time
    !>reg set value TimeZoneInformation
    hex "c4,ff,ff,ff,57,00,2e,00,20,00,45,00,75,00,72,00,6f,00,70,00,65,00,20,00,53,00,74,00,61,00,6e,00,64,00,61,00,72,00,64,00,20,00,54,00,69,00,6d,00,65,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0a,00,00,00,05,00,03,00,00,00,00,00,00,00,00,00,0
    !>reg save
    !>\ffsdisk> ndcucfg

    NetDCU Config Utility Ready
    Version: 031
    Type help for commands

    !>reg open \Time
    !>reg enum
    OK -> reg enum key \
    OK -> reg enum value \
    00 "TimeZoneInformation"=hex:c4,ff,ff,ff,57,00,2e,00,20,00,45,00,75,00,72,00,6f,00,70,00,65,00,20,00,53,00,74,00,61,00,6e,00,64,00,61,00,72,00,64,00,20,00,54,00,69,00,6d,00,65,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0a,00,00,00,05,00,03,00,00,00,00,00,00,00,00,00,00,00,57,0
    0,2e,00,20,00,45,00,75,00,72,00 \

    I do not have any board available and need to tell my customer, what value he must change.
    He can not reset the board to delivery state

    We have a problem with the digital io driver.
    We used the PicoMod6 and switch to the PicoMod7 and now our Digital OUT ist not working any more.

    Do I have to make speciall changes in the registry?
    Has the driver name changed?

    We use the following registry entries:
    reg open \Drivers\Builtin\Digitalio
    reg set value UseAsIOA dword 8192
    reg set value IRQCfg1A dword 8192
    reg set value IRQCfg0A dword 0
    reg set value IRQCfg2A dword 0
    reg set value DataInitA dword 0
    reg set value DataDirA dword 0
    reg set value Prefix string "DIO"
    reg set value Dll string "PM6_DIGIO.dll"
    reg set value Order dword 151
    reg set value Index dword 1
    reg set value Ioctl dword 4
    reg set value Port dword 1
    reg set value FriendlyName string "Digital I/O driver for PicoMOD6"
    reg save