Search Results

Search results 1-4 of 4.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • NMi problem

    fffromeo - - embOS related

    Post

    Hi, I use Renesas M32C. I have 2 communication channels : - one RS232 that uses GetReceivedCharU4() - a proprietary one that uses NMI,.....rcBitArray is big enough because it uses just 24 bits, and then another interrupt ( int0) reads those, and clears rcBitArray The main error is , when I use the NMI, a OS_ERR_LEAVEINT. How can I avoid that Ciao Fabio

  • NMI problem

    fffromeo - - embOS related

    Post

    Embos V3.50 Iar compiler V3.20 and Let me describe the context : I have a radio communication with another equipment that gives me CLOCK using the NMI, and DATA through the P5_7 port. __regbank_interrupt void __NMI_handler( void )[/b] { rcBitArray[ rcBitCounter-- ] = P5_bit.P5_7; } The use of this NMI is essential, because I have to read the radio frames immediately when they are available. I have also to manage a communication via Uart4 to a PC : #pragma vector=(UART4_RX) __interrupt void Atlas…

  • OS_memset and OS_memcpy

    fffromeo - - embOS related

    Post

    Hallo I am using embos "evaluation version" (near memory model) for M32C and IAR compiler. I have implemented a TCP-IP stack to run an SNMP application. I am able to get almost any MIB with no problem. The trouble I see is that the OS hangs on an apparently normal get involving a pointer. I am already using the thread-safe versions of the malloc() and free(). Now I discovered that there are thread-safe versions of memset() and memcpy() functions, too. I hope using those I'll solve my problems, b…

  • OS_memset and OS_memcpy

    fffromeo - - embOS related

    Post

    Hallo functions I am using embos "evaluation version" (near memory model) for M32C and IAR compiler. I have implemented a TCP-IP stack to run an SNMP application. I am able to get almost any MIB with no problem. The trouble I see is that the OS hangs on an apparently normal get involving a pointer. I am already using the thread-safe versions of the malloc() and free(). Now I discovered that there are thread-safe versions of memset() and memcpy() functions, too. I hope using those I'll solve my p…