Recent content by ksatria

  1. K

    ARM tool to view register usage

    I tried googling on it, but can't find the answer, maybe the keywords doesn't accurate so always led me to definition of each ARM registers instead of what I want to know. What I want to know is: is there any tool for ARM that give some statistic on register usage? for example giving...
  2. K

    Cygwin can't receive UDP packet using recvfrom

    actually I'm not use winsock, I use sys/socket.h from linux, as I use cygwin. then, I try to make the "windows version" here the code, not much different then I able to do Windows (winsock) to Windows (cygwin) successfully, but still can't receive from linux.
  3. K

    Cygwin can't receive UDP packet using recvfrom

    @chiro: no, I can't. only these scenario work: 1. linux to linux, (same machine via 127.0.0.1) 2. windows to linux but not : 1. linux to windows, nor 2. windows to windows so the problem is in windows (using cygwin) side when receiving. (the code in linux and windows are exactly the same). from...
  4. K

    Cygwin can't receive UDP packet using recvfrom

    thanks for all the responses. @jedishrfu hmm, even in same Windows, they can't communicate. I run "listener" in one Cygwin terminal, and run "talker" in another Cygwin terminal and issue these command: $ ./talker 1x.15x.7x.154 "hello cygwin" or by using $ ./talker 127.0.0.1 "hello cygwin" still...
  5. K

    Cygwin can't receive UDP packet using recvfrom

    my Windows Firewall is off.
  6. K

    Cygwin can't receive UDP packet using recvfrom

    Hallo, I have a "listener" and "talker" program, "listener" to listen an UDP packet sent by "talker". Both work in linux machine (actually I test in same machine, so using localhost as address). I run "listener" in linux and "talker" in windows (via cygwin), it's work fine. However, it...
  7. K

    Discussing Real-Time Operating System: ThreadX Questions

    And I'm also challenged by these questions, in mutex topic: #C8Q6: Suppose a mutex has the priority-inheritance option enabled and a thread that attempted to acquire that mutex had its priority raised as a result. Exactly when will that thread have its priority restored to its original value...
  8. K

    Discussing Real-Time Operating System: ThreadX Questions

    From my understanding, the kernel will only choose the thread to be executed only from Ready List, as in this picture: http://dl.dropbox.com/u/41059921/threadstatetransition.jpg Will it RTOS dependent? CMIIW
  9. K

    Discussing Real-Time Operating System: ThreadX Questions

    I have these problem sets, including my answer. [chapter 3] Q#1. When a thread is removed from the Suspended Thread List, either it is placed on the Ready Thread List or it is terminated. Explain why there is not an option for that thread to become the currently executing thread...
  10. K

    Discussing Real-Time Operating System: ThreadX Questions

    thanks again, that bold statement really explain why the spreadsheet is match and correct. yes, immediately after speedy_thread has been executed, it's goes to sleep and then slow_thread (lower priority) get chance to be executed. to all, as I'm self-learning in RTOS, I may post the...
  11. K

    Discussing Real-Time Operating System: ThreadX Questions

    thanks again, rcgldr, for the nice explanation. some topic you mention (like message queuing), I haven't reach that topic in my self-learning :D , so hope I will understand after I study that topic. I have another thing I want to ensure. Here is the sample code from books "Threadx RTOS"...
  12. K

    [WTA] What is the good development kit to learn RTOS?

    I'm starting to learn RTOS (any RTOS for the start), and willing to buy FreeRTOS NXP LPCXpresso LPC1769 Education Kit for starting point as it come with hands-on guide for RTOS, and 'cheap' price. Any body who have bought that kit, would you like to comment whether it is good? Or, any...
  13. K

    How to set a Linux Workspace to certain (different) source input?

    forget this "silly" question. Seem nothing to do with Linux or Windows, it should be hardware (i.e. monitor) setting. but sure can't be one dedicated workspace. Moderator, you may delete this thread if the thread is considered as unuseful. Thanks!
  14. K

    How to set a Linux Workspace to certain (different) source input?

    I tried to googling about this, but not find the answer; and even I'm not sure whether this is possible. Here the condition: I have a Windows laptop and a Linux workstation (workstation + monitor). The monitor is connected to: (1) DVI-D: connected to Linux workstation (default) (2) Display...
  15. K

    Discussing Real-Time Operating System: ThreadX Questions

    nice explanation. thanks. (i just notice that stack pointer is included in the general purpose registers, i.e. r13, will be saved; this is my original confusion on what is pushed to stack and how to tell the system to back to previous stack pointer (thread stack)) what make me still unclear...
Back
Top