Re: problem with socket and task

2019-08-14 Thread Sebastian Huber
On 14/08/2019 07:56, mojtaba nadi wrote: thanks Sebastian for your answer but we are new in rtems and don't know how to use debugger. can you help us please? If you want to use RTEMS seriously, then I recommend to spend some time to set up a debugger for your target. Basic tests can be made r

Re: problem with socket and task

2019-08-14 Thread mojtaba nadi
thanks a lot Chris we found error that say "error = kern_recvit(td, s, mp, UIO_USERSPACE, NULL);" we google it and if we can't find the solution, we make a other mail-list. We wish the best for you. On Wed, Aug 14, 2019 at 11:54 AM Chris Johns wrote: > On 14/8/19 3:56 pm, mojtaba nadi wrote:

Re: problem with socket and task

2019-08-14 Thread Chris Johns
On 14/8/19 3:56 pm, mojtaba nadi wrote: > thanksĀ Sebastian for your answer but we are new in rtems and don't know how to > use debugger. > can you help us please? A simple way to see the code that caused the exception is to run: arm-rtems5-objdump -d --source my.exe | less then search for the a

Re: problem with socket and task

2019-08-13 Thread mojtaba nadi
thanks Sebastian for your answer but we are new in rtems and don't know how to use debugger. can you help us please? On Wed, Aug 14, 2019 at 9:35 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > > > On 13/08/2019 15:35, mojtaba nadi wrote: > > *** FATAL *** > > fatal source: 9 (R

Re: problem with socket and task

2019-08-13 Thread Sebastian Huber
On 13/08/2019 15:35, mojtaba nadi wrote: *** FATAL *** fatal source: 9 (RTEMS_FATAL_SOURCE_EXCEPTION) R0 = 0x002d2940 R8 = 0x000b R1 = 0x002d4080 R9 = 0x002d2940 R2 = 0x00215038 R10 = 0x002d4070 R3 = 0x002d4070 R11 = 0x R4 = 0x0010 R12 = 0x002d4014 R5 = 0x

Re: problem with socket and task

2019-08-13 Thread mojtaba nadi
Behalf Of *mojtaba nadi > *Sent:* Tuesday, August 13, 2019 18:06 > *To:* users@rtems.org > *Subject:* problem with socket and task > > > > hello > > We have written an application which creates 3 tasks. in the first task > (task_task1()) we want to receive some data

RE: problem with socket and task

2019-08-13 Thread Afshin Jamaali (Arian)
[mailto:users-boun...@rtems.org] On Behalf Of mojtaba nadi Sent: Tuesday, August 13, 2019 18:06 To: users@rtems.org Subject: problem with socket and task hello We have written an application which creates 3 tasks. in the first task (task_task1()) we want to receive some data using a UDP socket. using the

problem with socket and task

2019-08-13 Thread mojtaba nadi
hello We have written an application which creates 3 tasks. in the first task (task_task1()) we want to receive some data using a UDP socket. using the file 1.c the socket will be created and bind successfully. But after adding recvfrom() (file 2.c line 79) rtems will crash. The output error messag