This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error while parsing a node: Tag not in expected format

I opened an example from the SDK 16 in:

nRF5_SDK_16.0.0_98a08e2/examples/iot/lwm2m/lwm2m_client/pca10056/s140/ses/iot_lwm2m_client_pca10056_s140.emProject

When I try to open the sdk_config.h with the CMSIS Configuration Wizard I get the following error:

Error while parsing a node: Tag not in expected format: <0-UDP6_MAX_SOCKET_COUNT>

Then the CMSIS Configuration Wizard appears empty:

I found the following line in sdk_config.h:

// <o> COAP_PORT_COUNT - Number of local ports used by CoAP.  <0-UDP6_MAX_SOCKET_COUNT> 

I changed it to:

// <o> COAP_PORT_COUNT - Number of local ports used by CoAP.  <UDP6_MAX_SOCKET_COUNT> 

That solved the problem.

If I open other projects like blinky, I do not get any error and I get a decent configuration tree in the CMSIS Configuration Wizard.

This is how it should look like:

I also attached sdk_config.h:

sdk_config.h

Is this a fault in the SDK or in CMSIS?

Parents
  • Hello,

    It looks like this is a bug in the sdk_config.h file. I get the same error, and it doesn't happen in the other examples in the SDK (I haven't checked all, but I haven't seen it in an unmodified example before).

    I'll report this back to the SDK team, so it can be fixed before the next release.

    Your workaround is probably good. The comments in the sdk_config.h file are only there for the cmsis config tool, so it is the comments that controls the information about the variables, and the size of the drop down menus and so on.

    Thank you for the feedback!

    BR,

    Edvin

Reply
  • Hello,

    It looks like this is a bug in the sdk_config.h file. I get the same error, and it doesn't happen in the other examples in the SDK (I haven't checked all, but I haven't seen it in an unmodified example before).

    I'll report this back to the SDK team, so it can be fixed before the next release.

    Your workaround is probably good. The comments in the sdk_config.h file are only there for the cmsis config tool, so it is the comments that controls the information about the variables, and the size of the drop down menus and so on.

    Thank you for the feedback!

    BR,

    Edvin

Children
No Data
Related