Re: Making driver example as a application entry point

2021-09-27 Thread rushi ghatkar
Hi, And when I tried built-in example app "leds" , to make as an entry point, it gives error,* led_daemon: ERROR: Failed to open /dev/userleds: 2* So for a built -in app example, could you please tell me what is wrong? Regards, Rushikesh Ghatkar On Tue, Sep 28, 2021 at 10:38 AM rus

Re: Making driver example as a application entry point

2021-09-27 Thread rushi ghatkar
e RTOS Features -->RTOS hooks, *it does* not work*. Could you please tell me what is wrong? Regards, Rushikesh Ghatkar On Sat, Sep 25, 2021 at 7:33 PM murat tologlu wrote: > Hi Rushi, > Which “driver example” are you talking abaut? > > On 2021/09/20 06:51:42 rushi ghatkar wro

Making driver example as a application entry point

2021-09-19 Thread rushi ghatkar
Hi, I have created drivers and when I'm trying to make them as an entry point. I am facing the issue while making them as an entry point as soon as my board gets powered up. The problems I'm facing mentioned below, 1. When I am configuring *built-in example * in *RTOS features ---> Task and sche

Re: UART with Nucleo-H743zi2 board using Nuttx

2021-09-02 Thread rushi ghatkar
_DEVPATH to the right > port, i.e.: /dev/ttyS1 > > Before mastering NuttX it is important that you know Linux, otherwise > you will run in circles. > > BR, > > Alan > > On 8/31/21, rushi ghatkar wrote: > > Hi Alan Sir, > > > > Thanks for your reply. >

Re: UART with Nucleo-H743zi2 board using Nuttx

2021-08-30 Thread rushi ghatkar
kesh, > > The serial driver already exists for STM32H7. Are we willing to > exchange data over serial port? > > Just do the same thing you do on Linux: open(), tcflush(), tcsetattr(), > etc. > > You need to use /dev/ttyS1..N the /dev/ttyACM0 is for USB/Serial example. &

UART with Nucleo-H743zi2 board using Nuttx

2021-08-30 Thread rushi ghatkar
Hi, I am trying to create my own uart serial driver which includes transmit and receive data . For that i was trying to understand a sample example which is given already. For this example given file are mentioned below, In nuttx folder, 1. nuttx/drivers/serial.c 2. nuttx/include/nuttx/serial/se

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-19 Thread rushi ghatkar
EBUG? > > Note that "Initializing LEDs" is not printed! > > Did you enable NSH_ARCHINIT ? > > Application Configuration ---> > NSH Library ---> > [*] Have architecture-specific initialization > > BR, > > Alan > > On 8/18/21, rush

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-18 Thread rushi ghatkar
t;{ > > lederr("Failed to register userled: %d\n", ret); > >} > >} > > > >Then run it with LED debug enabled. > > > >BR, > > > >Alan > > > >On 8/18/21, rushi ghatkar wrote: > >> Hi @Alan sir, >

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-16 Thread rushi ghatkar
to see that is going on. > > BR, > > Alan > > On 8/16/21, rushi ghatkar wrote: > > Hi, > > > > I have changed the declaration but it still gives some warning. Please > find > > the attached image. > > > > and when I flash code an

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-16 Thread rushi ghatkar
oard userleds file that will map the LEDs and > will create the /dev/userleds. > > BR, > > Alan > > On 8/16/21, rushi ghatkar wrote: > > On Mon, Aug 16, 2021 at 2:42 PM rushi ghatkar > > wrote: > > > >> Hi, > >> > >> I have tried th

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-13 Thread rushi ghatkar
call a driver function directly from apps/, it is a violation > of the OS abstraction. > > Your application needs to open the /dev/yourdriver to read/write > from/to your driver. > > BR, > > Alan > > On 8/13/21, rushi ghatkar wrote: > > Hi @Alan & @Frank sir, >

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-13 Thread rushi ghatkar
per need and try to make driver into app to get it run on picocom. Thanks for the information. Thanks & Regards, Rushikesh Ghatkar On Fri, Aug 13, 2021 at 5:11 PM Frank-Christian Kruegel wrote: > Am 13.08.2021 um 10:43 schrieb rushi ghatkar: > > Hi, > > > > I have config

Re: Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-13 Thread rushi ghatkar
Hi, Getting confused with where to create a driver, what is Makefile, Kconfig and Make.defs ? After creating a driver how to create an app to run that driver? Regards, Rushikesh Ghatkar On Fri, Aug 13, 2021 at 2:13 PM rushi ghatkar wrote: > Hi, > > I have configured and instal

Creating our own driver in NUCLEO-H743ZI2 with Nuttx rtos

2021-08-13 Thread rushi ghatkar
Hi, I have configured and installed Nuttx rtos on the Nucleo-H743zi2 board. Now I want to create my own driver. How to create our own driver? Has anyone created their own driver using Nuttx rtos on the STM32 board? Could anybody please tell me how to start? Thanks & Regards, Rushikesh Ghatka

Re: Nuttx RTOS with Nucleo-H743ZI2 board

2021-08-11 Thread rushi ghatkar
k-v3.cfg -f target/nucleo-h743zi2.cfg* > > I use a command like the one below to to write the nuttx image > > * openocd -f interface/stlink.cfg -f target/stm32g4x.cfg -c init -c "reset > halt" -c "flash write_image erase nuttx.bin 0x0800" -c "exit"* &g

Re: Nuttx RTOS with Nucleo-H743ZI2 board

2021-08-11 Thread rushi ghatkar
orking? > > Also, please try to use the same openocd command that Brennan used: > > openocd -f board/stm32h745i-disco.cfg -c "program nuttx verify reset exit" > > Since it is working for him, it needs to work on your board too. > > BR, > > Alan > > On 8

Re: Nuttx RTOS with Nucleo-H743ZI2 board

2021-08-10 Thread rushi ghatkar
; >> > >> I think you are doing the right steps, but just to confirm: > >> > >> $ make distclean > >> > >> $ ./tools/configure.sh nucleo-h743zi2:nsh > >> > >> $ make menuconfig (this step is optional, just confirm that Device

Re: Nuttx RTOS with Nucleo-H743ZI2 board

2021-08-10 Thread rushi ghatkar
ht steps, but just to confirm: > >> > >> $ make distclean > >> > >> $ ./tools/configure.sh nucleo-h743zi2:nsh > >> > >> $ make menuconfig (this step is optional, just confirm that Device > >> Drivers ---> [*] Serial Driver Suppor

Re: Nuttx RTOS with Nucleo-H743ZI2 board

2021-08-10 Thread rushi ghatkar
that you're able to receive data with your PC from any > known working embedded device. > > Best, > > Simon > > > On Tue, Aug 10, 2021 at 12:11 PM rushi ghatkar > wrote: > > > Hi Sir, > > > > Thanks. Appreciate for your help. > > > > I

Re: Nuttx RTOS with Nucleo-H743ZI2 board

2021-08-10 Thread rushi ghatkar
ybe someone else can > contribute. > > Good luck. > > From: rushi ghatkar > Sent: Tuesday, August 10, 2021 12:24 PM > To: dev@nuttx.apache.org > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board > > > > On Tue, Aug 10, 2021 at 2:52 PM rushi ghatkar <mailto:rush

Re: Nuttx RTOS with Nucleo-H743ZI2 board

2021-08-10 Thread rushi ghatkar
rote: > Hi Rushikesh, > > > > Flash and try attached firmware ( you may try bin and hex files ) and tell > us what happens. > > > > Good luck, > > Murat > > > > *From:* rushi ghatkar > *Sent:* Tuesday, August 10, 2021 9:42 AM > *To:* dev@nuttx.

Nuttx RTOS with Nucleo-H743ZI2 board

2021-08-08 Thread rushi ghatkar
Hi, I'm totally new to NUttx RTOS and I have started to work on it. I have a Nucleo-H743ZI2 board and followed a youtube video of Nuttx channel to configure, compile and flash Nuttx rtos in Nucleo-H743ZI2 board. After compilation nuttx.bin file has been created but to flash that on board, flash co

To join Nuttx community

2021-08-06 Thread rushi ghatkar
Hi, This is Rushikesh Ghatkar and wants to join nuttx community. Thanks & Regards, Rushikesh Ghatkar