Recent content by ksatria
-
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...- ksatria
- Thread
- Arm
- Replies: 1
- Forum: Computing and Technology
-
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.- ksatria
- Post #11
- Forum: Computing and Technology
-
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...- ksatria
- Post #9
- Forum: Computing and Technology
-
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...- ksatria
- Post #7
- Forum: Computing and Technology
-
K
Cygwin can't receive UDP packet using recvfrom
my Windows Firewall is off.- ksatria
- Post #3
- Forum: Computing and Technology
-
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...- ksatria
- Thread
- Replies: 13
- Forum: Computing and Technology
-
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...- ksatria
- Post #13
- Forum: Programming and Computer Science
-
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- ksatria
- Post #12
- Forum: Programming and Computer Science
-
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...- ksatria
- Post #9
- Forum: Programming and Computer Science
-
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...- ksatria
- Post #8
- Forum: Programming and Computer Science
-
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"...- ksatria
- Post #6
- Forum: Programming and Computer Science
-
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...- ksatria
- Thread
- Replies: 1
- Forum: Programming and Computer Science
-
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!- ksatria
- Post #2
- Forum: Computing and Technology
-
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...- ksatria
- Thread
- Input Linux Set Source
- Replies: 1
- Forum: Computing and Technology
-
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...- ksatria
- Post #4
- Forum: Programming and Computer Science