Skip to content

'SDO write failed' errors observed during firmware upgrade #248

@powerlink-team-kalycito

Description

@powerlink-team-kalycito

Bug Description:

Stack version : V2.6.0-rc1
SHA : b3f8283
Test case : Firmware upgrade test
Managing Node : Linux edrv
Controlled Node: Bus Controllers
Cycle time : 50ms

Bug Summary:

During firmware upgrade test, 'SDO write failed' errors are observed.

Steps to generate CDC using openCONFIGURATOR V2.2:

  1. Import Demo_3CN_ openCONFIGURATOR project
  2. Add 3 CNs to the network
  3. Add Bus controller firmware files to added CNs
    • Add 3 different versions of firmware file to the same CN
  4. Build the openCONFIGURATOR project

Steps to reproduce:

  1. Compile the hardware, stack, driver and application
    • From openCONFIGURATOR output location, copy the fw.info file, mnobd.cdc and fw folder in the demo_mn_console.exe path.
  2. Run the demo_mn_console application

Expected Behavior:

Firmware upgrade should be successful without any error.

Observed Behavior:

Firmware upgrade happens, with the below error messages:

FWM: Updating node 0xXX
FWM: Updating node 0xXX
FWM-ERROR: SDO write failed for node 0xX with state: 0x5 and abort code 0x5040000
FWM-ERROR: SDO written number of bytes does not match for node 0xX:1016 - 299504
FWM-ERROR: SDO event with abort code: 0x5040000 for node 0xX
FWM: Updating node 0xXX
FWM: Updating node 0xXX

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions