NetDCUA5 stopped working after update

  • Hello,


    I've updated my device to the latest eboot (EBOOTVYB_09) and latest WEC2013 OS (XIPVYB_C8E_140721). This worked fine, but when I tried to go back to a windows ce 6.0 image I got errors. After trying a few times the device stopped working al together. When I power on the device it does not send any output to DCUTerm.


    Is there something I can try to determine what is wrong?



    Kind regards,
    Menno

  • Hello,


    also you can not step into NBoot ( s (to serial debug line)+power)?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hm, seems that NBoot is not available anymore. In general this i a RMA. But i will check if we can provide you a tool for install NBoot via USB. I answer
    asp.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello, attached a few files for install NBOOT on an "empty" NetDCUA5.
    We will rework this tool and documentation and put it in our download area asp. In the meanwhile this may serve as a template. Please read pdf and have a look to the picutre which shows you how to put the board in "download" modus.

    Files

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hi,


    Thank you for the tool and documentation. I was able to install NBoot with this. Unfortunately I am now stuck at the next step. I tried to upload the latest WEC2013 OS (XIPVYB_C8E_140721) and it stopped with some errors.


    This is the output from DCUTerm:
    #########################################################1 files tranfered
    Create partition for boot section ...
    Success
    Create partition for kernel section ...
    Success
    Create partition for FFSDISK section ...
    Success
    WriteRegionsToNandFlash
    INFO: [0] Found chain information (pChainInfo=0x80349F18 Extensions=0x3).
    [Dump XIP Chain Summary]
    - pvAddr: 0x80500000
    - dwMaxLength : 16384
    - usOrder : 0x0
    - usFlags : 0x0
    - reserved : 0x0
    Writing single region/multi-region update, dwBINFSPartLength: 45435284
    INFO: BP_OpenPartition: dwBINFSPartLength =0x2B54994).
    dwRegionStart=0x80100000).
    dwRegionLength=0x2B54994).
    INFO: BP_SetDataPointer: Set data pointer in BINFS partition (offset=0x0).
    INFO: WriteRegionsToNandFlash: Write region to BINFS partition (start=0x80100000, length=0x2B54994).
    Writing image to flash complete.
    AUTO-BOOT enabled
    All files flashed
    OEMReadData: 0x17
    Leaving DownloadImage()
    dwImageStart=0x80100000, dwImageLength=0x2b54994, dwLaunchAddr=0x8010bc19
    OEMAfterDownload(dwAction=0x0)
    ROMHDR at Address 80100044h
    INFO: OEMLaunch: Jumping to Physical Address 0x8010BC19h (Virtual Address 0x8010BC19h)...


    Jumping to Kernel @ 0x8010BC19
    Windows CE Kernel for ARM (Thumb Enabled)
    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb


    NetDCUA5 V1.08 - Firmware Init
    Copyright (c) 2013 F&S Elektronik Systeme GmbH
    Build: Jul 21 2014/09:31:53
    FMD: NAND ID:0x2cf18095 --> MICRON: 1GBit (128MB)
    FMD: Block 0 to 14 are locked for boot loader
    OAL: Enable SCU
    WARNING: SNVS was reset.
    I2C: Version 2.5
    INFO: No external RTC found!.
    OAL: RestartReason=Power On Reset
    FMD: NAND ID:0x2cf18095 --> MICRON: 1GBit (128MB)
    FMD: Block 0 to 14 are locked for boot loader
    [FMD:ERR] : FMD: Spare data is invalid, sector = 36480
    FMD_LB_GetBlockStatus(block=570, page=36480) FMD_LB_ReadSector() failed!
    [FMD:ERR] : FMD: Spare data is invalid, sector = 36480
    FMD_LB_GetBlockStatus(block=570, page=36480) FMD_LB_ReadSector() failed!
    [FMD:ERR] : FMD: Spare data is invalid, sector = 36480
    PM-NETDCU: STARTED


    I tried other OS images, and they al stopped with the same line "PM-NETDCU: STARTED". What could be wrong?

  • Hello,
    please use latested N.,EBoot and repartitionize the Flash (after started with updated bootloaders) with bootloader command "P" . Then flash kernel again. Hope this resolves the problem.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Thank you, that worked! :thumbup: I managed to update to the latest eboot and latest OS image for WEC2013. Via Device Spy I get an IP Adrress for the device. Unfortunately I cannot connect to the device via ethernet. For some reason the WindowsCE MAC Address is FF:FF:FF:0:0:0. I am trying to set this to 000551<label code> via the XOM command but this does not work. Is there another way of setting the MAC address?

  • Hello,
    ok this "000551<label code>" is correct. XOM should work. What is the Input/output in detail?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hi,


    This is the output from DCUTerm:


    S
    Microsoft Windows CE Bootloader Common Library Version 1.2 Built Jul 4 2014 13:17:57
    Microsoft Windows CE Bootloader for NetDCUA5 Built Jul 16 2014
    Portions copyright (c) 2012 F&S Elektronik Systeme GmbH
    Boot Loader, Version 0.9
    NBoot, Version VN05
    HW rev. 1.10


    HW-Watchdog: ON
    System ready!
    Preparing for downSSSload...
    Press >S< to step into monitor...


    NetDCUA5 - WindowsCE Bootloader


    :>
    :>
    :>
    :>
    :>
    :> SSS
    :>
    :>
    :> I
    NetDCUA5 boot options valid : YES
    Start Download after reboot : no
    Download kernel to : FLASH
    Kernel load/store compression : OFF
    Size of area for OS image : 64 MB
    Size of FFSDISK : 64 MB
    Format of FFSDISK : FAT
    F3S serial number :
    Launch image after reboot : yes
    Output debug messages at serial port : yes
    Bootloader Network setting valid : YES
    -MAC Address : 0:5:51:0:46:7
    -Use DHCP to get IP address: YES
    WindowsCE MAC address valid : yes
    -WindowsCE MAC Address : FF:FF:FF:0:0:0


    :> XOM Enter WindowsCE MAC address (actual ff:ff:ff:00:00:00): 00055108F5D2<LF>


    :> I
    NetDCUA5 boot options valid : YES
    Start Download after reboot : no
    Download kernel to : FLASH
    Kernel load/store compression : OFF
    Size of area for OS image : 64 MB
    Size of FFSDISK : 64 MB
    Format of FFSDISK : FAT
    F3S serial number :
    Launch image after reboot : yes
    Output debug messages at serial port : yes
    Bootloader Network setting valid : YES
    -MAC Address : 0:5:51:0:46:7
    -Use DHCP to get IP address: YES
    WindowsCE MAC address valid : yes
    -WindowsCE MAC Address : FF:FF:FF:0:0:0


    :>


    When I enter the new address nothing seems to happen.

  • Ok, first you should update the NBoot to the latest availble version.
    But i am not sure if this resolves the problem. But we have some incompatibilities wiht older versions.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello,


    I updated NBoot to the latest version. Now when I startup the device I am asked to provide a MAC address. When I fill in the address it looks like the address is not saved. The command XOM also does not work. This is the output from DCUTerm:


    :> <0>
    Microsoft Windows CE Bootloader Common Library Version 1.2 Built Jul 4 2014 13:17:57
    Microsoft Windows CE Bootloader for NetDCUA5 Built Jul 16 2014
    Portions copyright (c) 2012 F&S Elektronik Systeme GmbH
    Boot Loader, Version 0.9
    NBoot, Version VN10
    HW rev. 1.10


    HW-Watchdog: ON
    System ready!
    Preparing for download...
    Press >S< to step into monitor...
    Windows CE ethernet MAC address not set.
    Enter WindowsCE MAC address (actual ff:ff:ff:ff:ff:ff): 00055108F5D2<LF>


    NetDCUA5 - WindowsCE Bootloader


    :> I
    NetDCUA5 boot options valid : YES
    Start Download after reboot : no
    Download kernel to : FLASH
    Kernel load/store compression : OFF
    Size of area for OS image : 64 MB
    Size of FFSDISK : 64 MB
    Format of FFSDISK : FAT
    F3S serial number :
    Launch image after reboot : yes
    Output debug messages at serial port : yes
    Bootloader Network setting valid : YES
    -MAC Address : 0:5:51:0:46:7
    -Use DHCP to get IP address: YES
    WindowsCE MAC address valid : yes
    -WindowsCE MAC Address : FF:FF:FF:FF:FF:FF


    :> XOM Enter WindowsCE MAC address (actual ff:ff:ff:ff:ff:ff): 00055108F5D2<LF>


    :> I
    NetDCUA5 boot options valid : YES
    Start Download after reboot : no
    Download kernel to : FLASH
    Kernel load/store compression : OFF
    Size of area for OS image : 64 MB
    Size of FFSDISK : 64 MB
    Format of FFSDISK : FAT
    F3S serial number :
    Launch image after reboot : yes
    Output debug messages at serial port : yes
    Bootloader Network setting valid : YES
    -MAC Address : 0:5:51:0:46:7
    -Use DHCP to get IP address: YES
    WindowsCE MAC address valid : yes
    -WindowsCE MAC Address : FF:FF:FF:FF:FF:FF


    :>


    I have tried this several times, but it keeps asking for a valid MAC address.

  • Hm very strange, we test it with the same versions and it works. The board should echos the input while the XOM command!


    Sorry, but try to set default bootloader settings using "C" command.
    If this still not not resolve the problem erase the Flash from NBoot and reinstall EBoot.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Something very strange happened. I tried the steps you suggested but that did not work. Then I accedentally typed an extra 1 when entering the MAC Address and the MAC Adressed was changed:


    :> XOM Enter WindowsCE MAC address (actual ff:ff:ff:ff:ff:ff): 00055108F5D11<LF>


    MAC address for WindowsCE set to 01:00:00:00:00:00


    :> I
    NetDCUA5 boot options valid : YES
    Start Download after reboot : no
    Download kernel to : FLASH
    Kernel load/store compression : OFF
    Size of area for OS image : 64 MB
    Size of FFSDISK : 64 MB
    Format of FFSDISK : FAT
    F3S serial number :
    Launch image after reboot : no
    Output debug messages at serial port : yes
    Bootloader Network setting valid : YES
    -MAC Address : 0:5:51:0:46:7
    -Use DHCP to get IP address: YES
    WindowsCE MAC address valid : yes
    -WindowsCE MAC Address : 1:0:0:0:0:0


    Although this is not the correct MAC Address, it is a valid address. Connecting via ethernet works! Can you explain why this is happaning?

  • Quote

    Can you explain why this is happaning?


    You are sure you enter the additional "1"? I assume this was the "eche". So only the "1" was accepted hence MAC is "1:0:...".
    Enter XOM again and wait some seconds! I have no explanation for this behavior even i cannot reproduce is.


    Sorry please try again:
    - Did you erase flash with latest NBoot or with the old one? Please use the lastet one.
    - Check bad blocks (command "B") and erase them (command "U") if there are someone
    - Then install EBoot ...

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • I found the problem. When I type in the MAC address at the XOM command it echos every letter that I type in. So when I type a 0 in the DCUTerm the output is:


    :> XOM Enter WindowsCE MAC address (actual ff:ff:ff:ff:ff:ff): 00


    but when I press Enter only 1 0 gets send back. So then I typed in the new MAC addres like this:


    :> XOM Enter WindowsCE MAC address (actual ff:ff:ff:ff:ff:ff): 0000005555110088FF55DD22<LF>


    MAC address for WindowsCE set to 00:05:51:08:f5:d2


    That worked!