Re: problem with socket and task

2019-08-13 Thread mojtaba nadi
e this > amount of stack is enough? Maybe when recvfrom() receives data and writes > into the recv_buf[] array, it corrupts the stack. Maybe it is not so, not > sure. > > > > Best Regards, > > Afshin > > > > *From:* users [mailto:users-boun...@rtems.org] *On Beha

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 **

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, mojta

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

how add a custom driver to RTEMS

2019-09-16 Thread mojtaba nadi
hello I want to add a custom driver (I added two uartlite IP in PL) to RTEMS using libbsd but i can't find any documentation that explain it step by step. I wonder if any body could help me to explain how can I add a custom driver step by step. regards, Mojtaba

Re: register access

2019-11-15 Thread mojtaba nadi
Thanks a lot. I totally forget the AXI. Thank you for helping me improve. On Wed, Nov 13, 2019 at 8:40 AM mojtaba nadi wrote: > hello > I have written a GPIO driver for xilinx-zedboard attached below. but when > I try to write in register of GPIO that gave me SDK it doesn't work. >

register access

2019-11-12 Thread mojtaba nadi
hello I have written a GPIO driver for xilinx-zedboard attached below. but when I try to write in register of GPIO that gave me SDK it doesn't work. Does RTEMS use the same register address as SDK? Is there any memory mapping in RTEMS? Or is there any extra thing that I have to do to access the

Re: directory, file creation and writing not working on SD card

2020-01-26 Thread mojtaba nadi
hello Chan I am trying to write a sd card driver for zedborad but it does not work. can you send me your driver for understanding how can I write driver for zedboard please? thanks a lot and hope the best for you. ___ users mailing list users@rtems.org

write a network driver

2020-03-10 Thread mojtaba nadi
hello, I'm going to write a network driver for my mac ip core that I made in vivado for zedboard. I can write and read from it with using registers but now I want to use socket programming to access the mac. I understand the first step is adding a ifconfig name for my mac but I couldn't do this