Code Monkey home page Code Monkey logo

Comments (6)

TiejunMS avatar TiejunMS commented on May 27, 2024

Could you check whether ThreadX and NetXDuo are rebuilt? See user guide here.

from netxduo.

HarbourXbr avatar HarbourXbr commented on May 27, 2024

Could you check whether ThreadX and NetXDuo are rebuilt? See user guide here.

There is no problem with Ping Sample,ThreadX and NetXDuo are running, i use the bsd sample, the socket function call the txe_mutex_get function to return TX_MUTEX_ERROR, I don't know what caused this problem. When using BSD but not using BSD RAW, i only need to define this macro NX_ENABLE_EXTENDED_NOTIFY_SUPPORT?

from netxduo.

TiejunMS avatar TiejunMS commented on May 27, 2024

Please confirm if this step is done.

In tx_port.h, set one of the TX_THREAD_EXTENSION macros as follows:

#define TX_THREAD_EXTENSION_3 int bsd_errno

from netxduo.

HarbourXbr avatar HarbourXbr commented on May 27, 2024

Please confirm if this step is done.

In tx_port.h, set one of the TX_THREAD_EXTENSION macros as follows:

#define TX_THREAD_EXTENSION_3 int bsd_errno

Yes i define this macrommexport1617008249577.jpg

from netxduo.

TiejunMS avatar TiejunMS commented on May 27, 2024

Could you share the following information?

  1. Which sample is used? demo_bsd_raw.c, demo_bsd_tcp.c or demo_bsd_udp?
  2. Which board did you use?
  3. Which IDE/Compiler did you use?
  4. What is the return value of bsd_initialize? If it is not zero, could you step into this function and see where it fails?
  5. Could you step into txe_mutex_get() and see where it fails?

from netxduo.

HarbourXbr avatar HarbourXbr commented on May 27, 2024

Could you share the following information?

  1. Which sample is used? demo_bsd_raw.c, demo_bsd_tcp.c or demo_bsd_udp?
  2. Which board did you use?
  3. Which IDE/Compiler did you use?
  4. What is the return value of bsd_initialize? If it is not zero, could you step into this function and see where it fails?
  5. Could you step into txe_mutex_get() and see where it fails?

I find the problem, the macro NX_ENABLE_EXTENDED_NOTIFY_SUPPORT need to put nxd_bsd.h , i put it to the nx_usr.h.
Thanks

from netxduo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.