Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: GIO_create, SIO_create returning NULL or handles with bad config - debugging

$
0
0

Problem 1 must be related to a memory allocation problem.   The only reason for SEM_create() to fail is if there's not enough memory.


SIO_create() should return NULL if it fails or the device driver returns a status code.


If you give me your BIOS version, I can send you the sources for the SIO module.  The source code for DIO and GIO are included in ti/bios/src folder.   You might want to copy the dio*.c files into your project and step into them and see if you get any clues.  You can do same for SIO.


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>