You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by rushi ghatkar <ru...@gmail.com> on 2021/08/09 04:36:22 UTC
Nuttx RTOS with Nucleo-H743ZI2 board
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 command is not working so I tried STM32CubeProgrammer to flash and it
got flash successfully.
But after that "sudo picocom/dev/ttyACM0 -b 115200" , after executing and
resetting the board it's just waiting but the nsh> prompt isn't appearing.
What to do about it?
Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2 board and
can help me with this issue?
Please help me to solve this issue.
And also I want to create my own driver using nuttx rtos on a Nucleo-H73ZI2
board . How to create our own driver and which IDE we have to use?
Please help me.
Thanks & Regards,
Rushikesh Ghatkar
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
Hi Alan Sir,
Thanks for yours and other people's help.
I Really Appreciate it.
The issue was,
1. The st-link v3 driver needs to update. -> So I used *stsw-link007* to
update the st-link firmware. Updated st-link firmware, please find the
image attached.
2. Need to update cross compiler toolchain. -> Maybe I was using an old
version of toolchain, so maybe for me it wasn't working before.
3. Need to update udev/rules. Also need to run udevadm trigger to update
udev rules.
One more important thing is, I have configured and installed the latest
version for my Nucleo-H743zi2 board. Maybe the old version is not
compatible with this nucleo board.
Now I will try to create my own driver for Nucleo-H743zi2 boards
peripherals like ADC, PWM, Timers, DAC, UART etc.
Thanks again for all your help.
Now I feel good and confident that I can work with Nuttx rtos and
contribute many things as I explore Nuttx.
Keep guiding me.
Thanks & Regards,
Rushikesh Ghatkar
On Wed, Aug 11, 2021 at 6:36 PM Alan Carvalho de Assis <ac...@gmail.com>
wrote:
> Hi Rushikesh,
>
> Congratulations!!!
>
> What was the issue?
>
> BR,
>
> Alan
>
> On 8/11/21, rushi ghatkar <ru...@gmail.com> wrote:
> > Hi @Brennan @Alan Sir,
> >
> > I have tried to install and configure NUttx RTOS and completed
> > successfully.
> > Both* nuttx.bin* and *nuttx.hex* files have been created.
> >
> > Now Picocom is also working properly, please find the image attachment.
> > And yes it was* /dev/ttyACM0 *for the driver.
> >
> >
> > Thanks for your help sir.
> > Really appreciate it.
> >
> > Regards,
> > Rushikesh Ghatkar
> >
> >
> > On Wed, Aug 11, 2021 at 5:18 PM Alan Carvalho de Assis <
> acassis@gmail.com>
> > wrote:
> >
> >> Hi Rushikesh,
> >>
> >> Yes, seams like the NuttX was initialized correctly.
> >>
> >> There are some possible reason why you are not seem the NSH terminal:
> >>
> >> - Are you sure that /dev/ttyACM0 is from you board (case there are
> >> other board or USB modem on your computer, please remove it)
> >>
> >> - Maybe the STLink in the board is not connected to the right pins of
> >> the USART3 (PD9 and PD8) ou it needs some jumpers (I don't have this
> >> board to confirm)
> >>
> >> Do you have flashed same example from ST that used the serial on
> >> USART3 to confirm it is working?
> >>
> >> 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/11/21, rushi ghatkar <ru...@gmail.com> wrote:
> >> > Hi Alan Sir,
> >> >
> >> > Thanks for your instructions.
> >> > As per your steps, I have followed.
> >> > OpenOCD is not working. Here in Nucleo-H743zi2, stlink-v3 is
> >> > available.
> >> So
> >> > I have tried the command : *openocd -f interface/stlink-v3.cfg
> >> > target/nucleo-h743zi2.cfg* , gives error, please find the
> >> *openocd__error*
> >> > screenshot attached.
> >> >
> >> > So, Instead of openocd I have tried STM32CubeProgrammer to flash the*
> >> > nuttx.bin* file on board and the file downloaded successfully.
> >> > And the solid LED is there. Please find the image attached.
> >> >
> >> > Is that right? Code got flashed?
> >> >
> >> >
> >> >
> >> > Regards,
> >> > Rushikesh Ghatkar
> >> >
> >> > On Tue, Aug 10, 2021 at 6:08 PM Alan Carvalho de Assis <
> >> acassis@gmail.com>
> >> > wrote:
> >> >
> >> >> Hi Rushikesh,
> >> >>
> >> >> 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
> >> >> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
> >> >> is correctly defined)
> >> >>
> >> >> $ make
> >> >>
> >> >> (flash firmware nuttx.bin in your board: you can use openocd or other
> >> >> tool, no problem)
> >> >>
> >> >> Besides the "nsh>" another indication that NuttX is starting is a
> >> >> solid LED turning ON, if it is crashing you should see an LED
> >> >> blinking.
> >> >>
> >> >> BR,
> >> >>
> >> >> Alan
> >> >>
> >> >> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
> >> >> > Hi Sir,
> >> >> >
> >> >> > Thanks for your reply.
> >> >> >
> >> >> > 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.
> >> >> > Youtube Link :
> >> >> >
> >> >>
> >>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
> >> >> >
> >> >> > I did exactly as it is and finally the nuttx.bin file has been
> >> >> > created
> >> >> and
> >> >> > I have flashed it by using STM32CubeProgrammer.
> >> >> >
> >> >> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
> >> >> > Picocom or minicom is not working, so I'm working on it to get it
> >> work.
> >> >> >
> >> >> > But now I have doubts,
> >> >> > 1. How to create our own driver? I want to create my own driver
> >> >> > like
> >> >> PWM,
> >> >> > ADC and for other peripherals, for this where I should start to
> >> create?
> >> >> and
> >> >> > how??
> >> >> > 2. To create our own driver, where do we have to create it like in
> >> >> > Ubuntu
> >> >> > or is there any other IDE we can use in ubuntu?
> >> >> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is
> >> >> > it
> >> >> > possible to do programming in STM32CubeIDE while the nuttx.bin file
> >> >> > is
> >> >> > already on board?
> >> >> >
> >> >> >
> >> >> > Thanks & Regards,
> >> >> > Rushikesh Ghatkar
> >> >> >
> >> >> >
> >> >> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
> >> >> > <si...@ingenieurbuero-filgis.de>
> >> >> > wrote:
> >> >> >
> >> >> >> Hi Sir,
> >> >> >>
> >> >> >> split you problem:
> >> >> >>
> >> >> >> Have you verified 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 <
> >> >> rushighatkar35@gmail.com>
> >> >> >> wrote:
> >> >> >>
> >> >> >> > Hi Sir,
> >> >> >> >
> >> >> >> > Thanks. Appreciate for your help.
> >> >> >> >
> >> >> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
> >> >> >> > getting
> >> >> >> > nsh> prompt.
> >> >> >> >
> >> >> >> > Its ok sir. Thanks for your help.
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > Thanks & Regards,
> >> >> >> > Rushikesh Ghatkar
> >> >> >> >
> >> >> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu <
> >> mtologlu@hotmail.com>
> >> >> >> > wrote:
> >> >> >> >
> >> >> >> > > Hi,
> >> >> >> > >
> >> >> >> > > Your nuttx.bin is probably different than the nuttx.bin file
> >> which
> >> >> >> > > I
> >> >> >> sent
> >> >> >> > > to you that's why I configured and compiled an sent to you a
> >> >> >> > > new
> >> >> >> > > one
> >> >> >> for
> >> >> >> > > your sake; If you still can't get the nsh> prompt with the
> >> >> >> > > firmware
> >> >> >> > > I
> >> >> >> > sent
> >> >> >> > > to you I don't have any more answer for you. Maybe someone
> else
> >> >> >> > > can
> >> >> >> > > contribute.
> >> >> >> > >
> >> >> >> > > Good luck.
> >> >> >> > >
> >> >> >> > > From: rushi ghatkar <ru...@gmail.com>
> >> >> >> > > 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 <
> >> >> >> rushighatkar35@gmail.com
> >> >> >> > > <ma...@gmail.com>> wrote:
> >> >> >> > > Hi Sir,
> >> >> >> > >
> >> >> >> > > Thanks for your reply. Really appreciate it.
> >> >> >> > >
> >> >> >> > > When i configured and compiled nuttx rtos then in my system
> >> >> nuttx.bin
> >> >> >> > file
> >> >> >> > > was created. And I have flashed that file also. Please find
> the
> >> >> nuttx
> >> >> >> > > directory image attachment.
> >> >> >> > >
> >> >> >> > > Your firmware file, nuttx bin file I have flashed successfully
> >> >> >> > > using
> >> >> >> > > STM32CubeProgramer.
> >> >> >> > >
> >> >> >> > > But the issue is,
> >> >> >> > > 1. picocom or minicom is not working.
> >> >> >> > > 2. I want to create my own driver like PWM, ADC and for other
> >> >> >> > peripherals,
> >> >> >> > > for this where I should start to create? and how?
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > Thanks & Regards,
> >> >> >> > > Rushikesh Ghatkar
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu
> >> >> >> > > <mtologlu@hotmail.com
> >> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> >> > > 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 <rushighatkar35@gmail.com<mailto:
> >> >> >> > > rushighatkar35@gmail.com>>
> >> >> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
> >> >> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
> >> >> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> >> >> >> > >
> >> >> >> > > Hi,
> >> >> >> > >
> >> >> >> > > Thanks for your reply.
> >> >> >> > >
> >> >> >> > > I have followed this youtube video from Nuttx Channel,
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
> >> >> >> > >
> >> >> >> > > From the above link I have followed each step exactly as it
> is.
> >> >> >> > >
> >> >> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this
> in
> >> >> >> > > the
> >> >> >> end I
> >> >> >> > > was trying to execute command "openocd -f
> >> >> >> > > interface/stlink-v3.cfg
> >> >> >> > > -f
> >> >> >> > > target/stm32h7x.cfg" but this gives error. Please find the
> >> >> >> > > error
> >> >> >> > > image
> >> >> >> > > attachment.
> >> >> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into
> >> >> >> > > the
> >> >> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
> >> >> >> > > been
> >> >> >> > flashed
> >> >> >> > > successfully.
> >> >> >> > >
> >> >> >> > > After all this I was trying to open the nutshell using
> picocom,
> >> >> >> > > but
> >> >> >> > > nothing happened. No nutshell prompt appeared.
> >> >> >> > >
> >> >> >> > > Please help me to solve this issue.
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > Thanks & Regards,
> >> >> >> > > Rushikesh Ghatkar
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <
> >> >> mtologlu@hotmail.com
> >> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> >> > > Hi Rushikesh,
> >> >> >> > >
> >> >> >> > > If you copy paste and share in a file attachment all the
> >> >> >> > > command
> >> >> line
> >> >> >> > > content from "$ cd nuttxspace/nuttx" to the end - not only
> >> picocom
> >> >> >> > output "
> >> >> >> > > but everything that you did to configure and compile fooling
> "a
> >> >> >> > > video"
> >> >> >> (
> >> >> >> > > which video? ) , perhaps we help can you.
> >> >> >> > >
> >> >> >> > > Regards,
> >> >> >> > > Murat
> >> >> >> > >
> >> >> >> > > On 2021/08/10 05:00:36, rushi ghatkar <
> rushighatkar35@gmail.com
> >> >> >> <mailto:
> >> >> >> > > rushighatkar35@gmail.com>> wrote:
> >> >> >> > > > Hi,
> >> >> >> > > >
> >> >> >> > > > I have followed a youtube video from Nuttx Channel to
> >> >> >> > > > configure
> >> >> and
> >> >> >> > > compile
> >> >> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
> >> >> >> > STM32CUbeProgrammer
> >> >> >> > > I
> >> >> >> > > > have also flashed the nuttx.bin file into the board.
> >> >> >> > > > But when I was trying to use minicom or picocom, I'm unable
> >> >> >> > > > to
> >> >> >> > > > use
> >> >> >> it.
> >> >> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b
> >> >> 115200"
> >> >> >> *,
> >> >> >> > > > nutshell prompt is not appearing, please find the
> attachment.
> >> >> >> > > > Need help for this.
> >> >> >> > > >
> >> >> >> > > >
> >> >> >> > > > Regards,
> >> >> >> > > > Rushikesh Ghatkar
> >> >> >> > > >
> >> >> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <
> >> >> mtologlu@hotmail.com
> >> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> >> > > >
> >> >> >> > > > > Hi Rushi,
> >> >> >> > > > >
> >> >> >> > > > > Unless we know what you are trying to do we can't help
> you.
> >> >> There
> >> >> >> may
> >> >> >> > > be a
> >> >> >> > > > > mistake anywhere!
> >> >> >> > > > >
> >> >> >> > > > > Explain what did you try so far, how ? Give us the links
> of
> >> >> >> > > > > the
> >> >> >> > > > > application you're trying.. So may be we can discover your
> >> >> >> > > > > mistake.
> >> >> >> > > > >
> >> >> >> > > > > Regards,
> >> >> >> > > > > Murat
> >> >> >> > > > >
> >> >> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar
> >> >> >> > > > > <rushighatkar35@gmail.com
> >> >> >> > > <ma...@gmail.com>> wrote:
> >> >> >> > > > > > 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 command is not working so I tried
> >> >> >> > > > > > STM32CubeProgrammer
> >> >> >> > > > > > to
> >> >> >> > flash
> >> >> >> > > and
> >> >> >> > > > > it
> >> >> >> > > > > > got flash successfully.
> >> >> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" ,
> >> >> >> > > > > > after
> >> >> >> > > executing and
> >> >> >> > > > > > resetting the board it's just waiting but the nsh>
> >> >> >> > > > > > prompt
> >> >> >> > > > > > isn't
> >> >> >> > > > > appearing.
> >> >> >> > > > > > What to do about it?
> >> >> >> > > > > >
> >> >> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
> >> >> >> > > > > > Nucleo-H743ZI2
> >> >> >> > > board
> >> >> >> > > > > and
> >> >> >> > > > > > can help me with this issue?
> >> >> >> > > > > > Please help me to solve this issue.
> >> >> >> > > > > > And also I want to create my own driver using nuttx rtos
> >> >> >> > > > > > on
> >> >> >> > > > > > a
> >> >> >> > > > > Nucleo-H73ZI2
> >> >> >> > > > > > board . How to create our own driver and which IDE we
> >> >> >> > > > > > have
> >> >> >> > > > > > to
> >> >> >> use?
> >> >> >> > > > > >
> >> >> >> > > > > > Please help me.
> >> >> >> > > > > >
> >> >> >> > > > > >
> >> >> >> > > > > >
> >> >> >> > > > > > Thanks & Regards,
> >> >> >> > > > > > Rushikesh Ghatkar
> >> >> >> > > > > >
> >> >> >> > > > >
> >> >> >> > > >
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >> >
> >> >>
> >> >
> >>
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Alan Carvalho de Assis <ac...@gmail.com>.
Hi Rushikesh,
Congratulations!!!
What was the issue?
BR,
Alan
On 8/11/21, rushi ghatkar <ru...@gmail.com> wrote:
> Hi @Brennan @Alan Sir,
>
> I have tried to install and configure NUttx RTOS and completed
> successfully.
> Both* nuttx.bin* and *nuttx.hex* files have been created.
>
> Now Picocom is also working properly, please find the image attachment.
> And yes it was* /dev/ttyACM0 *for the driver.
>
>
> Thanks for your help sir.
> Really appreciate it.
>
> Regards,
> Rushikesh Ghatkar
>
>
> On Wed, Aug 11, 2021 at 5:18 PM Alan Carvalho de Assis <ac...@gmail.com>
> wrote:
>
>> Hi Rushikesh,
>>
>> Yes, seams like the NuttX was initialized correctly.
>>
>> There are some possible reason why you are not seem the NSH terminal:
>>
>> - Are you sure that /dev/ttyACM0 is from you board (case there are
>> other board or USB modem on your computer, please remove it)
>>
>> - Maybe the STLink in the board is not connected to the right pins of
>> the USART3 (PD9 and PD8) ou it needs some jumpers (I don't have this
>> board to confirm)
>>
>> Do you have flashed same example from ST that used the serial on
>> USART3 to confirm it is working?
>>
>> 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/11/21, rushi ghatkar <ru...@gmail.com> wrote:
>> > Hi Alan Sir,
>> >
>> > Thanks for your instructions.
>> > As per your steps, I have followed.
>> > OpenOCD is not working. Here in Nucleo-H743zi2, stlink-v3 is
>> > available.
>> So
>> > I have tried the command : *openocd -f interface/stlink-v3.cfg
>> > target/nucleo-h743zi2.cfg* , gives error, please find the
>> *openocd__error*
>> > screenshot attached.
>> >
>> > So, Instead of openocd I have tried STM32CubeProgrammer to flash the*
>> > nuttx.bin* file on board and the file downloaded successfully.
>> > And the solid LED is there. Please find the image attached.
>> >
>> > Is that right? Code got flashed?
>> >
>> >
>> >
>> > Regards,
>> > Rushikesh Ghatkar
>> >
>> > On Tue, Aug 10, 2021 at 6:08 PM Alan Carvalho de Assis <
>> acassis@gmail.com>
>> > wrote:
>> >
>> >> Hi Rushikesh,
>> >>
>> >> 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
>> >> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
>> >> is correctly defined)
>> >>
>> >> $ make
>> >>
>> >> (flash firmware nuttx.bin in your board: you can use openocd or other
>> >> tool, no problem)
>> >>
>> >> Besides the "nsh>" another indication that NuttX is starting is a
>> >> solid LED turning ON, if it is crashing you should see an LED
>> >> blinking.
>> >>
>> >> BR,
>> >>
>> >> Alan
>> >>
>> >> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
>> >> > Hi Sir,
>> >> >
>> >> > Thanks for your reply.
>> >> >
>> >> > 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.
>> >> > Youtube Link :
>> >> >
>> >>
>> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
>> >> >
>> >> > I did exactly as it is and finally the nuttx.bin file has been
>> >> > created
>> >> and
>> >> > I have flashed it by using STM32CubeProgrammer.
>> >> >
>> >> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
>> >> > Picocom or minicom is not working, so I'm working on it to get it
>> work.
>> >> >
>> >> > But now I have doubts,
>> >> > 1. How to create our own driver? I want to create my own driver
>> >> > like
>> >> PWM,
>> >> > ADC and for other peripherals, for this where I should start to
>> create?
>> >> and
>> >> > how??
>> >> > 2. To create our own driver, where do we have to create it like in
>> >> > Ubuntu
>> >> > or is there any other IDE we can use in ubuntu?
>> >> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is
>> >> > it
>> >> > possible to do programming in STM32CubeIDE while the nuttx.bin file
>> >> > is
>> >> > already on board?
>> >> >
>> >> >
>> >> > Thanks & Regards,
>> >> > Rushikesh Ghatkar
>> >> >
>> >> >
>> >> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
>> >> > <si...@ingenieurbuero-filgis.de>
>> >> > wrote:
>> >> >
>> >> >> Hi Sir,
>> >> >>
>> >> >> split you problem:
>> >> >>
>> >> >> Have you verified 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 <
>> >> rushighatkar35@gmail.com>
>> >> >> wrote:
>> >> >>
>> >> >> > Hi Sir,
>> >> >> >
>> >> >> > Thanks. Appreciate for your help.
>> >> >> >
>> >> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
>> >> >> > getting
>> >> >> > nsh> prompt.
>> >> >> >
>> >> >> > Its ok sir. Thanks for your help.
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > Thanks & Regards,
>> >> >> > Rushikesh Ghatkar
>> >> >> >
>> >> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu <
>> mtologlu@hotmail.com>
>> >> >> > wrote:
>> >> >> >
>> >> >> > > Hi,
>> >> >> > >
>> >> >> > > Your nuttx.bin is probably different than the nuttx.bin file
>> which
>> >> >> > > I
>> >> >> sent
>> >> >> > > to you that's why I configured and compiled an sent to you a
>> >> >> > > new
>> >> >> > > one
>> >> >> for
>> >> >> > > your sake; If you still can't get the nsh> prompt with the
>> >> >> > > firmware
>> >> >> > > I
>> >> >> > sent
>> >> >> > > to you I don't have any more answer for you. Maybe someone else
>> >> >> > > can
>> >> >> > > contribute.
>> >> >> > >
>> >> >> > > Good luck.
>> >> >> > >
>> >> >> > > From: rushi ghatkar <ru...@gmail.com>
>> >> >> > > 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 <
>> >> >> rushighatkar35@gmail.com
>> >> >> > > <ma...@gmail.com>> wrote:
>> >> >> > > Hi Sir,
>> >> >> > >
>> >> >> > > Thanks for your reply. Really appreciate it.
>> >> >> > >
>> >> >> > > When i configured and compiled nuttx rtos then in my system
>> >> nuttx.bin
>> >> >> > file
>> >> >> > > was created. And I have flashed that file also. Please find the
>> >> nuttx
>> >> >> > > directory image attachment.
>> >> >> > >
>> >> >> > > Your firmware file, nuttx bin file I have flashed successfully
>> >> >> > > using
>> >> >> > > STM32CubeProgramer.
>> >> >> > >
>> >> >> > > But the issue is,
>> >> >> > > 1. picocom or minicom is not working.
>> >> >> > > 2. I want to create my own driver like PWM, ADC and for other
>> >> >> > peripherals,
>> >> >> > > for this where I should start to create? and how?
>> >> >> > >
>> >> >> > >
>> >> >> > > Thanks & Regards,
>> >> >> > > Rushikesh Ghatkar
>> >> >> > >
>> >> >> > >
>> >> >> > >
>> >> >> > >
>> >> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu
>> >> >> > > <mtologlu@hotmail.com
>> >> >> > > <ma...@hotmail.com>> wrote:
>> >> >> > > 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 <rushighatkar35@gmail.com<mailto:
>> >> >> > > rushighatkar35@gmail.com>>
>> >> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
>> >> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
>> >> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
>> >> >> > >
>> >> >> > > Hi,
>> >> >> > >
>> >> >> > > Thanks for your reply.
>> >> >> > >
>> >> >> > > I have followed this youtube video from Nuttx Channel,
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >>
>> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
>> >> >> > >
>> >> >> > > From the above link I have followed each step exactly as it is.
>> >> >> > >
>> >> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in
>> >> >> > > the
>> >> >> end I
>> >> >> > > was trying to execute command "openocd -f
>> >> >> > > interface/stlink-v3.cfg
>> >> >> > > -f
>> >> >> > > target/stm32h7x.cfg" but this gives error. Please find the
>> >> >> > > error
>> >> >> > > image
>> >> >> > > attachment.
>> >> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into
>> >> >> > > the
>> >> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
>> >> >> > > been
>> >> >> > flashed
>> >> >> > > successfully.
>> >> >> > >
>> >> >> > > After all this I was trying to open the nutshell using picocom,
>> >> >> > > but
>> >> >> > > nothing happened. No nutshell prompt appeared.
>> >> >> > >
>> >> >> > > Please help me to solve this issue.
>> >> >> > >
>> >> >> > >
>> >> >> > > Thanks & Regards,
>> >> >> > > Rushikesh Ghatkar
>> >> >> > >
>> >> >> > >
>> >> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <
>> >> mtologlu@hotmail.com
>> >> >> > > <ma...@hotmail.com>> wrote:
>> >> >> > > Hi Rushikesh,
>> >> >> > >
>> >> >> > > If you copy paste and share in a file attachment all the
>> >> >> > > command
>> >> line
>> >> >> > > content from "$ cd nuttxspace/nuttx" to the end - not only
>> picocom
>> >> >> > output "
>> >> >> > > but everything that you did to configure and compile fooling "a
>> >> >> > > video"
>> >> >> (
>> >> >> > > which video? ) , perhaps we help can you.
>> >> >> > >
>> >> >> > > Regards,
>> >> >> > > Murat
>> >> >> > >
>> >> >> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
>> >> >> <mailto:
>> >> >> > > rushighatkar35@gmail.com>> wrote:
>> >> >> > > > Hi,
>> >> >> > > >
>> >> >> > > > I have followed a youtube video from Nuttx Channel to
>> >> >> > > > configure
>> >> and
>> >> >> > > compile
>> >> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
>> >> >> > STM32CUbeProgrammer
>> >> >> > > I
>> >> >> > > > have also flashed the nuttx.bin file into the board.
>> >> >> > > > But when I was trying to use minicom or picocom, I'm unable
>> >> >> > > > to
>> >> >> > > > use
>> >> >> it.
>> >> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b
>> >> 115200"
>> >> >> *,
>> >> >> > > > nutshell prompt is not appearing, please find the attachment.
>> >> >> > > > Need help for this.
>> >> >> > > >
>> >> >> > > >
>> >> >> > > > Regards,
>> >> >> > > > Rushikesh Ghatkar
>> >> >> > > >
>> >> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <
>> >> mtologlu@hotmail.com
>> >> >> > > <ma...@hotmail.com>> wrote:
>> >> >> > > >
>> >> >> > > > > Hi Rushi,
>> >> >> > > > >
>> >> >> > > > > Unless we know what you are trying to do we can't help you.
>> >> There
>> >> >> may
>> >> >> > > be a
>> >> >> > > > > mistake anywhere!
>> >> >> > > > >
>> >> >> > > > > Explain what did you try so far, how ? Give us the links of
>> >> >> > > > > the
>> >> >> > > > > application you're trying.. So may be we can discover your
>> >> >> > > > > mistake.
>> >> >> > > > >
>> >> >> > > > > Regards,
>> >> >> > > > > Murat
>> >> >> > > > >
>> >> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar
>> >> >> > > > > <rushighatkar35@gmail.com
>> >> >> > > <ma...@gmail.com>> wrote:
>> >> >> > > > > > 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 command is not working so I tried
>> >> >> > > > > > STM32CubeProgrammer
>> >> >> > > > > > to
>> >> >> > flash
>> >> >> > > and
>> >> >> > > > > it
>> >> >> > > > > > got flash successfully.
>> >> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" ,
>> >> >> > > > > > after
>> >> >> > > executing and
>> >> >> > > > > > resetting the board it's just waiting but the nsh>
>> >> >> > > > > > prompt
>> >> >> > > > > > isn't
>> >> >> > > > > appearing.
>> >> >> > > > > > What to do about it?
>> >> >> > > > > >
>> >> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
>> >> >> > > > > > Nucleo-H743ZI2
>> >> >> > > board
>> >> >> > > > > and
>> >> >> > > > > > can help me with this issue?
>> >> >> > > > > > Please help me to solve this issue.
>> >> >> > > > > > And also I want to create my own driver using nuttx rtos
>> >> >> > > > > > on
>> >> >> > > > > > a
>> >> >> > > > > Nucleo-H73ZI2
>> >> >> > > > > > board . How to create our own driver and which IDE we
>> >> >> > > > > > have
>> >> >> > > > > > to
>> >> >> use?
>> >> >> > > > > >
>> >> >> > > > > > Please help me.
>> >> >> > > > > >
>> >> >> > > > > >
>> >> >> > > > > >
>> >> >> > > > > > Thanks & Regards,
>> >> >> > > > > > Rushikesh Ghatkar
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >> >
>> >>
>> >
>>
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
Hi @Brennan @Alan Sir,
I have tried to install and configure NUttx RTOS and completed successfully.
Both* nuttx.bin* and *nuttx.hex* files have been created.
Now Picocom is also working properly, please find the image attachment.
And yes it was* /dev/ttyACM0 *for the driver.
Thanks for your help sir.
Really appreciate it.
Regards,
Rushikesh Ghatkar
On Wed, Aug 11, 2021 at 5:18 PM Alan Carvalho de Assis <ac...@gmail.com>
wrote:
> Hi Rushikesh,
>
> Yes, seams like the NuttX was initialized correctly.
>
> There are some possible reason why you are not seem the NSH terminal:
>
> - Are you sure that /dev/ttyACM0 is from you board (case there are
> other board or USB modem on your computer, please remove it)
>
> - Maybe the STLink in the board is not connected to the right pins of
> the USART3 (PD9 and PD8) ou it needs some jumpers (I don't have this
> board to confirm)
>
> Do you have flashed same example from ST that used the serial on
> USART3 to confirm it is working?
>
> 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/11/21, rushi ghatkar <ru...@gmail.com> wrote:
> > Hi Alan Sir,
> >
> > Thanks for your instructions.
> > As per your steps, I have followed.
> > OpenOCD is not working. Here in Nucleo-H743zi2, stlink-v3 is available.
> So
> > I have tried the command : *openocd -f interface/stlink-v3.cfg
> > target/nucleo-h743zi2.cfg* , gives error, please find the
> *openocd__error*
> > screenshot attached.
> >
> > So, Instead of openocd I have tried STM32CubeProgrammer to flash the*
> > nuttx.bin* file on board and the file downloaded successfully.
> > And the solid LED is there. Please find the image attached.
> >
> > Is that right? Code got flashed?
> >
> >
> >
> > Regards,
> > Rushikesh Ghatkar
> >
> > On Tue, Aug 10, 2021 at 6:08 PM Alan Carvalho de Assis <
> acassis@gmail.com>
> > wrote:
> >
> >> Hi Rushikesh,
> >>
> >> 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
> >> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
> >> is correctly defined)
> >>
> >> $ make
> >>
> >> (flash firmware nuttx.bin in your board: you can use openocd or other
> >> tool, no problem)
> >>
> >> Besides the "nsh>" another indication that NuttX is starting is a
> >> solid LED turning ON, if it is crashing you should see an LED
> >> blinking.
> >>
> >> BR,
> >>
> >> Alan
> >>
> >> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
> >> > Hi Sir,
> >> >
> >> > Thanks for your reply.
> >> >
> >> > 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.
> >> > Youtube Link :
> >> >
> >>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
> >> >
> >> > I did exactly as it is and finally the nuttx.bin file has been created
> >> and
> >> > I have flashed it by using STM32CubeProgrammer.
> >> >
> >> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
> >> > Picocom or minicom is not working, so I'm working on it to get it
> work.
> >> >
> >> > But now I have doubts,
> >> > 1. How to create our own driver? I want to create my own driver like
> >> PWM,
> >> > ADC and for other peripherals, for this where I should start to
> create?
> >> and
> >> > how??
> >> > 2. To create our own driver, where do we have to create it like in
> >> > Ubuntu
> >> > or is there any other IDE we can use in ubuntu?
> >> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
> >> > possible to do programming in STM32CubeIDE while the nuttx.bin file is
> >> > already on board?
> >> >
> >> >
> >> > Thanks & Regards,
> >> > Rushikesh Ghatkar
> >> >
> >> >
> >> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
> >> > <si...@ingenieurbuero-filgis.de>
> >> > wrote:
> >> >
> >> >> Hi Sir,
> >> >>
> >> >> split you problem:
> >> >>
> >> >> Have you verified 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 <
> >> rushighatkar35@gmail.com>
> >> >> wrote:
> >> >>
> >> >> > Hi Sir,
> >> >> >
> >> >> > Thanks. Appreciate for your help.
> >> >> >
> >> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
> >> >> > getting
> >> >> > nsh> prompt.
> >> >> >
> >> >> > Its ok sir. Thanks for your help.
> >> >> >
> >> >> >
> >> >> >
> >> >> > Thanks & Regards,
> >> >> > Rushikesh Ghatkar
> >> >> >
> >> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu <
> mtologlu@hotmail.com>
> >> >> > wrote:
> >> >> >
> >> >> > > Hi,
> >> >> > >
> >> >> > > Your nuttx.bin is probably different than the nuttx.bin file
> which
> >> >> > > I
> >> >> sent
> >> >> > > to you that's why I configured and compiled an sent to you a new
> >> >> > > one
> >> >> for
> >> >> > > your sake; If you still can't get the nsh> prompt with the
> >> >> > > firmware
> >> >> > > I
> >> >> > sent
> >> >> > > to you I don't have any more answer for you. Maybe someone else
> >> >> > > can
> >> >> > > contribute.
> >> >> > >
> >> >> > > Good luck.
> >> >> > >
> >> >> > > From: rushi ghatkar <ru...@gmail.com>
> >> >> > > 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 <
> >> >> rushighatkar35@gmail.com
> >> >> > > <ma...@gmail.com>> wrote:
> >> >> > > Hi Sir,
> >> >> > >
> >> >> > > Thanks for your reply. Really appreciate it.
> >> >> > >
> >> >> > > When i configured and compiled nuttx rtos then in my system
> >> nuttx.bin
> >> >> > file
> >> >> > > was created. And I have flashed that file also. Please find the
> >> nuttx
> >> >> > > directory image attachment.
> >> >> > >
> >> >> > > Your firmware file, nuttx bin file I have flashed successfully
> >> >> > > using
> >> >> > > STM32CubeProgramer.
> >> >> > >
> >> >> > > But the issue is,
> >> >> > > 1. picocom or minicom is not working.
> >> >> > > 2. I want to create my own driver like PWM, ADC and for other
> >> >> > peripherals,
> >> >> > > for this where I should start to create? and how?
> >> >> > >
> >> >> > >
> >> >> > > Thanks & Regards,
> >> >> > > Rushikesh Ghatkar
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu
> >> >> > > <mtologlu@hotmail.com
> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> > > 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 <rushighatkar35@gmail.com<mailto:
> >> >> > > rushighatkar35@gmail.com>>
> >> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
> >> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
> >> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> >> >> > >
> >> >> > > Hi,
> >> >> > >
> >> >> > > Thanks for your reply.
> >> >> > >
> >> >> > > I have followed this youtube video from Nuttx Channel,
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
> >> >> > >
> >> >> > > From the above link I have followed each step exactly as it is.
> >> >> > >
> >> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in
> >> >> > > the
> >> >> end I
> >> >> > > was trying to execute command "openocd -f interface/stlink-v3.cfg
> >> >> > > -f
> >> >> > > target/stm32h7x.cfg" but this gives error. Please find the error
> >> >> > > image
> >> >> > > attachment.
> >> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
> >> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
> >> >> > > been
> >> >> > flashed
> >> >> > > successfully.
> >> >> > >
> >> >> > > After all this I was trying to open the nutshell using picocom,
> >> >> > > but
> >> >> > > nothing happened. No nutshell prompt appeared.
> >> >> > >
> >> >> > > Please help me to solve this issue.
> >> >> > >
> >> >> > >
> >> >> > > Thanks & Regards,
> >> >> > > Rushikesh Ghatkar
> >> >> > >
> >> >> > >
> >> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <
> >> mtologlu@hotmail.com
> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> > > Hi Rushikesh,
> >> >> > >
> >> >> > > If you copy paste and share in a file attachment all the command
> >> line
> >> >> > > content from "$ cd nuttxspace/nuttx" to the end - not only
> picocom
> >> >> > output "
> >> >> > > but everything that you did to configure and compile fooling "a
> >> >> > > video"
> >> >> (
> >> >> > > which video? ) , perhaps we help can you.
> >> >> > >
> >> >> > > Regards,
> >> >> > > Murat
> >> >> > >
> >> >> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
> >> >> <mailto:
> >> >> > > rushighatkar35@gmail.com>> wrote:
> >> >> > > > Hi,
> >> >> > > >
> >> >> > > > I have followed a youtube video from Nuttx Channel to configure
> >> and
> >> >> > > compile
> >> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
> >> >> > STM32CUbeProgrammer
> >> >> > > I
> >> >> > > > have also flashed the nuttx.bin file into the board.
> >> >> > > > But when I was trying to use minicom or picocom, I'm unable to
> >> >> > > > use
> >> >> it.
> >> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b
> >> 115200"
> >> >> *,
> >> >> > > > nutshell prompt is not appearing, please find the attachment.
> >> >> > > > Need help for this.
> >> >> > > >
> >> >> > > >
> >> >> > > > Regards,
> >> >> > > > Rushikesh Ghatkar
> >> >> > > >
> >> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <
> >> mtologlu@hotmail.com
> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> > > >
> >> >> > > > > Hi Rushi,
> >> >> > > > >
> >> >> > > > > Unless we know what you are trying to do we can't help you.
> >> There
> >> >> may
> >> >> > > be a
> >> >> > > > > mistake anywhere!
> >> >> > > > >
> >> >> > > > > Explain what did you try so far, how ? Give us the links of
> >> >> > > > > the
> >> >> > > > > application you're trying.. So may be we can discover your
> >> >> > > > > mistake.
> >> >> > > > >
> >> >> > > > > Regards,
> >> >> > > > > Murat
> >> >> > > > >
> >> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar
> >> >> > > > > <rushighatkar35@gmail.com
> >> >> > > <ma...@gmail.com>> wrote:
> >> >> > > > > > 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 command is not working so I tried STM32CubeProgrammer
> >> >> > > > > > to
> >> >> > flash
> >> >> > > and
> >> >> > > > > it
> >> >> > > > > > got flash successfully.
> >> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
> >> >> > > executing and
> >> >> > > > > > resetting the board it's just waiting but the nsh> prompt
> >> >> > > > > > isn't
> >> >> > > > > appearing.
> >> >> > > > > > What to do about it?
> >> >> > > > > >
> >> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
> >> >> > > > > > Nucleo-H743ZI2
> >> >> > > board
> >> >> > > > > and
> >> >> > > > > > can help me with this issue?
> >> >> > > > > > Please help me to solve this issue.
> >> >> > > > > > And also I want to create my own driver using nuttx rtos on
> >> >> > > > > > a
> >> >> > > > > Nucleo-H73ZI2
> >> >> > > > > > board . How to create our own driver and which IDE we have
> >> >> > > > > > to
> >> >> use?
> >> >> > > > > >
> >> >> > > > > > Please help me.
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > > Thanks & Regards,
> >> >> > > > > > Rushikesh Ghatkar
> >> >> > > > > >
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >> >
> >>
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
Hi Alan Sir,
Thanks for your help.
Here is answer,
- Are you sure that /dev/ttyACM0 is from you board (case there are
other board or USB modem on your computer, please remove it)
*Answer: *Yes sir. I have checked it.
- Maybe the STLink in the board is not connected to the right pins of
the USART3 (PD9 and PD8) ou it needs some jumpers (I don't have this
board to confirm)
*Answer:* In Nucleo-h743zi2 board's pdf I have checked it. And it says it
is connected internally st-link v3 to USART3.
Regards,
Rushikesh Ghatkar
On Wed, Aug 11, 2021 at 5:18 PM Alan Carvalho de Assis <ac...@gmail.com>
wrote:
> Hi Rushikesh,
>
> Yes, seams like the NuttX was initialized correctly.
>
> There are some possible reason why you are not seem the NSH terminal:
>
> - Are you sure that /dev/ttyACM0 is from you board (case there are
> other board or USB modem on your computer, please remove it)
>
> - Maybe the STLink in the board is not connected to the right pins of
> the USART3 (PD9 and PD8) ou it needs some jumpers (I don't have this
> board to confirm)
>
> Do you have flashed same example from ST that used the serial on
> USART3 to confirm it is working?
>
> 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/11/21, rushi ghatkar <ru...@gmail.com> wrote:
> > Hi Alan Sir,
> >
> > Thanks for your instructions.
> > As per your steps, I have followed.
> > OpenOCD is not working. Here in Nucleo-H743zi2, stlink-v3 is available.
> So
> > I have tried the command : *openocd -f interface/stlink-v3.cfg
> > target/nucleo-h743zi2.cfg* , gives error, please find the
> *openocd__error*
> > screenshot attached.
> >
> > So, Instead of openocd I have tried STM32CubeProgrammer to flash the*
> > nuttx.bin* file on board and the file downloaded successfully.
> > And the solid LED is there. Please find the image attached.
> >
> > Is that right? Code got flashed?
> >
> >
> >
> > Regards,
> > Rushikesh Ghatkar
> >
> > On Tue, Aug 10, 2021 at 6:08 PM Alan Carvalho de Assis <
> acassis@gmail.com>
> > wrote:
> >
> >> Hi Rushikesh,
> >>
> >> 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
> >> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
> >> is correctly defined)
> >>
> >> $ make
> >>
> >> (flash firmware nuttx.bin in your board: you can use openocd or other
> >> tool, no problem)
> >>
> >> Besides the "nsh>" another indication that NuttX is starting is a
> >> solid LED turning ON, if it is crashing you should see an LED
> >> blinking.
> >>
> >> BR,
> >>
> >> Alan
> >>
> >> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
> >> > Hi Sir,
> >> >
> >> > Thanks for your reply.
> >> >
> >> > 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.
> >> > Youtube Link :
> >> >
> >>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
> >> >
> >> > I did exactly as it is and finally the nuttx.bin file has been created
> >> and
> >> > I have flashed it by using STM32CubeProgrammer.
> >> >
> >> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
> >> > Picocom or minicom is not working, so I'm working on it to get it
> work.
> >> >
> >> > But now I have doubts,
> >> > 1. How to create our own driver? I want to create my own driver like
> >> PWM,
> >> > ADC and for other peripherals, for this where I should start to
> create?
> >> and
> >> > how??
> >> > 2. To create our own driver, where do we have to create it like in
> >> > Ubuntu
> >> > or is there any other IDE we can use in ubuntu?
> >> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
> >> > possible to do programming in STM32CubeIDE while the nuttx.bin file is
> >> > already on board?
> >> >
> >> >
> >> > Thanks & Regards,
> >> > Rushikesh Ghatkar
> >> >
> >> >
> >> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
> >> > <si...@ingenieurbuero-filgis.de>
> >> > wrote:
> >> >
> >> >> Hi Sir,
> >> >>
> >> >> split you problem:
> >> >>
> >> >> Have you verified 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 <
> >> rushighatkar35@gmail.com>
> >> >> wrote:
> >> >>
> >> >> > Hi Sir,
> >> >> >
> >> >> > Thanks. Appreciate for your help.
> >> >> >
> >> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
> >> >> > getting
> >> >> > nsh> prompt.
> >> >> >
> >> >> > Its ok sir. Thanks for your help.
> >> >> >
> >> >> >
> >> >> >
> >> >> > Thanks & Regards,
> >> >> > Rushikesh Ghatkar
> >> >> >
> >> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu <
> mtologlu@hotmail.com>
> >> >> > wrote:
> >> >> >
> >> >> > > Hi,
> >> >> > >
> >> >> > > Your nuttx.bin is probably different than the nuttx.bin file
> which
> >> >> > > I
> >> >> sent
> >> >> > > to you that's why I configured and compiled an sent to you a new
> >> >> > > one
> >> >> for
> >> >> > > your sake; If you still can't get the nsh> prompt with the
> >> >> > > firmware
> >> >> > > I
> >> >> > sent
> >> >> > > to you I don't have any more answer for you. Maybe someone else
> >> >> > > can
> >> >> > > contribute.
> >> >> > >
> >> >> > > Good luck.
> >> >> > >
> >> >> > > From: rushi ghatkar <ru...@gmail.com>
> >> >> > > 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 <
> >> >> rushighatkar35@gmail.com
> >> >> > > <ma...@gmail.com>> wrote:
> >> >> > > Hi Sir,
> >> >> > >
> >> >> > > Thanks for your reply. Really appreciate it.
> >> >> > >
> >> >> > > When i configured and compiled nuttx rtos then in my system
> >> nuttx.bin
> >> >> > file
> >> >> > > was created. And I have flashed that file also. Please find the
> >> nuttx
> >> >> > > directory image attachment.
> >> >> > >
> >> >> > > Your firmware file, nuttx bin file I have flashed successfully
> >> >> > > using
> >> >> > > STM32CubeProgramer.
> >> >> > >
> >> >> > > But the issue is,
> >> >> > > 1. picocom or minicom is not working.
> >> >> > > 2. I want to create my own driver like PWM, ADC and for other
> >> >> > peripherals,
> >> >> > > for this where I should start to create? and how?
> >> >> > >
> >> >> > >
> >> >> > > Thanks & Regards,
> >> >> > > Rushikesh Ghatkar
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu
> >> >> > > <mtologlu@hotmail.com
> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> > > 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 <rushighatkar35@gmail.com<mailto:
> >> >> > > rushighatkar35@gmail.com>>
> >> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
> >> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
> >> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> >> >> > >
> >> >> > > Hi,
> >> >> > >
> >> >> > > Thanks for your reply.
> >> >> > >
> >> >> > > I have followed this youtube video from Nuttx Channel,
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
> >> >> > >
> >> >> > > From the above link I have followed each step exactly as it is.
> >> >> > >
> >> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in
> >> >> > > the
> >> >> end I
> >> >> > > was trying to execute command "openocd -f interface/stlink-v3.cfg
> >> >> > > -f
> >> >> > > target/stm32h7x.cfg" but this gives error. Please find the error
> >> >> > > image
> >> >> > > attachment.
> >> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
> >> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
> >> >> > > been
> >> >> > flashed
> >> >> > > successfully.
> >> >> > >
> >> >> > > After all this I was trying to open the nutshell using picocom,
> >> >> > > but
> >> >> > > nothing happened. No nutshell prompt appeared.
> >> >> > >
> >> >> > > Please help me to solve this issue.
> >> >> > >
> >> >> > >
> >> >> > > Thanks & Regards,
> >> >> > > Rushikesh Ghatkar
> >> >> > >
> >> >> > >
> >> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <
> >> mtologlu@hotmail.com
> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> > > Hi Rushikesh,
> >> >> > >
> >> >> > > If you copy paste and share in a file attachment all the command
> >> line
> >> >> > > content from "$ cd nuttxspace/nuttx" to the end - not only
> picocom
> >> >> > output "
> >> >> > > but everything that you did to configure and compile fooling "a
> >> >> > > video"
> >> >> (
> >> >> > > which video? ) , perhaps we help can you.
> >> >> > >
> >> >> > > Regards,
> >> >> > > Murat
> >> >> > >
> >> >> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
> >> >> <mailto:
> >> >> > > rushighatkar35@gmail.com>> wrote:
> >> >> > > > Hi,
> >> >> > > >
> >> >> > > > I have followed a youtube video from Nuttx Channel to configure
> >> and
> >> >> > > compile
> >> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
> >> >> > STM32CUbeProgrammer
> >> >> > > I
> >> >> > > > have also flashed the nuttx.bin file into the board.
> >> >> > > > But when I was trying to use minicom or picocom, I'm unable to
> >> >> > > > use
> >> >> it.
> >> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b
> >> 115200"
> >> >> *,
> >> >> > > > nutshell prompt is not appearing, please find the attachment.
> >> >> > > > Need help for this.
> >> >> > > >
> >> >> > > >
> >> >> > > > Regards,
> >> >> > > > Rushikesh Ghatkar
> >> >> > > >
> >> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <
> >> mtologlu@hotmail.com
> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> > > >
> >> >> > > > > Hi Rushi,
> >> >> > > > >
> >> >> > > > > Unless we know what you are trying to do we can't help you.
> >> There
> >> >> may
> >> >> > > be a
> >> >> > > > > mistake anywhere!
> >> >> > > > >
> >> >> > > > > Explain what did you try so far, how ? Give us the links of
> >> >> > > > > the
> >> >> > > > > application you're trying.. So may be we can discover your
> >> >> > > > > mistake.
> >> >> > > > >
> >> >> > > > > Regards,
> >> >> > > > > Murat
> >> >> > > > >
> >> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar
> >> >> > > > > <rushighatkar35@gmail.com
> >> >> > > <ma...@gmail.com>> wrote:
> >> >> > > > > > 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 command is not working so I tried STM32CubeProgrammer
> >> >> > > > > > to
> >> >> > flash
> >> >> > > and
> >> >> > > > > it
> >> >> > > > > > got flash successfully.
> >> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
> >> >> > > executing and
> >> >> > > > > > resetting the board it's just waiting but the nsh> prompt
> >> >> > > > > > isn't
> >> >> > > > > appearing.
> >> >> > > > > > What to do about it?
> >> >> > > > > >
> >> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
> >> >> > > > > > Nucleo-H743ZI2
> >> >> > > board
> >> >> > > > > and
> >> >> > > > > > can help me with this issue?
> >> >> > > > > > Please help me to solve this issue.
> >> >> > > > > > And also I want to create my own driver using nuttx rtos on
> >> >> > > > > > a
> >> >> > > > > Nucleo-H73ZI2
> >> >> > > > > > board . How to create our own driver and which IDE we have
> >> >> > > > > > to
> >> >> use?
> >> >> > > > > >
> >> >> > > > > > Please help me.
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > > Thanks & Regards,
> >> >> > > > > > Rushikesh Ghatkar
> >> >> > > > > >
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >> >
> >>
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Alan Carvalho de Assis <ac...@gmail.com>.
Hi Rushikesh,
Yes, seams like the NuttX was initialized correctly.
There are some possible reason why you are not seem the NSH terminal:
- Are you sure that /dev/ttyACM0 is from you board (case there are
other board or USB modem on your computer, please remove it)
- Maybe the STLink in the board is not connected to the right pins of
the USART3 (PD9 and PD8) ou it needs some jumpers (I don't have this
board to confirm)
Do you have flashed same example from ST that used the serial on
USART3 to confirm it is working?
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/11/21, rushi ghatkar <ru...@gmail.com> wrote:
> Hi Alan Sir,
>
> Thanks for your instructions.
> As per your steps, I have followed.
> OpenOCD is not working. Here in Nucleo-H743zi2, stlink-v3 is available. So
> I have tried the command : *openocd -f interface/stlink-v3.cfg
> target/nucleo-h743zi2.cfg* , gives error, please find the *openocd__error*
> screenshot attached.
>
> So, Instead of openocd I have tried STM32CubeProgrammer to flash the*
> nuttx.bin* file on board and the file downloaded successfully.
> And the solid LED is there. Please find the image attached.
>
> Is that right? Code got flashed?
>
>
>
> Regards,
> Rushikesh Ghatkar
>
> On Tue, Aug 10, 2021 at 6:08 PM Alan Carvalho de Assis <ac...@gmail.com>
> wrote:
>
>> Hi Rushikesh,
>>
>> 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
>> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
>> is correctly defined)
>>
>> $ make
>>
>> (flash firmware nuttx.bin in your board: you can use openocd or other
>> tool, no problem)
>>
>> Besides the "nsh>" another indication that NuttX is starting is a
>> solid LED turning ON, if it is crashing you should see an LED
>> blinking.
>>
>> BR,
>>
>> Alan
>>
>> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
>> > Hi Sir,
>> >
>> > Thanks for your reply.
>> >
>> > 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.
>> > Youtube Link :
>> >
>> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
>> >
>> > I did exactly as it is and finally the nuttx.bin file has been created
>> and
>> > I have flashed it by using STM32CubeProgrammer.
>> >
>> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
>> > Picocom or minicom is not working, so I'm working on it to get it work.
>> >
>> > But now I have doubts,
>> > 1. How to create our own driver? I want to create my own driver like
>> PWM,
>> > ADC and for other peripherals, for this where I should start to create?
>> and
>> > how??
>> > 2. To create our own driver, where do we have to create it like in
>> > Ubuntu
>> > or is there any other IDE we can use in ubuntu?
>> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
>> > possible to do programming in STM32CubeIDE while the nuttx.bin file is
>> > already on board?
>> >
>> >
>> > Thanks & Regards,
>> > Rushikesh Ghatkar
>> >
>> >
>> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
>> > <si...@ingenieurbuero-filgis.de>
>> > wrote:
>> >
>> >> Hi Sir,
>> >>
>> >> split you problem:
>> >>
>> >> Have you verified 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 <
>> rushighatkar35@gmail.com>
>> >> wrote:
>> >>
>> >> > Hi Sir,
>> >> >
>> >> > Thanks. Appreciate for your help.
>> >> >
>> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
>> >> > getting
>> >> > nsh> prompt.
>> >> >
>> >> > Its ok sir. Thanks for your help.
>> >> >
>> >> >
>> >> >
>> >> > Thanks & Regards,
>> >> > Rushikesh Ghatkar
>> >> >
>> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu <mt...@hotmail.com>
>> >> > wrote:
>> >> >
>> >> > > Hi,
>> >> > >
>> >> > > Your nuttx.bin is probably different than the nuttx.bin file which
>> >> > > I
>> >> sent
>> >> > > to you that's why I configured and compiled an sent to you a new
>> >> > > one
>> >> for
>> >> > > your sake; If you still can't get the nsh> prompt with the
>> >> > > firmware
>> >> > > I
>> >> > sent
>> >> > > to you I don't have any more answer for you. Maybe someone else
>> >> > > can
>> >> > > contribute.
>> >> > >
>> >> > > Good luck.
>> >> > >
>> >> > > From: rushi ghatkar <ru...@gmail.com>
>> >> > > 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 <
>> >> rushighatkar35@gmail.com
>> >> > > <ma...@gmail.com>> wrote:
>> >> > > Hi Sir,
>> >> > >
>> >> > > Thanks for your reply. Really appreciate it.
>> >> > >
>> >> > > When i configured and compiled nuttx rtos then in my system
>> nuttx.bin
>> >> > file
>> >> > > was created. And I have flashed that file also. Please find the
>> nuttx
>> >> > > directory image attachment.
>> >> > >
>> >> > > Your firmware file, nuttx bin file I have flashed successfully
>> >> > > using
>> >> > > STM32CubeProgramer.
>> >> > >
>> >> > > But the issue is,
>> >> > > 1. picocom or minicom is not working.
>> >> > > 2. I want to create my own driver like PWM, ADC and for other
>> >> > peripherals,
>> >> > > for this where I should start to create? and how?
>> >> > >
>> >> > >
>> >> > > Thanks & Regards,
>> >> > > Rushikesh Ghatkar
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu
>> >> > > <mtologlu@hotmail.com
>> >> > > <ma...@hotmail.com>> wrote:
>> >> > > 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 <rushighatkar35@gmail.com<mailto:
>> >> > > rushighatkar35@gmail.com>>
>> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
>> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
>> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
>> >> > >
>> >> > > Hi,
>> >> > >
>> >> > > Thanks for your reply.
>> >> > >
>> >> > > I have followed this youtube video from Nuttx Channel,
>> >> > >
>> >> > >
>> >> >
>> >>
>> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
>> >> > >
>> >> > > From the above link I have followed each step exactly as it is.
>> >> > >
>> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in
>> >> > > the
>> >> end I
>> >> > > was trying to execute command "openocd -f interface/stlink-v3.cfg
>> >> > > -f
>> >> > > target/stm32h7x.cfg" but this gives error. Please find the error
>> >> > > image
>> >> > > attachment.
>> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
>> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
>> >> > > been
>> >> > flashed
>> >> > > successfully.
>> >> > >
>> >> > > After all this I was trying to open the nutshell using picocom,
>> >> > > but
>> >> > > nothing happened. No nutshell prompt appeared.
>> >> > >
>> >> > > Please help me to solve this issue.
>> >> > >
>> >> > >
>> >> > > Thanks & Regards,
>> >> > > Rushikesh Ghatkar
>> >> > >
>> >> > >
>> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <
>> mtologlu@hotmail.com
>> >> > > <ma...@hotmail.com>> wrote:
>> >> > > Hi Rushikesh,
>> >> > >
>> >> > > If you copy paste and share in a file attachment all the command
>> line
>> >> > > content from "$ cd nuttxspace/nuttx" to the end - not only picocom
>> >> > output "
>> >> > > but everything that you did to configure and compile fooling "a
>> >> > > video"
>> >> (
>> >> > > which video? ) , perhaps we help can you.
>> >> > >
>> >> > > Regards,
>> >> > > Murat
>> >> > >
>> >> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
>> >> <mailto:
>> >> > > rushighatkar35@gmail.com>> wrote:
>> >> > > > Hi,
>> >> > > >
>> >> > > > I have followed a youtube video from Nuttx Channel to configure
>> and
>> >> > > compile
>> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
>> >> > STM32CUbeProgrammer
>> >> > > I
>> >> > > > have also flashed the nuttx.bin file into the board.
>> >> > > > But when I was trying to use minicom or picocom, I'm unable to
>> >> > > > use
>> >> it.
>> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b
>> 115200"
>> >> *,
>> >> > > > nutshell prompt is not appearing, please find the attachment.
>> >> > > > Need help for this.
>> >> > > >
>> >> > > >
>> >> > > > Regards,
>> >> > > > Rushikesh Ghatkar
>> >> > > >
>> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <
>> mtologlu@hotmail.com
>> >> > > <ma...@hotmail.com>> wrote:
>> >> > > >
>> >> > > > > Hi Rushi,
>> >> > > > >
>> >> > > > > Unless we know what you are trying to do we can't help you.
>> There
>> >> may
>> >> > > be a
>> >> > > > > mistake anywhere!
>> >> > > > >
>> >> > > > > Explain what did you try so far, how ? Give us the links of
>> >> > > > > the
>> >> > > > > application you're trying.. So may be we can discover your
>> >> > > > > mistake.
>> >> > > > >
>> >> > > > > Regards,
>> >> > > > > Murat
>> >> > > > >
>> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar
>> >> > > > > <rushighatkar35@gmail.com
>> >> > > <ma...@gmail.com>> wrote:
>> >> > > > > > 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 command is not working so I tried STM32CubeProgrammer
>> >> > > > > > to
>> >> > flash
>> >> > > and
>> >> > > > > it
>> >> > > > > > got flash successfully.
>> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
>> >> > > executing and
>> >> > > > > > resetting the board it's just waiting but the nsh> prompt
>> >> > > > > > isn't
>> >> > > > > appearing.
>> >> > > > > > What to do about it?
>> >> > > > > >
>> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
>> >> > > > > > Nucleo-H743ZI2
>> >> > > board
>> >> > > > > and
>> >> > > > > > can help me with this issue?
>> >> > > > > > Please help me to solve this issue.
>> >> > > > > > And also I want to create my own driver using nuttx rtos on
>> >> > > > > > a
>> >> > > > > Nucleo-H73ZI2
>> >> > > > > > board . How to create our own driver and which IDE we have
>> >> > > > > > to
>> >> use?
>> >> > > > > >
>> >> > > > > > Please help me.
>> >> > > > > >
>> >> > > > > >
>> >> > > > > >
>> >> > > > > > Thanks & Regards,
>> >> > > > > > Rushikesh Ghatkar
>> >> > > > > >
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >>
>> >
>>
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
Hi Daniel,
Thanks sir. Sure I will try this openocd command.
Regards,
Rushikesh Ghatkar
On Wed, Aug 11, 2021 at 5:13 PM Daniel Pereira Carvalho <da...@gmail.com>
wrote:
> Hi Rushikesh Ghatkar
>
> I think you missed a "-f". The command line should be
>
> *openocd -f interface/stlink-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 0x08000000" -c "exit"*
>
> BR
>
> Daniel
>
>
> Em qua., 11 de ago. de 2021 07:26, rushi ghatkar <rushighatkar35@gmail.com
> >
> escreveu:
>
> > Hi Alan Sir,
> >
> > Thanks for your instructions.
> > As per your steps, I have followed.
> > OpenOCD is not working. Here in Nucleo-H743zi2, stlink-v3 is available.
> > So I have tried the command : *openocd -f interface/stlink-v3.cfg
> > target/nucleo-h743zi2.cfg* , gives error, please find the
> *openocd__error*
> > screenshot attached.
> >
> > So, Instead of openocd I have tried STM32CubeProgrammer to flash the*
> > nuttx.bin* file on board and the file downloaded successfully.
> > And the solid LED is there. Please find the image attached.
> >
> > Is that right? Code got flashed?
> >
> >
> >
> > Regards,
> > Rushikesh Ghatkar
> >
> > On Tue, Aug 10, 2021 at 6:08 PM Alan Carvalho de Assis <
> acassis@gmail.com>
> > wrote:
> >
> >> Hi Rushikesh,
> >>
> >> 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
> >> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
> >> is correctly defined)
> >>
> >> $ make
> >>
> >> (flash firmware nuttx.bin in your board: you can use openocd or other
> >> tool, no problem)
> >>
> >> Besides the "nsh>" another indication that NuttX is starting is a
> >> solid LED turning ON, if it is crashing you should see an LED
> >> blinking.
> >>
> >> BR,
> >>
> >> Alan
> >>
> >> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
> >> > Hi Sir,
> >> >
> >> > Thanks for your reply.
> >> >
> >> > 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.
> >> > Youtube Link :
> >> >
> >>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
> >> >
> >> > I did exactly as it is and finally the nuttx.bin file has been created
> >> and
> >> > I have flashed it by using STM32CubeProgrammer.
> >> >
> >> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
> >> > Picocom or minicom is not working, so I'm working on it to get it
> work.
> >> >
> >> > But now I have doubts,
> >> > 1. How to create our own driver? I want to create my own driver like
> >> PWM,
> >> > ADC and for other peripherals, for this where I should start to
> create?
> >> and
> >> > how??
> >> > 2. To create our own driver, where do we have to create it like in
> >> Ubuntu
> >> > or is there any other IDE we can use in ubuntu?
> >> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
> >> > possible to do programming in STM32CubeIDE while the nuttx.bin file is
> >> > already on board?
> >> >
> >> >
> >> > Thanks & Regards,
> >> > Rushikesh Ghatkar
> >> >
> >> >
> >> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
> >> > <si...@ingenieurbuero-filgis.de>
> >> > wrote:
> >> >
> >> >> Hi Sir,
> >> >>
> >> >> split you problem:
> >> >>
> >> >> Have you verified 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 <
> >> rushighatkar35@gmail.com>
> >> >> wrote:
> >> >>
> >> >> > Hi Sir,
> >> >> >
> >> >> > Thanks. Appreciate for your help.
> >> >> >
> >> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
> >> >> > getting
> >> >> > nsh> prompt.
> >> >> >
> >> >> > Its ok sir. Thanks for your help.
> >> >> >
> >> >> >
> >> >> >
> >> >> > Thanks & Regards,
> >> >> > Rushikesh Ghatkar
> >> >> >
> >> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu <
> mtologlu@hotmail.com>
> >> >> > wrote:
> >> >> >
> >> >> > > Hi,
> >> >> > >
> >> >> > > Your nuttx.bin is probably different than the nuttx.bin file
> which
> >> I
> >> >> sent
> >> >> > > to you that's why I configured and compiled an sent to you a new
> >> one
> >> >> for
> >> >> > > your sake; If you still can't get the nsh> prompt with the
> >> firmware
> >> >> > > I
> >> >> > sent
> >> >> > > to you I don't have any more answer for you. Maybe someone else
> can
> >> >> > > contribute.
> >> >> > >
> >> >> > > Good luck.
> >> >> > >
> >> >> > > From: rushi ghatkar <ru...@gmail.com>
> >> >> > > 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 <
> >> >> rushighatkar35@gmail.com
> >> >> > > <ma...@gmail.com>> wrote:
> >> >> > > Hi Sir,
> >> >> > >
> >> >> > > Thanks for your reply. Really appreciate it.
> >> >> > >
> >> >> > > When i configured and compiled nuttx rtos then in my system
> >> nuttx.bin
> >> >> > file
> >> >> > > was created. And I have flashed that file also. Please find the
> >> nuttx
> >> >> > > directory image attachment.
> >> >> > >
> >> >> > > Your firmware file, nuttx bin file I have flashed successfully
> >> using
> >> >> > > STM32CubeProgramer.
> >> >> > >
> >> >> > > But the issue is,
> >> >> > > 1. picocom or minicom is not working.
> >> >> > > 2. I want to create my own driver like PWM, ADC and for other
> >> >> > peripherals,
> >> >> > > for this where I should start to create? and how?
> >> >> > >
> >> >> > >
> >> >> > > Thanks & Regards,
> >> >> > > Rushikesh Ghatkar
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu <
> >> mtologlu@hotmail.com
> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> > > 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 <rushighatkar35@gmail.com<mailto:
> >> >> > > rushighatkar35@gmail.com>>
> >> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
> >> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
> >> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> >> >> > >
> >> >> > > Hi,
> >> >> > >
> >> >> > > Thanks for your reply.
> >> >> > >
> >> >> > > I have followed this youtube video from Nuttx Channel,
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> >>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
> >> >> > >
> >> >> > > From the above link I have followed each step exactly as it is.
> >> >> > >
> >> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in
> the
> >> >> end I
> >> >> > > was trying to execute command "openocd -f interface/stlink-v3.cfg
> >> -f
> >> >> > > target/stm32h7x.cfg" but this gives error. Please find the error
> >> >> > > image
> >> >> > > attachment.
> >> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
> >> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
> been
> >> >> > flashed
> >> >> > > successfully.
> >> >> > >
> >> >> > > After all this I was trying to open the nutshell using picocom,
> but
> >> >> > > nothing happened. No nutshell prompt appeared.
> >> >> > >
> >> >> > > Please help me to solve this issue.
> >> >> > >
> >> >> > >
> >> >> > > Thanks & Regards,
> >> >> > > Rushikesh Ghatkar
> >> >> > >
> >> >> > >
> >> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <
> >> mtologlu@hotmail.com
> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> > > Hi Rushikesh,
> >> >> > >
> >> >> > > If you copy paste and share in a file attachment all the command
> >> line
> >> >> > > content from "$ cd nuttxspace/nuttx" to the end - not only
> picocom
> >> >> > output "
> >> >> > > but everything that you did to configure and compile fooling "a
> >> >> > > video"
> >> >> (
> >> >> > > which video? ) , perhaps we help can you.
> >> >> > >
> >> >> > > Regards,
> >> >> > > Murat
> >> >> > >
> >> >> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
> >> >> <mailto:
> >> >> > > rushighatkar35@gmail.com>> wrote:
> >> >> > > > Hi,
> >> >> > > >
> >> >> > > > I have followed a youtube video from Nuttx Channel to configure
> >> and
> >> >> > > compile
> >> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
> >> >> > STM32CUbeProgrammer
> >> >> > > I
> >> >> > > > have also flashed the nuttx.bin file into the board.
> >> >> > > > But when I was trying to use minicom or picocom, I'm unable to
> >> use
> >> >> it.
> >> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b
> >> 115200"
> >> >> *,
> >> >> > > > nutshell prompt is not appearing, please find the attachment.
> >> >> > > > Need help for this.
> >> >> > > >
> >> >> > > >
> >> >> > > > Regards,
> >> >> > > > Rushikesh Ghatkar
> >> >> > > >
> >> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <
> >> mtologlu@hotmail.com
> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> > > >
> >> >> > > > > Hi Rushi,
> >> >> > > > >
> >> >> > > > > Unless we know what you are trying to do we can't help you.
> >> There
> >> >> may
> >> >> > > be a
> >> >> > > > > mistake anywhere!
> >> >> > > > >
> >> >> > > > > Explain what did you try so far, how ? Give us the links of
> the
> >> >> > > > > application you're trying.. So may be we can discover your
> >> >> > > > > mistake.
> >> >> > > > >
> >> >> > > > > Regards,
> >> >> > > > > Murat
> >> >> > > > >
> >> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar <
> >> rushighatkar35@gmail.com
> >> >> > > <ma...@gmail.com>> wrote:
> >> >> > > > > > 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 command is not working so I tried STM32CubeProgrammer
> >> to
> >> >> > flash
> >> >> > > and
> >> >> > > > > it
> >> >> > > > > > got flash successfully.
> >> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
> >> >> > > executing and
> >> >> > > > > > resetting the board it's just waiting but the nsh> prompt
> >> >> > > > > > isn't
> >> >> > > > > appearing.
> >> >> > > > > > What to do about it?
> >> >> > > > > >
> >> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
> >> >> > > > > > Nucleo-H743ZI2
> >> >> > > board
> >> >> > > > > and
> >> >> > > > > > can help me with this issue?
> >> >> > > > > > Please help me to solve this issue.
> >> >> > > > > > And also I want to create my own driver using nuttx rtos
> on a
> >> >> > > > > Nucleo-H73ZI2
> >> >> > > > > > board . How to create our own driver and which IDE we have
> to
> >> >> use?
> >> >> > > > > >
> >> >> > > > > > Please help me.
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > > Thanks & Regards,
> >> >> > > > > > Rushikesh Ghatkar
> >> >> > > > > >
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >> >
> >>
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Daniel Pereira Carvalho <da...@gmail.com>.
Hi Rushikesh Ghatkar
I think you missed a "-f". The command line should be
*openocd -f interface/stlink-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 0x08000000" -c "exit"*
BR
Daniel
Em qua., 11 de ago. de 2021 07:26, rushi ghatkar <ru...@gmail.com>
escreveu:
> Hi Alan Sir,
>
> Thanks for your instructions.
> As per your steps, I have followed.
> OpenOCD is not working. Here in Nucleo-H743zi2, stlink-v3 is available.
> So I have tried the command : *openocd -f interface/stlink-v3.cfg
> target/nucleo-h743zi2.cfg* , gives error, please find the *openocd__error*
> screenshot attached.
>
> So, Instead of openocd I have tried STM32CubeProgrammer to flash the*
> nuttx.bin* file on board and the file downloaded successfully.
> And the solid LED is there. Please find the image attached.
>
> Is that right? Code got flashed?
>
>
>
> Regards,
> Rushikesh Ghatkar
>
> On Tue, Aug 10, 2021 at 6:08 PM Alan Carvalho de Assis <ac...@gmail.com>
> wrote:
>
>> Hi Rushikesh,
>>
>> 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
>> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
>> is correctly defined)
>>
>> $ make
>>
>> (flash firmware nuttx.bin in your board: you can use openocd or other
>> tool, no problem)
>>
>> Besides the "nsh>" another indication that NuttX is starting is a
>> solid LED turning ON, if it is crashing you should see an LED
>> blinking.
>>
>> BR,
>>
>> Alan
>>
>> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
>> > Hi Sir,
>> >
>> > Thanks for your reply.
>> >
>> > 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.
>> > Youtube Link :
>> >
>> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
>> >
>> > I did exactly as it is and finally the nuttx.bin file has been created
>> and
>> > I have flashed it by using STM32CubeProgrammer.
>> >
>> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
>> > Picocom or minicom is not working, so I'm working on it to get it work.
>> >
>> > But now I have doubts,
>> > 1. How to create our own driver? I want to create my own driver like
>> PWM,
>> > ADC and for other peripherals, for this where I should start to create?
>> and
>> > how??
>> > 2. To create our own driver, where do we have to create it like in
>> Ubuntu
>> > or is there any other IDE we can use in ubuntu?
>> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
>> > possible to do programming in STM32CubeIDE while the nuttx.bin file is
>> > already on board?
>> >
>> >
>> > Thanks & Regards,
>> > Rushikesh Ghatkar
>> >
>> >
>> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
>> > <si...@ingenieurbuero-filgis.de>
>> > wrote:
>> >
>> >> Hi Sir,
>> >>
>> >> split you problem:
>> >>
>> >> Have you verified 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 <
>> rushighatkar35@gmail.com>
>> >> wrote:
>> >>
>> >> > Hi Sir,
>> >> >
>> >> > Thanks. Appreciate for your help.
>> >> >
>> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
>> >> > getting
>> >> > nsh> prompt.
>> >> >
>> >> > Its ok sir. Thanks for your help.
>> >> >
>> >> >
>> >> >
>> >> > Thanks & Regards,
>> >> > Rushikesh Ghatkar
>> >> >
>> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu <mt...@hotmail.com>
>> >> > wrote:
>> >> >
>> >> > > Hi,
>> >> > >
>> >> > > Your nuttx.bin is probably different than the nuttx.bin file which
>> I
>> >> sent
>> >> > > to you that's why I configured and compiled an sent to you a new
>> one
>> >> for
>> >> > > your sake; If you still can't get the nsh> prompt with the
>> firmware
>> >> > > I
>> >> > sent
>> >> > > to you I don't have any more answer for you. Maybe someone else can
>> >> > > contribute.
>> >> > >
>> >> > > Good luck.
>> >> > >
>> >> > > From: rushi ghatkar <ru...@gmail.com>
>> >> > > 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 <
>> >> rushighatkar35@gmail.com
>> >> > > <ma...@gmail.com>> wrote:
>> >> > > Hi Sir,
>> >> > >
>> >> > > Thanks for your reply. Really appreciate it.
>> >> > >
>> >> > > When i configured and compiled nuttx rtos then in my system
>> nuttx.bin
>> >> > file
>> >> > > was created. And I have flashed that file also. Please find the
>> nuttx
>> >> > > directory image attachment.
>> >> > >
>> >> > > Your firmware file, nuttx bin file I have flashed successfully
>> using
>> >> > > STM32CubeProgramer.
>> >> > >
>> >> > > But the issue is,
>> >> > > 1. picocom or minicom is not working.
>> >> > > 2. I want to create my own driver like PWM, ADC and for other
>> >> > peripherals,
>> >> > > for this where I should start to create? and how?
>> >> > >
>> >> > >
>> >> > > Thanks & Regards,
>> >> > > Rushikesh Ghatkar
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu <
>> mtologlu@hotmail.com
>> >> > > <ma...@hotmail.com>> wrote:
>> >> > > 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 <rushighatkar35@gmail.com<mailto:
>> >> > > rushighatkar35@gmail.com>>
>> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
>> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
>> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
>> >> > >
>> >> > > Hi,
>> >> > >
>> >> > > Thanks for your reply.
>> >> > >
>> >> > > I have followed this youtube video from Nuttx Channel,
>> >> > >
>> >> > >
>> >> >
>> >>
>> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
>> >> > >
>> >> > > From the above link I have followed each step exactly as it is.
>> >> > >
>> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in the
>> >> end I
>> >> > > was trying to execute command "openocd -f interface/stlink-v3.cfg
>> -f
>> >> > > target/stm32h7x.cfg" but this gives error. Please find the error
>> >> > > image
>> >> > > attachment.
>> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
>> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has been
>> >> > flashed
>> >> > > successfully.
>> >> > >
>> >> > > After all this I was trying to open the nutshell using picocom, but
>> >> > > nothing happened. No nutshell prompt appeared.
>> >> > >
>> >> > > Please help me to solve this issue.
>> >> > >
>> >> > >
>> >> > > Thanks & Regards,
>> >> > > Rushikesh Ghatkar
>> >> > >
>> >> > >
>> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <
>> mtologlu@hotmail.com
>> >> > > <ma...@hotmail.com>> wrote:
>> >> > > Hi Rushikesh,
>> >> > >
>> >> > > If you copy paste and share in a file attachment all the command
>> line
>> >> > > content from "$ cd nuttxspace/nuttx" to the end - not only picocom
>> >> > output "
>> >> > > but everything that you did to configure and compile fooling "a
>> >> > > video"
>> >> (
>> >> > > which video? ) , perhaps we help can you.
>> >> > >
>> >> > > Regards,
>> >> > > Murat
>> >> > >
>> >> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
>> >> <mailto:
>> >> > > rushighatkar35@gmail.com>> wrote:
>> >> > > > Hi,
>> >> > > >
>> >> > > > I have followed a youtube video from Nuttx Channel to configure
>> and
>> >> > > compile
>> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
>> >> > STM32CUbeProgrammer
>> >> > > I
>> >> > > > have also flashed the nuttx.bin file into the board.
>> >> > > > But when I was trying to use minicom or picocom, I'm unable to
>> use
>> >> it.
>> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b
>> 115200"
>> >> *,
>> >> > > > nutshell prompt is not appearing, please find the attachment.
>> >> > > > Need help for this.
>> >> > > >
>> >> > > >
>> >> > > > Regards,
>> >> > > > Rushikesh Ghatkar
>> >> > > >
>> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <
>> mtologlu@hotmail.com
>> >> > > <ma...@hotmail.com>> wrote:
>> >> > > >
>> >> > > > > Hi Rushi,
>> >> > > > >
>> >> > > > > Unless we know what you are trying to do we can't help you.
>> There
>> >> may
>> >> > > be a
>> >> > > > > mistake anywhere!
>> >> > > > >
>> >> > > > > Explain what did you try so far, how ? Give us the links of the
>> >> > > > > application you're trying.. So may be we can discover your
>> >> > > > > mistake.
>> >> > > > >
>> >> > > > > Regards,
>> >> > > > > Murat
>> >> > > > >
>> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar <
>> rushighatkar35@gmail.com
>> >> > > <ma...@gmail.com>> wrote:
>> >> > > > > > 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 command is not working so I tried STM32CubeProgrammer
>> to
>> >> > flash
>> >> > > and
>> >> > > > > it
>> >> > > > > > got flash successfully.
>> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
>> >> > > executing and
>> >> > > > > > resetting the board it's just waiting but the nsh> prompt
>> >> > > > > > isn't
>> >> > > > > appearing.
>> >> > > > > > What to do about it?
>> >> > > > > >
>> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
>> >> > > > > > Nucleo-H743ZI2
>> >> > > board
>> >> > > > > and
>> >> > > > > > can help me with this issue?
>> >> > > > > > Please help me to solve this issue.
>> >> > > > > > And also I want to create my own driver using nuttx rtos on a
>> >> > > > > Nucleo-H73ZI2
>> >> > > > > > board . How to create our own driver and which IDE we have to
>> >> use?
>> >> > > > > >
>> >> > > > > > Please help me.
>> >> > > > > >
>> >> > > > > >
>> >> > > > > >
>> >> > > > > > Thanks & Regards,
>> >> > > > > > Rushikesh Ghatkar
>> >> > > > > >
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >>
>> >
>>
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
Hi Alan Sir,
Thanks for your instructions.
As per your steps, I have followed.
OpenOCD is not working. Here in Nucleo-H743zi2, stlink-v3 is available. So
I have tried the command : *openocd -f interface/stlink-v3.cfg
target/nucleo-h743zi2.cfg* , gives error, please find the *openocd__error*
screenshot attached.
So, Instead of openocd I have tried STM32CubeProgrammer to flash the*
nuttx.bin* file on board and the file downloaded successfully.
And the solid LED is there. Please find the image attached.
Is that right? Code got flashed?
Regards,
Rushikesh Ghatkar
On Tue, Aug 10, 2021 at 6:08 PM Alan Carvalho de Assis <ac...@gmail.com>
wrote:
> Hi Rushikesh,
>
> 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
> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
> is correctly defined)
>
> $ make
>
> (flash firmware nuttx.bin in your board: you can use openocd or other
> tool, no problem)
>
> Besides the "nsh>" another indication that NuttX is starting is a
> solid LED turning ON, if it is crashing you should see an LED
> blinking.
>
> BR,
>
> Alan
>
> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
> > Hi Sir,
> >
> > Thanks for your reply.
> >
> > 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.
> > Youtube Link :
> >
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
> >
> > I did exactly as it is and finally the nuttx.bin file has been created
> and
> > I have flashed it by using STM32CubeProgrammer.
> >
> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
> > Picocom or minicom is not working, so I'm working on it to get it work.
> >
> > But now I have doubts,
> > 1. How to create our own driver? I want to create my own driver like
> PWM,
> > ADC and for other peripherals, for this where I should start to create?
> and
> > how??
> > 2. To create our own driver, where do we have to create it like in Ubuntu
> > or is there any other IDE we can use in ubuntu?
> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
> > possible to do programming in STM32CubeIDE while the nuttx.bin file is
> > already on board?
> >
> >
> > Thanks & Regards,
> > Rushikesh Ghatkar
> >
> >
> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
> > <si...@ingenieurbuero-filgis.de>
> > wrote:
> >
> >> Hi Sir,
> >>
> >> split you problem:
> >>
> >> Have you verified 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 <
> rushighatkar35@gmail.com>
> >> wrote:
> >>
> >> > Hi Sir,
> >> >
> >> > Thanks. Appreciate for your help.
> >> >
> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
> >> > getting
> >> > nsh> prompt.
> >> >
> >> > Its ok sir. Thanks for your help.
> >> >
> >> >
> >> >
> >> > Thanks & Regards,
> >> > Rushikesh Ghatkar
> >> >
> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu <mt...@hotmail.com>
> >> > wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > Your nuttx.bin is probably different than the nuttx.bin file which I
> >> sent
> >> > > to you that's why I configured and compiled an sent to you a new one
> >> for
> >> > > your sake; If you still can't get the nsh> prompt with the firmware
> >> > > I
> >> > sent
> >> > > to you I don't have any more answer for you. Maybe someone else can
> >> > > contribute.
> >> > >
> >> > > Good luck.
> >> > >
> >> > > From: rushi ghatkar <ru...@gmail.com>
> >> > > 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 <
> >> rushighatkar35@gmail.com
> >> > > <ma...@gmail.com>> wrote:
> >> > > Hi Sir,
> >> > >
> >> > > Thanks for your reply. Really appreciate it.
> >> > >
> >> > > When i configured and compiled nuttx rtos then in my system
> nuttx.bin
> >> > file
> >> > > was created. And I have flashed that file also. Please find the
> nuttx
> >> > > directory image attachment.
> >> > >
> >> > > Your firmware file, nuttx bin file I have flashed successfully using
> >> > > STM32CubeProgramer.
> >> > >
> >> > > But the issue is,
> >> > > 1. picocom or minicom is not working.
> >> > > 2. I want to create my own driver like PWM, ADC and for other
> >> > peripherals,
> >> > > for this where I should start to create? and how?
> >> > >
> >> > >
> >> > > Thanks & Regards,
> >> > > Rushikesh Ghatkar
> >> > >
> >> > >
> >> > >
> >> > >
> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu <mtologlu@hotmail.com
> >> > > <ma...@hotmail.com>> wrote:
> >> > > 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 <rushighatkar35@gmail.com<mailto:
> >> > > rushighatkar35@gmail.com>>
> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> >> > >
> >> > > Hi,
> >> > >
> >> > > Thanks for your reply.
> >> > >
> >> > > I have followed this youtube video from Nuttx Channel,
> >> > >
> >> > >
> >> >
> >>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
> >> > >
> >> > > From the above link I have followed each step exactly as it is.
> >> > >
> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in the
> >> end I
> >> > > was trying to execute command "openocd -f interface/stlink-v3.cfg -f
> >> > > target/stm32h7x.cfg" but this gives error. Please find the error
> >> > > image
> >> > > attachment.
> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has been
> >> > flashed
> >> > > successfully.
> >> > >
> >> > > After all this I was trying to open the nutshell using picocom, but
> >> > > nothing happened. No nutshell prompt appeared.
> >> > >
> >> > > Please help me to solve this issue.
> >> > >
> >> > >
> >> > > Thanks & Regards,
> >> > > Rushikesh Ghatkar
> >> > >
> >> > >
> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <
> mtologlu@hotmail.com
> >> > > <ma...@hotmail.com>> wrote:
> >> > > Hi Rushikesh,
> >> > >
> >> > > If you copy paste and share in a file attachment all the command
> line
> >> > > content from "$ cd nuttxspace/nuttx" to the end - not only picocom
> >> > output "
> >> > > but everything that you did to configure and compile fooling "a
> >> > > video"
> >> (
> >> > > which video? ) , perhaps we help can you.
> >> > >
> >> > > Regards,
> >> > > Murat
> >> > >
> >> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
> >> <mailto:
> >> > > rushighatkar35@gmail.com>> wrote:
> >> > > > Hi,
> >> > > >
> >> > > > I have followed a youtube video from Nuttx Channel to configure
> and
> >> > > compile
> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
> >> > STM32CUbeProgrammer
> >> > > I
> >> > > > have also flashed the nuttx.bin file into the board.
> >> > > > But when I was trying to use minicom or picocom, I'm unable to use
> >> it.
> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b
> 115200"
> >> *,
> >> > > > nutshell prompt is not appearing, please find the attachment.
> >> > > > Need help for this.
> >> > > >
> >> > > >
> >> > > > Regards,
> >> > > > Rushikesh Ghatkar
> >> > > >
> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <
> mtologlu@hotmail.com
> >> > > <ma...@hotmail.com>> wrote:
> >> > > >
> >> > > > > Hi Rushi,
> >> > > > >
> >> > > > > Unless we know what you are trying to do we can't help you.
> There
> >> may
> >> > > be a
> >> > > > > mistake anywhere!
> >> > > > >
> >> > > > > Explain what did you try so far, how ? Give us the links of the
> >> > > > > application you're trying.. So may be we can discover your
> >> > > > > mistake.
> >> > > > >
> >> > > > > Regards,
> >> > > > > Murat
> >> > > > >
> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar <rushighatkar35@gmail.com
> >> > > <ma...@gmail.com>> wrote:
> >> > > > > > 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 command is not working so I tried STM32CubeProgrammer to
> >> > flash
> >> > > and
> >> > > > > it
> >> > > > > > got flash successfully.
> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
> >> > > executing and
> >> > > > > > resetting the board it's just waiting but the nsh> prompt
> >> > > > > > isn't
> >> > > > > appearing.
> >> > > > > > What to do about it?
> >> > > > > >
> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
> >> > > > > > Nucleo-H743ZI2
> >> > > board
> >> > > > > and
> >> > > > > > can help me with this issue?
> >> > > > > > Please help me to solve this issue.
> >> > > > > > And also I want to create my own driver using nuttx rtos on a
> >> > > > > Nucleo-H73ZI2
> >> > > > > > board . How to create our own driver and which IDE we have to
> >> use?
> >> > > > > >
> >> > > > > > Please help me.
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > > Thanks & Regards,
> >> > > > > > Rushikesh Ghatkar
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
Hi Brennan Sir,
Thank you for you reply
Regards,
Rushikesh
On Wed, Aug 11, 2021, 10:56 AM Brennan Ashton <ba...@brennanashton.com>
wrote:
> Ok I verified this is still working correctly.
>
> Here is a short asciinema of how I flash it using the artifacts
> generated in CI (same as what you should get from a local build) using
> a recent build of openocd.
> In the description there is a short script people might find useful
> for fetching these artifacts as well.
>
> https://asciinema.org/a/429943
>
> --Brennan
>
> On Tue, Aug 10, 2021 at 8:16 PM Brennan Ashton
> <ba...@brennanashton.com> wrote:
> >
> > This board is part of my 30 or so boards I test for releases. I suspect
> there is something else up although later tonight I could give it a go. I
> usually test via the artifacts that are attached to the CI build job so it
> is faster to check and also makes sure there is nothing special about my
> configuration.
> >
> > Some of this testing is automated for sim and for the basic ST boards
> where I do not have to set up a debugger.
> >
> > --Brennan
> >
> > On Tue, Aug 10, 2021, 7:38 PM Murat Tologlu <mt...@hotmail.com>
> wrote:
> >>
> >> Hi @acassis
> >>
> >> Who is/are responsible for Nucleo-h743zi2 board?
> >>
> >> I think, If this is an officially supported board, then there should be
> at least 1 person having this board and testing all the published
> configurations for every release and take the speech at situations like
> this.
> >>
> >> Perhaps you may remember when I started dealing with Nuttx about a year
> ago I had similar problems with running stm32f746g-disco:lvgl configuration
> and I asked help here
> https://github.com/apache/incubator-nuttx/issues/1643 , I couldn't get a
> help but fortunately Jonathan Gonzaga gave a hint upon my question here at
> LvGL forum
> https://forum.lvgl.io/t/lvgl-nuttx-touch-screen-performance/1498 , I
> changed my arm toolchain (arm-none-eabi-xxx) to a suitable release then my
> firmware worked very well. I thanks to Jonathan very much because on this
> occasion I learned that changing the toolchain may be a solution sometime
> and I recently used the same trick in an esp32 project successfully.
> >>
> >> There may be a similar toolchain mismatch here so I think it would be
> proper if one of maintainers tests my nuttx.bin and his own compiled
> firmware with the present master branch on his Nucleo-H743zi2 board.
> >>
> >> BR,
> >> Murat
> >>
> >> -----Original Message-----
> >> From: Alan Carvalho de Assis <ac...@gmail.com>
> >> Sent: Tuesday, August 10, 2021 3:38 PM
> >> To: dev@nuttx.apache.org
> >> Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> >>
> >> Hi Rushikesh,
> >>
> >> 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
> >> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
> is correctly defined)
> >>
> >> $ make
> >>
> >> (flash firmware nuttx.bin in your board: you can use openocd or other
> tool, no problem)
> >>
> >> Besides the "nsh>" another indication that NuttX is starting is a solid
> LED turning ON, if it is crashing you should see an LED blinking.
> >>
> >> BR,
> >>
> >> Alan
> >>
> >> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
> >> > Hi Sir,
> >> >
> >> > Thanks for your reply.
> >> >
> >> > 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.
> >> > Youtube Link :
> >> >
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhw
> >> > YRQKVu6glfDa8&index=1
> >> >
> >> > I did exactly as it is and finally the nuttx.bin file has been created
> >> > and I have flashed it by using STM32CubeProgrammer.
> >> >
> >> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
> >> > Picocom or minicom is not working, so I'm working on it to get it
> work.
> >> >
> >> > But now I have doubts,
> >> > 1. How to create our own driver? I want to create my own driver like
> >> > PWM, ADC and for other peripherals, for this where I should start to
> >> > create? and how??
> >> > 2. To create our own driver, where do we have to create it like in
> >> > Ubuntu or is there any other IDE we can use in ubuntu?
> >> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
> >> > possible to do programming in STM32CubeIDE while the nuttx.bin file is
> >> > already on board?
> >> >
> >> >
> >> > Thanks & Regards,
> >> > Rushikesh Ghatkar
> >> >
> >> >
> >> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
> >> > <si...@ingenieurbuero-filgis.de>
> >> > wrote:
> >> >
> >> >> Hi Sir,
> >> >>
> >> >> split you problem:
> >> >>
> >> >> Have you verified 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
> >> >> <ru...@gmail.com>
> >> >> wrote:
> >> >>
> >> >> > Hi Sir,
> >> >> >
> >> >> > Thanks. Appreciate for your help.
> >> >> >
> >> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
> >> >> > getting
> >> >> > nsh> prompt.
> >> >> >
> >> >> > Its ok sir. Thanks for your help.
> >> >> >
> >> >> >
> >> >> >
> >> >> > Thanks & Regards,
> >> >> > Rushikesh Ghatkar
> >> >> >
> >> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu
> >> >> > <mt...@hotmail.com>
> >> >> > wrote:
> >> >> >
> >> >> > > Hi,
> >> >> > >
> >> >> > > Your nuttx.bin is probably different than the nuttx.bin file
> >> >> > > which I
> >> >> sent
> >> >> > > to you that's why I configured and compiled an sent to you a new
> >> >> > > one
> >> >> for
> >> >> > > your sake; If you still can't get the nsh> prompt with the
> >> >> > > firmware I
> >> >> > sent
> >> >> > > to you I don't have any more answer for you. Maybe someone else
> >> >> > > can contribute.
> >> >> > >
> >> >> > > Good luck.
> >> >> > >
> >> >> > > From: rushi ghatkar <ru...@gmail.com>
> >> >> > > 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 <
> >> >> rushighatkar35@gmail.com
> >> >> > > <ma...@gmail.com>> wrote:
> >> >> > > Hi Sir,
> >> >> > >
> >> >> > > Thanks for your reply. Really appreciate it.
> >> >> > >
> >> >> > > When i configured and compiled nuttx rtos then in my system
> >> >> > > nuttx.bin
> >> >> > file
> >> >> > > was created. And I have flashed that file also. Please find the
> >> >> > > nuttx directory image attachment.
> >> >> > >
> >> >> > > Your firmware file, nuttx bin file I have flashed successfully
> >> >> > > using STM32CubeProgramer.
> >> >> > >
> >> >> > > But the issue is,
> >> >> > > 1. picocom or minicom is not working.
> >> >> > > 2. I want to create my own driver like PWM, ADC and for other
> >> >> > peripherals,
> >> >> > > for this where I should start to create? and how?
> >> >> > >
> >> >> > >
> >> >> > > Thanks & Regards,
> >> >> > > Rushikesh Ghatkar
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu
> >> >> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
> >> >> > > 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 <rushighatkar35@gmail.com<mailto:
> >> >> > > rushighatkar35@gmail.com>>
> >> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
> >> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
> >> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> >> >> > >
> >> >> > > Hi,
> >> >> > >
> >> >> > > Thanks for your reply.
> >> >> > >
> >> >> > > I have followed this youtube video from Nuttx Channel,
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lh
> >> >> wYRQKVu6glfDa8&index=1
> >> >> > >
> >> >> > > From the above link I have followed each step exactly as it is.
> >> >> > >
> >> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in
> >> >> > > the
> >> >> end I
> >> >> > > was trying to execute command "openocd -f interface/stlink-v3.cfg
> >> >> > > -f target/stm32h7x.cfg" but this gives error. Please find the
> >> >> > > error image attachment.
> >> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
> >> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
> >> >> > > been
> >> >> > flashed
> >> >> > > successfully.
> >> >> > >
> >> >> > > After all this I was trying to open the nutshell using picocom,
> >> >> > > but nothing happened. No nutshell prompt appeared.
> >> >> > >
> >> >> > > Please help me to solve this issue.
> >> >> > >
> >> >> > >
> >> >> > > Thanks & Regards,
> >> >> > > Rushikesh Ghatkar
> >> >> > >
> >> >> > >
> >> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu
> >> >> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
> >> >> > > Hi Rushikesh,
> >> >> > >
> >> >> > > If you copy paste and share in a file attachment all the command
> >> >> > > line content from "$ cd nuttxspace/nuttx" to the end - not only
> >> >> > > picocom
> >> >> > output "
> >> >> > > but everything that you did to configure and compile fooling "a
> >> >> > > video"
> >> >> (
> >> >> > > which video? ) , perhaps we help can you.
> >> >> > >
> >> >> > > Regards,
> >> >> > > Murat
> >> >> > >
> >> >> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
> >> >> <mailto:
> >> >> > > rushighatkar35@gmail.com>> wrote:
> >> >> > > > Hi,
> >> >> > > >
> >> >> > > > I have followed a youtube video from Nuttx Channel to configure
> >> >> > > > and
> >> >> > > compile
> >> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
> >> >> > STM32CUbeProgrammer
> >> >> > > I
> >> >> > > > have also flashed the nuttx.bin file into the board.
> >> >> > > > But when I was trying to use minicom or picocom, I'm unable to
> >> >> > > > use
> >> >> it.
> >> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b
> 115200"
> >> >> *,
> >> >> > > > nutshell prompt is not appearing, please find the attachment.
> >> >> > > > Need help for this.
> >> >> > > >
> >> >> > > >
> >> >> > > > Regards,
> >> >> > > > Rushikesh Ghatkar
> >> >> > > >
> >> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu
> >> >> > > > <mtologlu@hotmail.com
> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> > > >
> >> >> > > > > Hi Rushi,
> >> >> > > > >
> >> >> > > > > Unless we know what you are trying to do we can't help you.
> >> >> > > > > There
> >> >> may
> >> >> > > be a
> >> >> > > > > mistake anywhere!
> >> >> > > > >
> >> >> > > > > Explain what did you try so far, how ? Give us the links of
> >> >> > > > > the application you're trying.. So may be we can discover
> >> >> > > > > your mistake.
> >> >> > > > >
> >> >> > > > > Regards,
> >> >> > > > > Murat
> >> >> > > > >
> >> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar
> >> >> > > > > <rushighatkar35@gmail.com
> >> >> > > <ma...@gmail.com>> wrote:
> >> >> > > > > > 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 command is not working so I tried STM32CubeProgrammer
> >> >> > > > > > to
> >> >> > flash
> >> >> > > and
> >> >> > > > > it
> >> >> > > > > > got flash successfully.
> >> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
> >> >> > > executing and
> >> >> > > > > > resetting the board it's just waiting but the nsh> prompt
> >> >> > > > > > isn't
> >> >> > > > > appearing.
> >> >> > > > > > What to do about it?
> >> >> > > > > >
> >> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
> >> >> > > > > > Nucleo-H743ZI2
> >> >> > > board
> >> >> > > > > and
> >> >> > > > > > can help me with this issue?
> >> >> > > > > > Please help me to solve this issue.
> >> >> > > > > > And also I want to create my own driver using nuttx rtos on
> >> >> > > > > > a
> >> >> > > > > Nucleo-H73ZI2
> >> >> > > > > > board . How to create our own driver and which IDE we have
> >> >> > > > > > to
> >> >> use?
> >> >> > > > > >
> >> >> > > > > > Please help me.
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > > Thanks & Regards,
> >> >> > > > > > Rushikesh Ghatkar
> >> >> > > > > >
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Brennan Ashton <ba...@brennanashton.com>.
If you press enter a few time in the serial terminal do you get the nsh>
prompt? There might been some buffer issue. I use screen, but that should
not be a problem.
If this does not work you will likely need to use a debugger like gdb to
see if you are actually getting to the shell.
You can use the openocd to start gdb (this openocd config works for both
the h745 and h743 boards). The one you used is out dated which is why you
got the error.
openocd -f board/stm32h745i-disco.cfg
You may want to refer to some of the documentation here to use gdb with
this. Note that you will at a minimum want to enable debug symbols in your
build.
https://nuttx.apache.org/docs/latest/quickstart/debugging.html#debugging-with-openocd-and-gdb
With gdb you will want to use the nuttx file instead of the nuttx.bin as it
is the elf. I would recommend starting with nsh_main as the breakpoint, but
you may need to dig earlier.
--Brennan
On Tue, Aug 10, 2021, 11:53 PM rushi ghatkar <ru...@gmail.com>
wrote:
> Hi Brennan Sir,
>
>
> Thank you for your help.
>
> So, am I missing something? Means why it is not working on my board ?
>
> I have followed these steps properly as per this Nuttx channel video,
> Link:
>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
>
> And for another try I have followed this also from Apache Nuttx documents
> for installation, compilation and configuration,
> Link: https://nuttx.apache.org/docs/10.0.0/quickstart/index.html#
>
> And as per these two links I have followed, successfully created
> *nuttx.bin* and *nuttx.hex* files in nuttx directory.
>
> Still neither minicom is working nor picocom.
>
> Please help me with this.
>
>
>
> Thanks & Regards,
> Rushikesh Ghatkar
>
>
> On Wed, Aug 11, 2021, 10:56 AM Brennan Ashton <ba...@brennanashton.com>
> wrote:
>
> > Ok I verified this is still working correctly.
> >
> > Here is a short asciinema of how I flash it using the artifacts
> > generated in CI (same as what you should get from a local build) using
> > a recent build of openocd.
> > In the description there is a short script people might find useful
> > for fetching these artifacts as well.
> >
> > https://asciinema.org/a/429943
> >
> > --Brennan
> >
> > On Tue, Aug 10, 2021 at 8:16 PM Brennan Ashton
> > <ba...@brennanashton.com> wrote:
> > >
> > > This board is part of my 30 or so boards I test for releases. I suspect
> > there is something else up although later tonight I could give it a go.
> I
> > usually test via the artifacts that are attached to the CI build job so
> it
> > is faster to check and also makes sure there is nothing special about my
> > configuration.
> > >
> > > Some of this testing is automated for sim and for the basic ST boards
> > where I do not have to set up a debugger.
> > >
> > > --Brennan
> > >
> > > On Tue, Aug 10, 2021, 7:38 PM Murat Tologlu <mt...@hotmail.com>
> > wrote:
> > >>
> > >> Hi @acassis
> > >>
> > >> Who is/are responsible for Nucleo-h743zi2 board?
> > >>
> > >> I think, If this is an officially supported board, then there should
> be
> > at least 1 person having this board and testing all the published
> > configurations for every release and take the speech at situations like
> > this.
> > >>
> > >> Perhaps you may remember when I started dealing with Nuttx about a
> year
> > ago I had similar problems with running stm32f746g-disco:lvgl
> configuration
> > and I asked help here
> > https://github.com/apache/incubator-nuttx/issues/1643 , I couldn't get a
> > help but fortunately Jonathan Gonzaga gave a hint upon my question here
> at
> > LvGL forum
> > https://forum.lvgl.io/t/lvgl-nuttx-touch-screen-performance/1498 , I
> > changed my arm toolchain (arm-none-eabi-xxx) to a suitable release then
> my
> > firmware worked very well. I thanks to Jonathan very much because on this
> > occasion I learned that changing the toolchain may be a solution sometime
> > and I recently used the same trick in an esp32 project successfully.
> > >>
> > >> There may be a similar toolchain mismatch here so I think it would be
> > proper if one of maintainers tests my nuttx.bin and his own compiled
> > firmware with the present master branch on his Nucleo-H743zi2 board.
> > >>
> > >> BR,
> > >> Murat
> > >>
> > >> -----Original Message-----
> > >> From: Alan Carvalho de Assis <ac...@gmail.com>
> > >> Sent: Tuesday, August 10, 2021 3:38 PM
> > >> To: dev@nuttx.apache.org
> > >> Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> > >>
> > >> Hi Rushikesh,
> > >>
> > >> 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
> > >> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
> > is correctly defined)
> > >>
> > >> $ make
> > >>
> > >> (flash firmware nuttx.bin in your board: you can use openocd or other
> > tool, no problem)
> > >>
> > >> Besides the "nsh>" another indication that NuttX is starting is a
> solid
> > LED turning ON, if it is crashing you should see an LED blinking.
> > >>
> > >> BR,
> > >>
> > >> Alan
> > >>
> > >> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
> > >> > Hi Sir,
> > >> >
> > >> > Thanks for your reply.
> > >> >
> > >> > 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.
> > >> > Youtube Link :
> > >> >
> > https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhw
> > >> > YRQKVu6glfDa8&index=1
> > >> >
> > >> > I did exactly as it is and finally the nuttx.bin file has been
> created
> > >> > and I have flashed it by using STM32CubeProgrammer.
> > >> >
> > >> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
> > >> > Picocom or minicom is not working, so I'm working on it to get it
> > work.
> > >> >
> > >> > But now I have doubts,
> > >> > 1. How to create our own driver? I want to create my own driver
> like
> > >> > PWM, ADC and for other peripherals, for this where I should start to
> > >> > create? and how??
> > >> > 2. To create our own driver, where do we have to create it like in
> > >> > Ubuntu or is there any other IDE we can use in ubuntu?
> > >> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is
> it
> > >> > possible to do programming in STM32CubeIDE while the nuttx.bin file
> is
> > >> > already on board?
> > >> >
> > >> >
> > >> > Thanks & Regards,
> > >> > Rushikesh Ghatkar
> > >> >
> > >> >
> > >> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
> > >> > <si...@ingenieurbuero-filgis.de>
> > >> > wrote:
> > >> >
> > >> >> Hi Sir,
> > >> >>
> > >> >> split you problem:
> > >> >>
> > >> >> Have you verified 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
> > >> >> <ru...@gmail.com>
> > >> >> wrote:
> > >> >>
> > >> >> > Hi Sir,
> > >> >> >
> > >> >> > Thanks. Appreciate for your help.
> > >> >> >
> > >> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
> > >> >> > getting
> > >> >> > nsh> prompt.
> > >> >> >
> > >> >> > Its ok sir. Thanks for your help.
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> > Thanks & Regards,
> > >> >> > Rushikesh Ghatkar
> > >> >> >
> > >> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu
> > >> >> > <mt...@hotmail.com>
> > >> >> > wrote:
> > >> >> >
> > >> >> > > Hi,
> > >> >> > >
> > >> >> > > Your nuttx.bin is probably different than the nuttx.bin file
> > >> >> > > which I
> > >> >> sent
> > >> >> > > to you that's why I configured and compiled an sent to you a
> new
> > >> >> > > one
> > >> >> for
> > >> >> > > your sake; If you still can't get the nsh> prompt with the
> > >> >> > > firmware I
> > >> >> > sent
> > >> >> > > to you I don't have any more answer for you. Maybe someone else
> > >> >> > > can contribute.
> > >> >> > >
> > >> >> > > Good luck.
> > >> >> > >
> > >> >> > > From: rushi ghatkar <ru...@gmail.com>
> > >> >> > > 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 <
> > >> >> rushighatkar35@gmail.com
> > >> >> > > <ma...@gmail.com>> wrote:
> > >> >> > > Hi Sir,
> > >> >> > >
> > >> >> > > Thanks for your reply. Really appreciate it.
> > >> >> > >
> > >> >> > > When i configured and compiled nuttx rtos then in my system
> > >> >> > > nuttx.bin
> > >> >> > file
> > >> >> > > was created. And I have flashed that file also. Please find the
> > >> >> > > nuttx directory image attachment.
> > >> >> > >
> > >> >> > > Your firmware file, nuttx bin file I have flashed successfully
> > >> >> > > using STM32CubeProgramer.
> > >> >> > >
> > >> >> > > But the issue is,
> > >> >> > > 1. picocom or minicom is not working.
> > >> >> > > 2. I want to create my own driver like PWM, ADC and for other
> > >> >> > peripherals,
> > >> >> > > for this where I should start to create? and how?
> > >> >> > >
> > >> >> > >
> > >> >> > > Thanks & Regards,
> > >> >> > > Rushikesh Ghatkar
> > >> >> > >
> > >> >> > >
> > >> >> > >
> > >> >> > >
> > >> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu
> > >> >> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
> > >> >> > > 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 <rushighatkar35@gmail.com<mailto:
> > >> >> > > rushighatkar35@gmail.com>>
> > >> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
> > >> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
> > >> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> > >> >> > >
> > >> >> > > Hi,
> > >> >> > >
> > >> >> > > Thanks for your reply.
> > >> >> > >
> > >> >> > > I have followed this youtube video from Nuttx Channel,
> > >> >> > >
> > >> >> > >
> > >> >> >
> > >> >>
> > https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lh
> > >> >> wYRQKVu6glfDa8&index=1
> > >> >> > >
> > >> >> > > From the above link I have followed each step exactly as it is.
> > >> >> > >
> > >> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in
> > >> >> > > the
> > >> >> end I
> > >> >> > > was trying to execute command "openocd -f
> interface/stlink-v3.cfg
> > >> >> > > -f target/stm32h7x.cfg" but this gives error. Please find the
> > >> >> > > error image attachment.
> > >> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into
> the
> > >> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
> > >> >> > > been
> > >> >> > flashed
> > >> >> > > successfully.
> > >> >> > >
> > >> >> > > After all this I was trying to open the nutshell using picocom,
> > >> >> > > but nothing happened. No nutshell prompt appeared.
> > >> >> > >
> > >> >> > > Please help me to solve this issue.
> > >> >> > >
> > >> >> > >
> > >> >> > > Thanks & Regards,
> > >> >> > > Rushikesh Ghatkar
> > >> >> > >
> > >> >> > >
> > >> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu
> > >> >> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
> > >> >> > > Hi Rushikesh,
> > >> >> > >
> > >> >> > > If you copy paste and share in a file attachment all the
> command
> > >> >> > > line content from "$ cd nuttxspace/nuttx" to the end - not only
> > >> >> > > picocom
> > >> >> > output "
> > >> >> > > but everything that you did to configure and compile fooling "a
> > >> >> > > video"
> > >> >> (
> > >> >> > > which video? ) , perhaps we help can you.
> > >> >> > >
> > >> >> > > Regards,
> > >> >> > > Murat
> > >> >> > >
> > >> >> > > On 2021/08/10 05:00:36, rushi ghatkar <
> rushighatkar35@gmail.com
> > >> >> <mailto:
> > >> >> > > rushighatkar35@gmail.com>> wrote:
> > >> >> > > > Hi,
> > >> >> > > >
> > >> >> > > > I have followed a youtube video from Nuttx Channel to
> configure
> > >> >> > > > and
> > >> >> > > compile
> > >> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
> > >> >> > STM32CUbeProgrammer
> > >> >> > > I
> > >> >> > > > have also flashed the nuttx.bin file into the board.
> > >> >> > > > But when I was trying to use minicom or picocom, I'm unable
> to
> > >> >> > > > use
> > >> >> it.
> > >> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b
> > 115200"
> > >> >> *,
> > >> >> > > > nutshell prompt is not appearing, please find the attachment.
> > >> >> > > > Need help for this.
> > >> >> > > >
> > >> >> > > >
> > >> >> > > > Regards,
> > >> >> > > > Rushikesh Ghatkar
> > >> >> > > >
> > >> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu
> > >> >> > > > <mtologlu@hotmail.com
> > >> >> > > <ma...@hotmail.com>> wrote:
> > >> >> > > >
> > >> >> > > > > Hi Rushi,
> > >> >> > > > >
> > >> >> > > > > Unless we know what you are trying to do we can't help you.
> > >> >> > > > > There
> > >> >> may
> > >> >> > > be a
> > >> >> > > > > mistake anywhere!
> > >> >> > > > >
> > >> >> > > > > Explain what did you try so far, how ? Give us the links of
> > >> >> > > > > the application you're trying.. So may be we can discover
> > >> >> > > > > your mistake.
> > >> >> > > > >
> > >> >> > > > > Regards,
> > >> >> > > > > Murat
> > >> >> > > > >
> > >> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar
> > >> >> > > > > <rushighatkar35@gmail.com
> > >> >> > > <ma...@gmail.com>> wrote:
> > >> >> > > > > > 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 command is not working so I tried
> STM32CubeProgrammer
> > >> >> > > > > > to
> > >> >> > flash
> > >> >> > > and
> > >> >> > > > > it
> > >> >> > > > > > got flash successfully.
> > >> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" ,
> after
> > >> >> > > executing and
> > >> >> > > > > > resetting the board it's just waiting but the nsh>
> prompt
> > >> >> > > > > > isn't
> > >> >> > > > > appearing.
> > >> >> > > > > > What to do about it?
> > >> >> > > > > >
> > >> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
> > >> >> > > > > > Nucleo-H743ZI2
> > >> >> > > board
> > >> >> > > > > and
> > >> >> > > > > > can help me with this issue?
> > >> >> > > > > > Please help me to solve this issue.
> > >> >> > > > > > And also I want to create my own driver using nuttx rtos
> on
> > >> >> > > > > > a
> > >> >> > > > > Nucleo-H73ZI2
> > >> >> > > > > > board . How to create our own driver and which IDE we
> have
> > >> >> > > > > > to
> > >> >> use?
> > >> >> > > > > >
> > >> >> > > > > > Please help me.
> > >> >> > > > > >
> > >> >> > > > > >
> > >> >> > > > > >
> > >> >> > > > > > Thanks & Regards,
> > >> >> > > > > > Rushikesh Ghatkar
> > >> >> > > > > >
> > >> >> > > > >
> > >> >> > > >
> > >> >> > >
> > >> >> >
> > >> >>
> > >> >
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
Hi Brennan Sir,
Thank you for your help.
So, am I missing something? Means why it is not working on my board ?
I have followed these steps properly as per this Nuttx channel video,
Link:
https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
And for another try I have followed this also from Apache Nuttx documents
for installation, compilation and configuration,
Link: https://nuttx.apache.org/docs/10.0.0/quickstart/index.html#
And as per these two links I have followed, successfully created
*nuttx.bin* and *nuttx.hex* files in nuttx directory.
Still neither minicom is working nor picocom.
Please help me with this.
Thanks & Regards,
Rushikesh Ghatkar
On Wed, Aug 11, 2021, 10:56 AM Brennan Ashton <ba...@brennanashton.com>
wrote:
> Ok I verified this is still working correctly.
>
> Here is a short asciinema of how I flash it using the artifacts
> generated in CI (same as what you should get from a local build) using
> a recent build of openocd.
> In the description there is a short script people might find useful
> for fetching these artifacts as well.
>
> https://asciinema.org/a/429943
>
> --Brennan
>
> On Tue, Aug 10, 2021 at 8:16 PM Brennan Ashton
> <ba...@brennanashton.com> wrote:
> >
> > This board is part of my 30 or so boards I test for releases. I suspect
> there is something else up although later tonight I could give it a go. I
> usually test via the artifacts that are attached to the CI build job so it
> is faster to check and also makes sure there is nothing special about my
> configuration.
> >
> > Some of this testing is automated for sim and for the basic ST boards
> where I do not have to set up a debugger.
> >
> > --Brennan
> >
> > On Tue, Aug 10, 2021, 7:38 PM Murat Tologlu <mt...@hotmail.com>
> wrote:
> >>
> >> Hi @acassis
> >>
> >> Who is/are responsible for Nucleo-h743zi2 board?
> >>
> >> I think, If this is an officially supported board, then there should be
> at least 1 person having this board and testing all the published
> configurations for every release and take the speech at situations like
> this.
> >>
> >> Perhaps you may remember when I started dealing with Nuttx about a year
> ago I had similar problems with running stm32f746g-disco:lvgl configuration
> and I asked help here
> https://github.com/apache/incubator-nuttx/issues/1643 , I couldn't get a
> help but fortunately Jonathan Gonzaga gave a hint upon my question here at
> LvGL forum
> https://forum.lvgl.io/t/lvgl-nuttx-touch-screen-performance/1498 , I
> changed my arm toolchain (arm-none-eabi-xxx) to a suitable release then my
> firmware worked very well. I thanks to Jonathan very much because on this
> occasion I learned that changing the toolchain may be a solution sometime
> and I recently used the same trick in an esp32 project successfully.
> >>
> >> There may be a similar toolchain mismatch here so I think it would be
> proper if one of maintainers tests my nuttx.bin and his own compiled
> firmware with the present master branch on his Nucleo-H743zi2 board.
> >>
> >> BR,
> >> Murat
> >>
> >> -----Original Message-----
> >> From: Alan Carvalho de Assis <ac...@gmail.com>
> >> Sent: Tuesday, August 10, 2021 3:38 PM
> >> To: dev@nuttx.apache.org
> >> Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> >>
> >> Hi Rushikesh,
> >>
> >> 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
> >> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
> is correctly defined)
> >>
> >> $ make
> >>
> >> (flash firmware nuttx.bin in your board: you can use openocd or other
> tool, no problem)
> >>
> >> Besides the "nsh>" another indication that NuttX is starting is a solid
> LED turning ON, if it is crashing you should see an LED blinking.
> >>
> >> BR,
> >>
> >> Alan
> >>
> >> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
> >> > Hi Sir,
> >> >
> >> > Thanks for your reply.
> >> >
> >> > 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.
> >> > Youtube Link :
> >> >
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhw
> >> > YRQKVu6glfDa8&index=1
> >> >
> >> > I did exactly as it is and finally the nuttx.bin file has been created
> >> > and I have flashed it by using STM32CubeProgrammer.
> >> >
> >> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
> >> > Picocom or minicom is not working, so I'm working on it to get it
> work.
> >> >
> >> > But now I have doubts,
> >> > 1. How to create our own driver? I want to create my own driver like
> >> > PWM, ADC and for other peripherals, for this where I should start to
> >> > create? and how??
> >> > 2. To create our own driver, where do we have to create it like in
> >> > Ubuntu or is there any other IDE we can use in ubuntu?
> >> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
> >> > possible to do programming in STM32CubeIDE while the nuttx.bin file is
> >> > already on board?
> >> >
> >> >
> >> > Thanks & Regards,
> >> > Rushikesh Ghatkar
> >> >
> >> >
> >> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
> >> > <si...@ingenieurbuero-filgis.de>
> >> > wrote:
> >> >
> >> >> Hi Sir,
> >> >>
> >> >> split you problem:
> >> >>
> >> >> Have you verified 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
> >> >> <ru...@gmail.com>
> >> >> wrote:
> >> >>
> >> >> > Hi Sir,
> >> >> >
> >> >> > Thanks. Appreciate for your help.
> >> >> >
> >> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
> >> >> > getting
> >> >> > nsh> prompt.
> >> >> >
> >> >> > Its ok sir. Thanks for your help.
> >> >> >
> >> >> >
> >> >> >
> >> >> > Thanks & Regards,
> >> >> > Rushikesh Ghatkar
> >> >> >
> >> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu
> >> >> > <mt...@hotmail.com>
> >> >> > wrote:
> >> >> >
> >> >> > > Hi,
> >> >> > >
> >> >> > > Your nuttx.bin is probably different than the nuttx.bin file
> >> >> > > which I
> >> >> sent
> >> >> > > to you that's why I configured and compiled an sent to you a new
> >> >> > > one
> >> >> for
> >> >> > > your sake; If you still can't get the nsh> prompt with the
> >> >> > > firmware I
> >> >> > sent
> >> >> > > to you I don't have any more answer for you. Maybe someone else
> >> >> > > can contribute.
> >> >> > >
> >> >> > > Good luck.
> >> >> > >
> >> >> > > From: rushi ghatkar <ru...@gmail.com>
> >> >> > > 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 <
> >> >> rushighatkar35@gmail.com
> >> >> > > <ma...@gmail.com>> wrote:
> >> >> > > Hi Sir,
> >> >> > >
> >> >> > > Thanks for your reply. Really appreciate it.
> >> >> > >
> >> >> > > When i configured and compiled nuttx rtos then in my system
> >> >> > > nuttx.bin
> >> >> > file
> >> >> > > was created. And I have flashed that file also. Please find the
> >> >> > > nuttx directory image attachment.
> >> >> > >
> >> >> > > Your firmware file, nuttx bin file I have flashed successfully
> >> >> > > using STM32CubeProgramer.
> >> >> > >
> >> >> > > But the issue is,
> >> >> > > 1. picocom or minicom is not working.
> >> >> > > 2. I want to create my own driver like PWM, ADC and for other
> >> >> > peripherals,
> >> >> > > for this where I should start to create? and how?
> >> >> > >
> >> >> > >
> >> >> > > Thanks & Regards,
> >> >> > > Rushikesh Ghatkar
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu
> >> >> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
> >> >> > > 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 <rushighatkar35@gmail.com<mailto:
> >> >> > > rushighatkar35@gmail.com>>
> >> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
> >> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
> >> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> >> >> > >
> >> >> > > Hi,
> >> >> > >
> >> >> > > Thanks for your reply.
> >> >> > >
> >> >> > > I have followed this youtube video from Nuttx Channel,
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lh
> >> >> wYRQKVu6glfDa8&index=1
> >> >> > >
> >> >> > > From the above link I have followed each step exactly as it is.
> >> >> > >
> >> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in
> >> >> > > the
> >> >> end I
> >> >> > > was trying to execute command "openocd -f interface/stlink-v3.cfg
> >> >> > > -f target/stm32h7x.cfg" but this gives error. Please find the
> >> >> > > error image attachment.
> >> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
> >> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
> >> >> > > been
> >> >> > flashed
> >> >> > > successfully.
> >> >> > >
> >> >> > > After all this I was trying to open the nutshell using picocom,
> >> >> > > but nothing happened. No nutshell prompt appeared.
> >> >> > >
> >> >> > > Please help me to solve this issue.
> >> >> > >
> >> >> > >
> >> >> > > Thanks & Regards,
> >> >> > > Rushikesh Ghatkar
> >> >> > >
> >> >> > >
> >> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu
> >> >> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
> >> >> > > Hi Rushikesh,
> >> >> > >
> >> >> > > If you copy paste and share in a file attachment all the command
> >> >> > > line content from "$ cd nuttxspace/nuttx" to the end - not only
> >> >> > > picocom
> >> >> > output "
> >> >> > > but everything that you did to configure and compile fooling "a
> >> >> > > video"
> >> >> (
> >> >> > > which video? ) , perhaps we help can you.
> >> >> > >
> >> >> > > Regards,
> >> >> > > Murat
> >> >> > >
> >> >> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
> >> >> <mailto:
> >> >> > > rushighatkar35@gmail.com>> wrote:
> >> >> > > > Hi,
> >> >> > > >
> >> >> > > > I have followed a youtube video from Nuttx Channel to configure
> >> >> > > > and
> >> >> > > compile
> >> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
> >> >> > STM32CUbeProgrammer
> >> >> > > I
> >> >> > > > have also flashed the nuttx.bin file into the board.
> >> >> > > > But when I was trying to use minicom or picocom, I'm unable to
> >> >> > > > use
> >> >> it.
> >> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b
> 115200"
> >> >> *,
> >> >> > > > nutshell prompt is not appearing, please find the attachment.
> >> >> > > > Need help for this.
> >> >> > > >
> >> >> > > >
> >> >> > > > Regards,
> >> >> > > > Rushikesh Ghatkar
> >> >> > > >
> >> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu
> >> >> > > > <mtologlu@hotmail.com
> >> >> > > <ma...@hotmail.com>> wrote:
> >> >> > > >
> >> >> > > > > Hi Rushi,
> >> >> > > > >
> >> >> > > > > Unless we know what you are trying to do we can't help you.
> >> >> > > > > There
> >> >> may
> >> >> > > be a
> >> >> > > > > mistake anywhere!
> >> >> > > > >
> >> >> > > > > Explain what did you try so far, how ? Give us the links of
> >> >> > > > > the application you're trying.. So may be we can discover
> >> >> > > > > your mistake.
> >> >> > > > >
> >> >> > > > > Regards,
> >> >> > > > > Murat
> >> >> > > > >
> >> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar
> >> >> > > > > <rushighatkar35@gmail.com
> >> >> > > <ma...@gmail.com>> wrote:
> >> >> > > > > > 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 command is not working so I tried STM32CubeProgrammer
> >> >> > > > > > to
> >> >> > flash
> >> >> > > and
> >> >> > > > > it
> >> >> > > > > > got flash successfully.
> >> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
> >> >> > > executing and
> >> >> > > > > > resetting the board it's just waiting but the nsh> prompt
> >> >> > > > > > isn't
> >> >> > > > > appearing.
> >> >> > > > > > What to do about it?
> >> >> > > > > >
> >> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
> >> >> > > > > > Nucleo-H743ZI2
> >> >> > > board
> >> >> > > > > and
> >> >> > > > > > can help me with this issue?
> >> >> > > > > > Please help me to solve this issue.
> >> >> > > > > > And also I want to create my own driver using nuttx rtos on
> >> >> > > > > > a
> >> >> > > > > Nucleo-H73ZI2
> >> >> > > > > > board . How to create our own driver and which IDE we have
> >> >> > > > > > to
> >> >> use?
> >> >> > > > > >
> >> >> > > > > > Please help me.
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > >
> >> >> > > > > > Thanks & Regards,
> >> >> > > > > > Rushikesh Ghatkar
> >> >> > > > > >
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >> >
>
RE: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Murat Tologlu <mt...@hotmail.com>.
Hi Brennan,
Thank you very much for your kind replay and help.
BR,
Murat
-----Original Message-----
From: Brennan Ashton <ba...@brennanashton.com>
Sent: Wednesday, August 11, 2021 8:26 AM
To: dev@nuttx.apache.org
Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
Ok I verified this is still working correctly.
Here is a short asciinema of how I flash it using the artifacts generated in CI (same as what you should get from a local build) using a recent build of openocd.
In the description there is a short script people might find useful for fetching these artifacts as well.
https://asciinema.org/a/429943
--Brennan
On Tue, Aug 10, 2021 at 8:16 PM Brennan Ashton <ba...@brennanashton.com> wrote:
>
> This board is part of my 30 or so boards I test for releases. I suspect there is something else up although later tonight I could give it a go. I usually test via the artifacts that are attached to the CI build job so it is faster to check and also makes sure there is nothing special about my configuration.
>
> Some of this testing is automated for sim and for the basic ST boards where I do not have to set up a debugger.
>
> --Brennan
>
> On Tue, Aug 10, 2021, 7:38 PM Murat Tologlu <mt...@hotmail.com> wrote:
>>
>> Hi @acassis
>>
>> Who is/are responsible for Nucleo-h743zi2 board?
>>
>> I think, If this is an officially supported board, then there should be at least 1 person having this board and testing all the published configurations for every release and take the speech at situations like this.
>>
>> Perhaps you may remember when I started dealing with Nuttx about a year ago I had similar problems with running stm32f746g-disco:lvgl configuration and I asked help here https://github.com/apache/incubator-nuttx/issues/1643 , I couldn't get a help but fortunately Jonathan Gonzaga gave a hint upon my question here at LvGL forum https://forum.lvgl.io/t/lvgl-nuttx-touch-screen-performance/1498 , I changed my arm toolchain (arm-none-eabi-xxx) to a suitable release then my firmware worked very well. I thanks to Jonathan very much because on this occasion I learned that changing the toolchain may be a solution sometime and I recently used the same trick in an esp32 project successfully.
>>
>> There may be a similar toolchain mismatch here so I think it would be proper if one of maintainers tests my nuttx.bin and his own compiled firmware with the present master branch on his Nucleo-H743zi2 board.
>>
>> BR,
>> Murat
>>
>> -----Original Message-----
>> From: Alan Carvalho de Assis <ac...@gmail.com>
>> Sent: Tuesday, August 10, 2021 3:38 PM
>> To: dev@nuttx.apache.org
>> Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
>>
>> Hi Rushikesh,
>>
>> 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
>> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
>> is correctly defined)
>>
>> $ make
>>
>> (flash firmware nuttx.bin in your board: you can use openocd or other
>> tool, no problem)
>>
>> Besides the "nsh>" another indication that NuttX is starting is a solid LED turning ON, if it is crashing you should see an LED blinking.
>>
>> BR,
>>
>> Alan
>>
>> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
>> > Hi Sir,
>> >
>> > Thanks for your reply.
>> >
>> > 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.
>> > Youtube Link :
>> > https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-
>> > lhw
>> > YRQKVu6glfDa8&index=1
>> >
>> > I did exactly as it is and finally the nuttx.bin file has been
>> > created and I have flashed it by using STM32CubeProgrammer.
>> >
>> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
>> > Picocom or minicom is not working, so I'm working on it to get it work.
>> >
>> > But now I have doubts,
>> > 1. How to create our own driver? I want to create my own driver
>> > like PWM, ADC and for other peripherals, for this where I should
>> > start to create? and how??
>> > 2. To create our own driver, where do we have to create it like in
>> > Ubuntu or is there any other IDE we can use in ubuntu?
>> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is
>> > it possible to do programming in STM32CubeIDE while the nuttx.bin
>> > file is already on board?
>> >
>> >
>> > Thanks & Regards,
>> > Rushikesh Ghatkar
>> >
>> >
>> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
>> > <si...@ingenieurbuero-filgis.de>
>> > wrote:
>> >
>> >> Hi Sir,
>> >>
>> >> split you problem:
>> >>
>> >> Have you verified 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
>> >> <ru...@gmail.com>
>> >> wrote:
>> >>
>> >> > Hi Sir,
>> >> >
>> >> > Thanks. Appreciate for your help.
>> >> >
>> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
>> >> > getting
>> >> > nsh> prompt.
>> >> >
>> >> > Its ok sir. Thanks for your help.
>> >> >
>> >> >
>> >> >
>> >> > Thanks & Regards,
>> >> > Rushikesh Ghatkar
>> >> >
>> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu
>> >> > <mt...@hotmail.com>
>> >> > wrote:
>> >> >
>> >> > > Hi,
>> >> > >
>> >> > > Your nuttx.bin is probably different than the nuttx.bin file
>> >> > > which I
>> >> sent
>> >> > > to you that's why I configured and compiled an sent to you a
>> >> > > new one
>> >> for
>> >> > > your sake; If you still can't get the nsh> prompt with the
>> >> > > firmware I
>> >> > sent
>> >> > > to you I don't have any more answer for you. Maybe someone
>> >> > > else can contribute.
>> >> > >
>> >> > > Good luck.
>> >> > >
>> >> > > From: rushi ghatkar <ru...@gmail.com>
>> >> > > 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 <
>> >> rushighatkar35@gmail.com
>> >> > > <ma...@gmail.com>> wrote:
>> >> > > Hi Sir,
>> >> > >
>> >> > > Thanks for your reply. Really appreciate it.
>> >> > >
>> >> > > When i configured and compiled nuttx rtos then in my system
>> >> > > nuttx.bin
>> >> > file
>> >> > > was created. And I have flashed that file also. Please find
>> >> > > the nuttx directory image attachment.
>> >> > >
>> >> > > Your firmware file, nuttx bin file I have flashed successfully
>> >> > > using STM32CubeProgramer.
>> >> > >
>> >> > > But the issue is,
>> >> > > 1. picocom or minicom is not working.
>> >> > > 2. I want to create my own driver like PWM, ADC and for other
>> >> > peripherals,
>> >> > > for this where I should start to create? and how?
>> >> > >
>> >> > >
>> >> > > Thanks & Regards,
>> >> > > Rushikesh Ghatkar
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu
>> >> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
>> >> > > 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 <rushighatkar35@gmail.com<mailto:
>> >> > > rushighatkar35@gmail.com>>
>> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
>> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
>> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
>> >> > >
>> >> > > Hi,
>> >> > >
>> >> > > Thanks for your reply.
>> >> > >
>> >> > > I have followed this youtube video from Nuttx Channel,
>> >> > >
>> >> > >
>> >> >
>> >> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD
>> >> -lh
>> >> wYRQKVu6glfDa8&index=1
>> >> > >
>> >> > > From the above link I have followed each step exactly as it is.
>> >> > >
>> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this
>> >> > > in the
>> >> end I
>> >> > > was trying to execute command "openocd -f
>> >> > > interface/stlink-v3.cfg -f target/stm32h7x.cfg" but this gives
>> >> > > error. Please find the error image attachment.
>> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into
>> >> > > the
>> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
>> >> > > been
>> >> > flashed
>> >> > > successfully.
>> >> > >
>> >> > > After all this I was trying to open the nutshell using
>> >> > > picocom, but nothing happened. No nutshell prompt appeared.
>> >> > >
>> >> > > Please help me to solve this issue.
>> >> > >
>> >> > >
>> >> > > Thanks & Regards,
>> >> > > Rushikesh Ghatkar
>> >> > >
>> >> > >
>> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu
>> >> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
>> >> > > Hi Rushikesh,
>> >> > >
>> >> > > If you copy paste and share in a file attachment all the
>> >> > > command line content from "$ cd nuttxspace/nuttx" to the end -
>> >> > > not only picocom
>> >> > output "
>> >> > > but everything that you did to configure and compile fooling
>> >> > > "a video"
>> >> (
>> >> > > which video? ) , perhaps we help can you.
>> >> > >
>> >> > > Regards,
>> >> > > Murat
>> >> > >
>> >> > > On 2021/08/10 05:00:36, rushi ghatkar
>> >> > > <rushighatkar35@gmail.com
>> >> <mailto:
>> >> > > rushighatkar35@gmail.com>> wrote:
>> >> > > > Hi,
>> >> > > >
>> >> > > > I have followed a youtube video from Nuttx Channel to
>> >> > > > configure and
>> >> > > compile
>> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
>> >> > STM32CUbeProgrammer
>> >> > > I
>> >> > > > have also flashed the nuttx.bin file into the board.
>> >> > > > But when I was trying to use minicom or picocom, I'm unable
>> >> > > > to use
>> >> it.
>> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b 115200"
>> >> *,
>> >> > > > nutshell prompt is not appearing, please find the attachment.
>> >> > > > Need help for this.
>> >> > > >
>> >> > > >
>> >> > > > Regards,
>> >> > > > Rushikesh Ghatkar
>> >> > > >
>> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu
>> >> > > > <mtologlu@hotmail.com
>> >> > > <ma...@hotmail.com>> wrote:
>> >> > > >
>> >> > > > > Hi Rushi,
>> >> > > > >
>> >> > > > > Unless we know what you are trying to do we can't help you.
>> >> > > > > There
>> >> may
>> >> > > be a
>> >> > > > > mistake anywhere!
>> >> > > > >
>> >> > > > > Explain what did you try so far, how ? Give us the links
>> >> > > > > of the application you're trying.. So may be we can
>> >> > > > > discover your mistake.
>> >> > > > >
>> >> > > > > Regards,
>> >> > > > > Murat
>> >> > > > >
>> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar
>> >> > > > > <rushighatkar35@gmail.com
>> >> > > <ma...@gmail.com>> wrote:
>> >> > > > > > 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 command is not working so I tried
>> >> > > > > > STM32CubeProgrammer to
>> >> > flash
>> >> > > and
>> >> > > > > it
>> >> > > > > > got flash successfully.
>> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" ,
>> >> > > > > > after
>> >> > > executing and
>> >> > > > > > resetting the board it's just waiting but the nsh>
>> >> > > > > > prompt isn't
>> >> > > > > appearing.
>> >> > > > > > What to do about it?
>> >> > > > > >
>> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
>> >> > > > > > Nucleo-H743ZI2
>> >> > > board
>> >> > > > > and
>> >> > > > > > can help me with this issue?
>> >> > > > > > Please help me to solve this issue.
>> >> > > > > > And also I want to create my own driver using nuttx rtos
>> >> > > > > > on a
>> >> > > > > Nucleo-H73ZI2
>> >> > > > > > board . How to create our own driver and which IDE we
>> >> > > > > > have to
>> >> use?
>> >> > > > > >
>> >> > > > > > Please help me.
>> >> > > > > >
>> >> > > > > >
>> >> > > > > >
>> >> > > > > > Thanks & Regards,
>> >> > > > > > Rushikesh Ghatkar
>> >> > > > > >
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >>
>> >
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Brennan Ashton <ba...@brennanashton.com>.
Ok I verified this is still working correctly.
Here is a short asciinema of how I flash it using the artifacts
generated in CI (same as what you should get from a local build) using
a recent build of openocd.
In the description there is a short script people might find useful
for fetching these artifacts as well.
https://asciinema.org/a/429943
--Brennan
On Tue, Aug 10, 2021 at 8:16 PM Brennan Ashton
<ba...@brennanashton.com> wrote:
>
> This board is part of my 30 or so boards I test for releases. I suspect there is something else up although later tonight I could give it a go. I usually test via the artifacts that are attached to the CI build job so it is faster to check and also makes sure there is nothing special about my configuration.
>
> Some of this testing is automated for sim and for the basic ST boards where I do not have to set up a debugger.
>
> --Brennan
>
> On Tue, Aug 10, 2021, 7:38 PM Murat Tologlu <mt...@hotmail.com> wrote:
>>
>> Hi @acassis
>>
>> Who is/are responsible for Nucleo-h743zi2 board?
>>
>> I think, If this is an officially supported board, then there should be at least 1 person having this board and testing all the published configurations for every release and take the speech at situations like this.
>>
>> Perhaps you may remember when I started dealing with Nuttx about a year ago I had similar problems with running stm32f746g-disco:lvgl configuration and I asked help here https://github.com/apache/incubator-nuttx/issues/1643 , I couldn't get a help but fortunately Jonathan Gonzaga gave a hint upon my question here at LvGL forum https://forum.lvgl.io/t/lvgl-nuttx-touch-screen-performance/1498 , I changed my arm toolchain (arm-none-eabi-xxx) to a suitable release then my firmware worked very well. I thanks to Jonathan very much because on this occasion I learned that changing the toolchain may be a solution sometime and I recently used the same trick in an esp32 project successfully.
>>
>> There may be a similar toolchain mismatch here so I think it would be proper if one of maintainers tests my nuttx.bin and his own compiled firmware with the present master branch on his Nucleo-H743zi2 board.
>>
>> BR,
>> Murat
>>
>> -----Original Message-----
>> From: Alan Carvalho de Assis <ac...@gmail.com>
>> Sent: Tuesday, August 10, 2021 3:38 PM
>> To: dev@nuttx.apache.org
>> Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
>>
>> Hi Rushikesh,
>>
>> 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
>> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3) is correctly defined)
>>
>> $ make
>>
>> (flash firmware nuttx.bin in your board: you can use openocd or other tool, no problem)
>>
>> Besides the "nsh>" another indication that NuttX is starting is a solid LED turning ON, if it is crashing you should see an LED blinking.
>>
>> BR,
>>
>> Alan
>>
>> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
>> > Hi Sir,
>> >
>> > Thanks for your reply.
>> >
>> > 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.
>> > Youtube Link :
>> > https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhw
>> > YRQKVu6glfDa8&index=1
>> >
>> > I did exactly as it is and finally the nuttx.bin file has been created
>> > and I have flashed it by using STM32CubeProgrammer.
>> >
>> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
>> > Picocom or minicom is not working, so I'm working on it to get it work.
>> >
>> > But now I have doubts,
>> > 1. How to create our own driver? I want to create my own driver like
>> > PWM, ADC and for other peripherals, for this where I should start to
>> > create? and how??
>> > 2. To create our own driver, where do we have to create it like in
>> > Ubuntu or is there any other IDE we can use in ubuntu?
>> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
>> > possible to do programming in STM32CubeIDE while the nuttx.bin file is
>> > already on board?
>> >
>> >
>> > Thanks & Regards,
>> > Rushikesh Ghatkar
>> >
>> >
>> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
>> > <si...@ingenieurbuero-filgis.de>
>> > wrote:
>> >
>> >> Hi Sir,
>> >>
>> >> split you problem:
>> >>
>> >> Have you verified 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
>> >> <ru...@gmail.com>
>> >> wrote:
>> >>
>> >> > Hi Sir,
>> >> >
>> >> > Thanks. Appreciate for your help.
>> >> >
>> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
>> >> > getting
>> >> > nsh> prompt.
>> >> >
>> >> > Its ok sir. Thanks for your help.
>> >> >
>> >> >
>> >> >
>> >> > Thanks & Regards,
>> >> > Rushikesh Ghatkar
>> >> >
>> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu
>> >> > <mt...@hotmail.com>
>> >> > wrote:
>> >> >
>> >> > > Hi,
>> >> > >
>> >> > > Your nuttx.bin is probably different than the nuttx.bin file
>> >> > > which I
>> >> sent
>> >> > > to you that's why I configured and compiled an sent to you a new
>> >> > > one
>> >> for
>> >> > > your sake; If you still can't get the nsh> prompt with the
>> >> > > firmware I
>> >> > sent
>> >> > > to you I don't have any more answer for you. Maybe someone else
>> >> > > can contribute.
>> >> > >
>> >> > > Good luck.
>> >> > >
>> >> > > From: rushi ghatkar <ru...@gmail.com>
>> >> > > 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 <
>> >> rushighatkar35@gmail.com
>> >> > > <ma...@gmail.com>> wrote:
>> >> > > Hi Sir,
>> >> > >
>> >> > > Thanks for your reply. Really appreciate it.
>> >> > >
>> >> > > When i configured and compiled nuttx rtos then in my system
>> >> > > nuttx.bin
>> >> > file
>> >> > > was created. And I have flashed that file also. Please find the
>> >> > > nuttx directory image attachment.
>> >> > >
>> >> > > Your firmware file, nuttx bin file I have flashed successfully
>> >> > > using STM32CubeProgramer.
>> >> > >
>> >> > > But the issue is,
>> >> > > 1. picocom or minicom is not working.
>> >> > > 2. I want to create my own driver like PWM, ADC and for other
>> >> > peripherals,
>> >> > > for this where I should start to create? and how?
>> >> > >
>> >> > >
>> >> > > Thanks & Regards,
>> >> > > Rushikesh Ghatkar
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu
>> >> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
>> >> > > 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 <rushighatkar35@gmail.com<mailto:
>> >> > > rushighatkar35@gmail.com>>
>> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
>> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
>> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
>> >> > >
>> >> > > Hi,
>> >> > >
>> >> > > Thanks for your reply.
>> >> > >
>> >> > > I have followed this youtube video from Nuttx Channel,
>> >> > >
>> >> > >
>> >> >
>> >> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lh
>> >> wYRQKVu6glfDa8&index=1
>> >> > >
>> >> > > From the above link I have followed each step exactly as it is.
>> >> > >
>> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in
>> >> > > the
>> >> end I
>> >> > > was trying to execute command "openocd -f interface/stlink-v3.cfg
>> >> > > -f target/stm32h7x.cfg" but this gives error. Please find the
>> >> > > error image attachment.
>> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
>> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
>> >> > > been
>> >> > flashed
>> >> > > successfully.
>> >> > >
>> >> > > After all this I was trying to open the nutshell using picocom,
>> >> > > but nothing happened. No nutshell prompt appeared.
>> >> > >
>> >> > > Please help me to solve this issue.
>> >> > >
>> >> > >
>> >> > > Thanks & Regards,
>> >> > > Rushikesh Ghatkar
>> >> > >
>> >> > >
>> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu
>> >> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
>> >> > > Hi Rushikesh,
>> >> > >
>> >> > > If you copy paste and share in a file attachment all the command
>> >> > > line content from "$ cd nuttxspace/nuttx" to the end - not only
>> >> > > picocom
>> >> > output "
>> >> > > but everything that you did to configure and compile fooling "a
>> >> > > video"
>> >> (
>> >> > > which video? ) , perhaps we help can you.
>> >> > >
>> >> > > Regards,
>> >> > > Murat
>> >> > >
>> >> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
>> >> <mailto:
>> >> > > rushighatkar35@gmail.com>> wrote:
>> >> > > > Hi,
>> >> > > >
>> >> > > > I have followed a youtube video from Nuttx Channel to configure
>> >> > > > and
>> >> > > compile
>> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
>> >> > STM32CUbeProgrammer
>> >> > > I
>> >> > > > have also flashed the nuttx.bin file into the board.
>> >> > > > But when I was trying to use minicom or picocom, I'm unable to
>> >> > > > use
>> >> it.
>> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b 115200"
>> >> *,
>> >> > > > nutshell prompt is not appearing, please find the attachment.
>> >> > > > Need help for this.
>> >> > > >
>> >> > > >
>> >> > > > Regards,
>> >> > > > Rushikesh Ghatkar
>> >> > > >
>> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu
>> >> > > > <mtologlu@hotmail.com
>> >> > > <ma...@hotmail.com>> wrote:
>> >> > > >
>> >> > > > > Hi Rushi,
>> >> > > > >
>> >> > > > > Unless we know what you are trying to do we can't help you.
>> >> > > > > There
>> >> may
>> >> > > be a
>> >> > > > > mistake anywhere!
>> >> > > > >
>> >> > > > > Explain what did you try so far, how ? Give us the links of
>> >> > > > > the application you're trying.. So may be we can discover
>> >> > > > > your mistake.
>> >> > > > >
>> >> > > > > Regards,
>> >> > > > > Murat
>> >> > > > >
>> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar
>> >> > > > > <rushighatkar35@gmail.com
>> >> > > <ma...@gmail.com>> wrote:
>> >> > > > > > 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 command is not working so I tried STM32CubeProgrammer
>> >> > > > > > to
>> >> > flash
>> >> > > and
>> >> > > > > it
>> >> > > > > > got flash successfully.
>> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
>> >> > > executing and
>> >> > > > > > resetting the board it's just waiting but the nsh> prompt
>> >> > > > > > isn't
>> >> > > > > appearing.
>> >> > > > > > What to do about it?
>> >> > > > > >
>> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
>> >> > > > > > Nucleo-H743ZI2
>> >> > > board
>> >> > > > > and
>> >> > > > > > can help me with this issue?
>> >> > > > > > Please help me to solve this issue.
>> >> > > > > > And also I want to create my own driver using nuttx rtos on
>> >> > > > > > a
>> >> > > > > Nucleo-H73ZI2
>> >> > > > > > board . How to create our own driver and which IDE we have
>> >> > > > > > to
>> >> use?
>> >> > > > > >
>> >> > > > > > Please help me.
>> >> > > > > >
>> >> > > > > >
>> >> > > > > >
>> >> > > > > > Thanks & Regards,
>> >> > > > > > Rushikesh Ghatkar
>> >> > > > > >
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >>
>> >
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Brennan Ashton <ba...@brennanashton.com>.
This board is part of my 30 or so boards I test for releases. I suspect
there is something else up although later tonight I could give it a go. I
usually test via the artifacts that are attached to the CI build job so it
is faster to check and also makes sure there is nothing special about my
configuration.
Some of this testing is automated for sim and for the basic ST boards where
I do not have to set up a debugger.
--Brennan
On Tue, Aug 10, 2021, 7:38 PM Murat Tologlu <mt...@hotmail.com> wrote:
> Hi @acassis
>
> Who is/are responsible for Nucleo-h743zi2 board?
>
> I think, If this is an officially supported board, then there should be at
> least 1 person having this board and testing all the published
> configurations for every release and take the speech at situations like
> this.
>
> Perhaps you may remember when I started dealing with Nuttx about a year
> ago I had similar problems with running stm32f746g-disco:lvgl configuration
> and I asked help here
> https://github.com/apache/incubator-nuttx/issues/1643 , I couldn't get a
> help but fortunately Jonathan Gonzaga gave a hint upon my question here at
> LvGL forum
> https://forum.lvgl.io/t/lvgl-nuttx-touch-screen-performance/1498 , I
> changed my arm toolchain (arm-none-eabi-xxx) to a suitable release then my
> firmware worked very well. I thanks to Jonathan very much because on this
> occasion I learned that changing the toolchain may be a solution sometime
> and I recently used the same trick in an esp32 project successfully.
>
> There may be a similar toolchain mismatch here so I think it would be
> proper if one of maintainers tests my nuttx.bin and his own compiled
> firmware with the present master branch on his Nucleo-H743zi2 board.
>
> BR,
> Murat
>
> -----Original Message-----
> From: Alan Carvalho de Assis <ac...@gmail.com>
> Sent: Tuesday, August 10, 2021 3:38 PM
> To: dev@nuttx.apache.org
> Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
>
> Hi Rushikesh,
>
> 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
> Drivers ---> [*] Serial Driver Support ---> Serial console (USART3) is
> correctly defined)
>
> $ make
>
> (flash firmware nuttx.bin in your board: you can use openocd or other
> tool, no problem)
>
> Besides the "nsh>" another indication that NuttX is starting is a solid
> LED turning ON, if it is crashing you should see an LED blinking.
>
> BR,
>
> Alan
>
> On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
> > Hi Sir,
> >
> > Thanks for your reply.
> >
> > 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.
> > Youtube Link :
> > https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhw
> > YRQKVu6glfDa8&index=1
> >
> > I did exactly as it is and finally the nuttx.bin file has been created
> > and I have flashed it by using STM32CubeProgrammer.
> >
> > For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
> > Picocom or minicom is not working, so I'm working on it to get it work.
> >
> > But now I have doubts,
> > 1. How to create our own driver? I want to create my own driver like
> > PWM, ADC and for other peripherals, for this where I should start to
> > create? and how??
> > 2. To create our own driver, where do we have to create it like in
> > Ubuntu or is there any other IDE we can use in ubuntu?
> > 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
> > possible to do programming in STM32CubeIDE while the nuttx.bin file is
> > already on board?
> >
> >
> > Thanks & Regards,
> > Rushikesh Ghatkar
> >
> >
> > On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
> > <si...@ingenieurbuero-filgis.de>
> > wrote:
> >
> >> Hi Sir,
> >>
> >> split you problem:
> >>
> >> Have you verified 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
> >> <ru...@gmail.com>
> >> wrote:
> >>
> >> > Hi Sir,
> >> >
> >> > Thanks. Appreciate for your help.
> >> >
> >> > I have flashed your firmware file, nuttx.bin , but still I'm not
> >> > getting
> >> > nsh> prompt.
> >> >
> >> > Its ok sir. Thanks for your help.
> >> >
> >> >
> >> >
> >> > Thanks & Regards,
> >> > Rushikesh Ghatkar
> >> >
> >> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu
> >> > <mt...@hotmail.com>
> >> > wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > Your nuttx.bin is probably different than the nuttx.bin file
> >> > > which I
> >> sent
> >> > > to you that's why I configured and compiled an sent to you a new
> >> > > one
> >> for
> >> > > your sake; If you still can't get the nsh> prompt with the
> >> > > firmware I
> >> > sent
> >> > > to you I don't have any more answer for you. Maybe someone else
> >> > > can contribute.
> >> > >
> >> > > Good luck.
> >> > >
> >> > > From: rushi ghatkar <ru...@gmail.com>
> >> > > 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 <
> >> rushighatkar35@gmail.com
> >> > > <ma...@gmail.com>> wrote:
> >> > > Hi Sir,
> >> > >
> >> > > Thanks for your reply. Really appreciate it.
> >> > >
> >> > > When i configured and compiled nuttx rtos then in my system
> >> > > nuttx.bin
> >> > file
> >> > > was created. And I have flashed that file also. Please find the
> >> > > nuttx directory image attachment.
> >> > >
> >> > > Your firmware file, nuttx bin file I have flashed successfully
> >> > > using STM32CubeProgramer.
> >> > >
> >> > > But the issue is,
> >> > > 1. picocom or minicom is not working.
> >> > > 2. I want to create my own driver like PWM, ADC and for other
> >> > peripherals,
> >> > > for this where I should start to create? and how?
> >> > >
> >> > >
> >> > > Thanks & Regards,
> >> > > Rushikesh Ghatkar
> >> > >
> >> > >
> >> > >
> >> > >
> >> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu
> >> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
> >> > > 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 <rushighatkar35@gmail.com<mailto:
> >> > > rushighatkar35@gmail.com>>
> >> > > Sent: Tuesday, August 10, 2021 9:42 AM
> >> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
> >> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> >> > >
> >> > > Hi,
> >> > >
> >> > > Thanks for your reply.
> >> > >
> >> > > I have followed this youtube video from Nuttx Channel,
> >> > >
> >> > >
> >> >
> >> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lh
> >> wYRQKVu6glfDa8&index=1
> >> > >
> >> > > From the above link I have followed each step exactly as it is.
> >> > >
> >> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in
> >> > > the
> >> end I
> >> > > was trying to execute command "openocd -f interface/stlink-v3.cfg
> >> > > -f target/stm32h7x.cfg" but this gives error. Please find the
> >> > > error image attachment.
> >> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
> >> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
> >> > > been
> >> > flashed
> >> > > successfully.
> >> > >
> >> > > After all this I was trying to open the nutshell using picocom,
> >> > > but nothing happened. No nutshell prompt appeared.
> >> > >
> >> > > Please help me to solve this issue.
> >> > >
> >> > >
> >> > > Thanks & Regards,
> >> > > Rushikesh Ghatkar
> >> > >
> >> > >
> >> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu
> >> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
> >> > > Hi Rushikesh,
> >> > >
> >> > > If you copy paste and share in a file attachment all the command
> >> > > line content from "$ cd nuttxspace/nuttx" to the end - not only
> >> > > picocom
> >> > output "
> >> > > but everything that you did to configure and compile fooling "a
> >> > > video"
> >> (
> >> > > which video? ) , perhaps we help can you.
> >> > >
> >> > > Regards,
> >> > > Murat
> >> > >
> >> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
> >> <mailto:
> >> > > rushighatkar35@gmail.com>> wrote:
> >> > > > Hi,
> >> > > >
> >> > > > I have followed a youtube video from Nuttx Channel to configure
> >> > > > and
> >> > > compile
> >> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
> >> > STM32CUbeProgrammer
> >> > > I
> >> > > > have also flashed the nuttx.bin file into the board.
> >> > > > But when I was trying to use minicom or picocom, I'm unable to
> >> > > > use
> >> it.
> >> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b
> 115200"
> >> *,
> >> > > > nutshell prompt is not appearing, please find the attachment.
> >> > > > Need help for this.
> >> > > >
> >> > > >
> >> > > > Regards,
> >> > > > Rushikesh Ghatkar
> >> > > >
> >> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu
> >> > > > <mtologlu@hotmail.com
> >> > > <ma...@hotmail.com>> wrote:
> >> > > >
> >> > > > > Hi Rushi,
> >> > > > >
> >> > > > > Unless we know what you are trying to do we can't help you.
> >> > > > > There
> >> may
> >> > > be a
> >> > > > > mistake anywhere!
> >> > > > >
> >> > > > > Explain what did you try so far, how ? Give us the links of
> >> > > > > the application you're trying.. So may be we can discover
> >> > > > > your mistake.
> >> > > > >
> >> > > > > Regards,
> >> > > > > Murat
> >> > > > >
> >> > > > > On 2021/08/09 04:36:22, rushi ghatkar
> >> > > > > <rushighatkar35@gmail.com
> >> > > <ma...@gmail.com>> wrote:
> >> > > > > > 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 command is not working so I tried STM32CubeProgrammer
> >> > > > > > to
> >> > flash
> >> > > and
> >> > > > > it
> >> > > > > > got flash successfully.
> >> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
> >> > > executing and
> >> > > > > > resetting the board it's just waiting but the nsh> prompt
> >> > > > > > isn't
> >> > > > > appearing.
> >> > > > > > What to do about it?
> >> > > > > >
> >> > > > > > Is there anyone who has worked on Nuttx RTOS with
> >> > > > > > Nucleo-H743ZI2
> >> > > board
> >> > > > > and
> >> > > > > > can help me with this issue?
> >> > > > > > Please help me to solve this issue.
> >> > > > > > And also I want to create my own driver using nuttx rtos on
> >> > > > > > a
> >> > > > > Nucleo-H73ZI2
> >> > > > > > board . How to create our own driver and which IDE we have
> >> > > > > > to
> >> use?
> >> > > > > >
> >> > > > > > Please help me.
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > > Thanks & Regards,
> >> > > > > > Rushikesh Ghatkar
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> >
>
RE: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Murat Tologlu <mt...@hotmail.com>.
Hi @acassis
Who is/are responsible for Nucleo-h743zi2 board?
I think, If this is an officially supported board, then there should be at least 1 person having this board and testing all the published configurations for every release and take the speech at situations like this.
Perhaps you may remember when I started dealing with Nuttx about a year ago I had similar problems with running stm32f746g-disco:lvgl configuration and I asked help here https://github.com/apache/incubator-nuttx/issues/1643 , I couldn't get a help but fortunately Jonathan Gonzaga gave a hint upon my question here at LvGL forum https://forum.lvgl.io/t/lvgl-nuttx-touch-screen-performance/1498 , I changed my arm toolchain (arm-none-eabi-xxx) to a suitable release then my firmware worked very well. I thanks to Jonathan very much because on this occasion I learned that changing the toolchain may be a solution sometime and I recently used the same trick in an esp32 project successfully.
There may be a similar toolchain mismatch here so I think it would be proper if one of maintainers tests my nuttx.bin and his own compiled firmware with the present master branch on his Nucleo-H743zi2 board.
BR,
Murat
-----Original Message-----
From: Alan Carvalho de Assis <ac...@gmail.com>
Sent: Tuesday, August 10, 2021 3:38 PM
To: dev@nuttx.apache.org
Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
Hi Rushikesh,
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
Drivers ---> [*] Serial Driver Support ---> Serial console (USART3) is correctly defined)
$ make
(flash firmware nuttx.bin in your board: you can use openocd or other tool, no problem)
Besides the "nsh>" another indication that NuttX is starting is a solid LED turning ON, if it is crashing you should see an LED blinking.
BR,
Alan
On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
> Hi Sir,
>
> Thanks for your reply.
>
> 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.
> Youtube Link :
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhw
> YRQKVu6glfDa8&index=1
>
> I did exactly as it is and finally the nuttx.bin file has been created
> and I have flashed it by using STM32CubeProgrammer.
>
> For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
> Picocom or minicom is not working, so I'm working on it to get it work.
>
> But now I have doubts,
> 1. How to create our own driver? I want to create my own driver like
> PWM, ADC and for other peripherals, for this where I should start to
> create? and how??
> 2. To create our own driver, where do we have to create it like in
> Ubuntu or is there any other IDE we can use in ubuntu?
> 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
> possible to do programming in STM32CubeIDE while the nuttx.bin file is
> already on board?
>
>
> Thanks & Regards,
> Rushikesh Ghatkar
>
>
> On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
> <si...@ingenieurbuero-filgis.de>
> wrote:
>
>> Hi Sir,
>>
>> split you problem:
>>
>> Have you verified 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
>> <ru...@gmail.com>
>> wrote:
>>
>> > Hi Sir,
>> >
>> > Thanks. Appreciate for your help.
>> >
>> > I have flashed your firmware file, nuttx.bin , but still I'm not
>> > getting
>> > nsh> prompt.
>> >
>> > Its ok sir. Thanks for your help.
>> >
>> >
>> >
>> > Thanks & Regards,
>> > Rushikesh Ghatkar
>> >
>> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu
>> > <mt...@hotmail.com>
>> > wrote:
>> >
>> > > Hi,
>> > >
>> > > Your nuttx.bin is probably different than the nuttx.bin file
>> > > which I
>> sent
>> > > to you that's why I configured and compiled an sent to you a new
>> > > one
>> for
>> > > your sake; If you still can't get the nsh> prompt with the
>> > > firmware I
>> > sent
>> > > to you I don't have any more answer for you. Maybe someone else
>> > > can contribute.
>> > >
>> > > Good luck.
>> > >
>> > > From: rushi ghatkar <ru...@gmail.com>
>> > > 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 <
>> rushighatkar35@gmail.com
>> > > <ma...@gmail.com>> wrote:
>> > > Hi Sir,
>> > >
>> > > Thanks for your reply. Really appreciate it.
>> > >
>> > > When i configured and compiled nuttx rtos then in my system
>> > > nuttx.bin
>> > file
>> > > was created. And I have flashed that file also. Please find the
>> > > nuttx directory image attachment.
>> > >
>> > > Your firmware file, nuttx bin file I have flashed successfully
>> > > using STM32CubeProgramer.
>> > >
>> > > But the issue is,
>> > > 1. picocom or minicom is not working.
>> > > 2. I want to create my own driver like PWM, ADC and for other
>> > peripherals,
>> > > for this where I should start to create? and how?
>> > >
>> > >
>> > > Thanks & Regards,
>> > > Rushikesh Ghatkar
>> > >
>> > >
>> > >
>> > >
>> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu
>> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
>> > > 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 <rushighatkar35@gmail.com<mailto:
>> > > rushighatkar35@gmail.com>>
>> > > Sent: Tuesday, August 10, 2021 9:42 AM
>> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
>> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
>> > >
>> > > Hi,
>> > >
>> > > Thanks for your reply.
>> > >
>> > > I have followed this youtube video from Nuttx Channel,
>> > >
>> > >
>> >
>> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lh
>> wYRQKVu6glfDa8&index=1
>> > >
>> > > From the above link I have followed each step exactly as it is.
>> > >
>> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in
>> > > the
>> end I
>> > > was trying to execute command "openocd -f interface/stlink-v3.cfg
>> > > -f target/stm32h7x.cfg" but this gives error. Please find the
>> > > error image attachment.
>> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
>> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has
>> > > been
>> > flashed
>> > > successfully.
>> > >
>> > > After all this I was trying to open the nutshell using picocom,
>> > > but nothing happened. No nutshell prompt appeared.
>> > >
>> > > Please help me to solve this issue.
>> > >
>> > >
>> > > Thanks & Regards,
>> > > Rushikesh Ghatkar
>> > >
>> > >
>> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu
>> > > <mtologlu@hotmail.com <ma...@hotmail.com>> wrote:
>> > > Hi Rushikesh,
>> > >
>> > > If you copy paste and share in a file attachment all the command
>> > > line content from "$ cd nuttxspace/nuttx" to the end - not only
>> > > picocom
>> > output "
>> > > but everything that you did to configure and compile fooling "a
>> > > video"
>> (
>> > > which video? ) , perhaps we help can you.
>> > >
>> > > Regards,
>> > > Murat
>> > >
>> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
>> <mailto:
>> > > rushighatkar35@gmail.com>> wrote:
>> > > > Hi,
>> > > >
>> > > > I have followed a youtube video from Nuttx Channel to configure
>> > > > and
>> > > compile
>> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
>> > STM32CUbeProgrammer
>> > > I
>> > > > have also flashed the nuttx.bin file into the board.
>> > > > But when I was trying to use minicom or picocom, I'm unable to
>> > > > use
>> it.
>> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b 115200"
>> *,
>> > > > nutshell prompt is not appearing, please find the attachment.
>> > > > Need help for this.
>> > > >
>> > > >
>> > > > Regards,
>> > > > Rushikesh Ghatkar
>> > > >
>> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu
>> > > > <mtologlu@hotmail.com
>> > > <ma...@hotmail.com>> wrote:
>> > > >
>> > > > > Hi Rushi,
>> > > > >
>> > > > > Unless we know what you are trying to do we can't help you.
>> > > > > There
>> may
>> > > be a
>> > > > > mistake anywhere!
>> > > > >
>> > > > > Explain what did you try so far, how ? Give us the links of
>> > > > > the application you're trying.. So may be we can discover
>> > > > > your mistake.
>> > > > >
>> > > > > Regards,
>> > > > > Murat
>> > > > >
>> > > > > On 2021/08/09 04:36:22, rushi ghatkar
>> > > > > <rushighatkar35@gmail.com
>> > > <ma...@gmail.com>> wrote:
>> > > > > > 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 command is not working so I tried STM32CubeProgrammer
>> > > > > > to
>> > flash
>> > > and
>> > > > > it
>> > > > > > got flash successfully.
>> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
>> > > executing and
>> > > > > > resetting the board it's just waiting but the nsh> prompt
>> > > > > > isn't
>> > > > > appearing.
>> > > > > > What to do about it?
>> > > > > >
>> > > > > > Is there anyone who has worked on Nuttx RTOS with
>> > > > > > Nucleo-H743ZI2
>> > > board
>> > > > > and
>> > > > > > can help me with this issue?
>> > > > > > Please help me to solve this issue.
>> > > > > > And also I want to create my own driver using nuttx rtos on
>> > > > > > a
>> > > > > Nucleo-H73ZI2
>> > > > > > board . How to create our own driver and which IDE we have
>> > > > > > to
>> use?
>> > > > > >
>> > > > > > Please help me.
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > Thanks & Regards,
>> > > > > > Rushikesh Ghatkar
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Alan Carvalho de Assis <ac...@gmail.com>.
Hi Rushikesh,
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
Drivers ---> [*] Serial Driver Support ---> Serial console (USART3)
is correctly defined)
$ make
(flash firmware nuttx.bin in your board: you can use openocd or other
tool, no problem)
Besides the "nsh>" another indication that NuttX is starting is a
solid LED turning ON, if it is crashing you should see an LED
blinking.
BR,
Alan
On 8/10/21, rushi ghatkar <ru...@gmail.com> wrote:
> Hi Sir,
>
> Thanks for your reply.
>
> 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.
> Youtube Link :
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
>
> I did exactly as it is and finally the nuttx.bin file has been created and
> I have flashed it by using STM32CubeProgrammer.
>
> For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
> Picocom or minicom is not working, so I'm working on it to get it work.
>
> But now I have doubts,
> 1. How to create our own driver? I want to create my own driver like PWM,
> ADC and for other peripherals, for this where I should start to create? and
> how??
> 2. To create our own driver, where do we have to create it like in Ubuntu
> or is there any other IDE we can use in ubuntu?
> 3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
> possible to do programming in STM32CubeIDE while the nuttx.bin file is
> already on board?
>
>
> Thanks & Regards,
> Rushikesh Ghatkar
>
>
> On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis
> <si...@ingenieurbuero-filgis.de>
> wrote:
>
>> Hi Sir,
>>
>> split you problem:
>>
>> Have you verified 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 <ru...@gmail.com>
>> wrote:
>>
>> > Hi Sir,
>> >
>> > Thanks. Appreciate for your help.
>> >
>> > I have flashed your firmware file, nuttx.bin , but still I'm not
>> > getting
>> > nsh> prompt.
>> >
>> > Its ok sir. Thanks for your help.
>> >
>> >
>> >
>> > Thanks & Regards,
>> > Rushikesh Ghatkar
>> >
>> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu <mt...@hotmail.com>
>> > wrote:
>> >
>> > > Hi,
>> > >
>> > > Your nuttx.bin is probably different than the nuttx.bin file which I
>> sent
>> > > to you that's why I configured and compiled an sent to you a new one
>> for
>> > > your sake; If you still can't get the nsh> prompt with the firmware
>> > > I
>> > sent
>> > > to you I don't have any more answer for you. Maybe someone else can
>> > > contribute.
>> > >
>> > > Good luck.
>> > >
>> > > From: rushi ghatkar <ru...@gmail.com>
>> > > 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 <
>> rushighatkar35@gmail.com
>> > > <ma...@gmail.com>> wrote:
>> > > Hi Sir,
>> > >
>> > > Thanks for your reply. Really appreciate it.
>> > >
>> > > When i configured and compiled nuttx rtos then in my system nuttx.bin
>> > file
>> > > was created. And I have flashed that file also. Please find the nuttx
>> > > directory image attachment.
>> > >
>> > > Your firmware file, nuttx bin file I have flashed successfully using
>> > > STM32CubeProgramer.
>> > >
>> > > But the issue is,
>> > > 1. picocom or minicom is not working.
>> > > 2. I want to create my own driver like PWM, ADC and for other
>> > peripherals,
>> > > for this where I should start to create? and how?
>> > >
>> > >
>> > > Thanks & Regards,
>> > > Rushikesh Ghatkar
>> > >
>> > >
>> > >
>> > >
>> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu <mtologlu@hotmail.com
>> > > <ma...@hotmail.com>> wrote:
>> > > 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 <rushighatkar35@gmail.com<mailto:
>> > > rushighatkar35@gmail.com>>
>> > > Sent: Tuesday, August 10, 2021 9:42 AM
>> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
>> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
>> > >
>> > > Hi,
>> > >
>> > > Thanks for your reply.
>> > >
>> > > I have followed this youtube video from Nuttx Channel,
>> > >
>> > >
>> >
>> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
>> > >
>> > > From the above link I have followed each step exactly as it is.
>> > >
>> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in the
>> end I
>> > > was trying to execute command "openocd -f interface/stlink-v3.cfg -f
>> > > target/stm32h7x.cfg" but this gives error. Please find the error
>> > > image
>> > > attachment.
>> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
>> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has been
>> > flashed
>> > > successfully.
>> > >
>> > > After all this I was trying to open the nutshell using picocom, but
>> > > nothing happened. No nutshell prompt appeared.
>> > >
>> > > Please help me to solve this issue.
>> > >
>> > >
>> > > Thanks & Regards,
>> > > Rushikesh Ghatkar
>> > >
>> > >
>> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <mtologlu@hotmail.com
>> > > <ma...@hotmail.com>> wrote:
>> > > Hi Rushikesh,
>> > >
>> > > If you copy paste and share in a file attachment all the command line
>> > > content from "$ cd nuttxspace/nuttx" to the end - not only picocom
>> > output "
>> > > but everything that you did to configure and compile fooling "a
>> > > video"
>> (
>> > > which video? ) , perhaps we help can you.
>> > >
>> > > Regards,
>> > > Murat
>> > >
>> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
>> <mailto:
>> > > rushighatkar35@gmail.com>> wrote:
>> > > > Hi,
>> > > >
>> > > > I have followed a youtube video from Nuttx Channel to configure and
>> > > compile
>> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
>> > STM32CUbeProgrammer
>> > > I
>> > > > have also flashed the nuttx.bin file into the board.
>> > > > But when I was trying to use minicom or picocom, I'm unable to use
>> it.
>> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b 115200"
>> *,
>> > > > nutshell prompt is not appearing, please find the attachment.
>> > > > Need help for this.
>> > > >
>> > > >
>> > > > Regards,
>> > > > Rushikesh Ghatkar
>> > > >
>> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <mtologlu@hotmail.com
>> > > <ma...@hotmail.com>> wrote:
>> > > >
>> > > > > Hi Rushi,
>> > > > >
>> > > > > Unless we know what you are trying to do we can't help you. There
>> may
>> > > be a
>> > > > > mistake anywhere!
>> > > > >
>> > > > > Explain what did you try so far, how ? Give us the links of the
>> > > > > application you're trying.. So may be we can discover your
>> > > > > mistake.
>> > > > >
>> > > > > Regards,
>> > > > > Murat
>> > > > >
>> > > > > On 2021/08/09 04:36:22, rushi ghatkar <rushighatkar35@gmail.com
>> > > <ma...@gmail.com>> wrote:
>> > > > > > 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 command is not working so I tried STM32CubeProgrammer to
>> > flash
>> > > and
>> > > > > it
>> > > > > > got flash successfully.
>> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
>> > > executing and
>> > > > > > resetting the board it's just waiting but the nsh> prompt
>> > > > > > isn't
>> > > > > appearing.
>> > > > > > What to do about it?
>> > > > > >
>> > > > > > Is there anyone who has worked on Nuttx RTOS with
>> > > > > > Nucleo-H743ZI2
>> > > board
>> > > > > and
>> > > > > > can help me with this issue?
>> > > > > > Please help me to solve this issue.
>> > > > > > And also I want to create my own driver using nuttx rtos on a
>> > > > > Nucleo-H73ZI2
>> > > > > > board . How to create our own driver and which IDE we have to
>> use?
>> > > > > >
>> > > > > > Please help me.
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > Thanks & Regards,
>> > > > > > Rushikesh Ghatkar
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
Hi Sir,
Thanks for your reply.
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.
Youtube Link :
https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
I did exactly as it is and finally the nuttx.bin file has been created and
I have flashed it by using STM32CubeProgrammer.
For Nuttx configuration and compilation, I'm using Ubuntu 20.04.
Picocom or minicom is not working, so I'm working on it to get it work.
But now I have doubts,
1. How to create our own driver? I want to create my own driver like PWM,
ADC and for other peripherals, for this where I should start to create? and
how??
2. To create our own driver, where do we have to create it like in Ubuntu
or is there any other IDE we can use in ubuntu?
3. After flashing the nuttx.bin file into Nucleo-H743ZI2 board, is it
possible to do programming in STM32CubeIDE while the nuttx.bin file is
already on board?
Thanks & Regards,
Rushikesh Ghatkar
On Tue, Aug 10, 2021 at 3:52 PM Simon Filgis <si...@ingenieurbuero-filgis.de>
wrote:
> Hi Sir,
>
> split you problem:
>
> Have you verified 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 <ru...@gmail.com>
> wrote:
>
> > Hi Sir,
> >
> > Thanks. Appreciate for your help.
> >
> > I have flashed your firmware file, nuttx.bin , but still I'm not getting
> > nsh> prompt.
> >
> > Its ok sir. Thanks for your help.
> >
> >
> >
> > Thanks & Regards,
> > Rushikesh Ghatkar
> >
> > On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu <mt...@hotmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > Your nuttx.bin is probably different than the nuttx.bin file which I
> sent
> > > to you that's why I configured and compiled an sent to you a new one
> for
> > > your sake; If you still can't get the nsh> prompt with the firmware I
> > sent
> > > to you I don't have any more answer for you. Maybe someone else can
> > > contribute.
> > >
> > > Good luck.
> > >
> > > From: rushi ghatkar <ru...@gmail.com>
> > > 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 <
> rushighatkar35@gmail.com
> > > <ma...@gmail.com>> wrote:
> > > Hi Sir,
> > >
> > > Thanks for your reply. Really appreciate it.
> > >
> > > When i configured and compiled nuttx rtos then in my system nuttx.bin
> > file
> > > was created. And I have flashed that file also. Please find the nuttx
> > > directory image attachment.
> > >
> > > Your firmware file, nuttx bin file I have flashed successfully using
> > > STM32CubeProgramer.
> > >
> > > But the issue is,
> > > 1. picocom or minicom is not working.
> > > 2. I want to create my own driver like PWM, ADC and for other
> > peripherals,
> > > for this where I should start to create? and how?
> > >
> > >
> > > Thanks & Regards,
> > > Rushikesh Ghatkar
> > >
> > >
> > >
> > >
> > > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu <mtologlu@hotmail.com
> > > <ma...@hotmail.com>> wrote:
> > > 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 <rushighatkar35@gmail.com<mailto:
> > > rushighatkar35@gmail.com>>
> > > Sent: Tuesday, August 10, 2021 9:42 AM
> > > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
> > > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> > >
> > > Hi,
> > >
> > > Thanks for your reply.
> > >
> > > I have followed this youtube video from Nuttx Channel,
> > >
> > >
> >
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
> > >
> > > From the above link I have followed each step exactly as it is.
> > >
> > > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in the
> end I
> > > was trying to execute command "openocd -f interface/stlink-v3.cfg -f
> > > target/stm32h7x.cfg" but this gives error. Please find the error image
> > > attachment.
> > > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
> > > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has been
> > flashed
> > > successfully.
> > >
> > > After all this I was trying to open the nutshell using picocom, but
> > > nothing happened. No nutshell prompt appeared.
> > >
> > > Please help me to solve this issue.
> > >
> > >
> > > Thanks & Regards,
> > > Rushikesh Ghatkar
> > >
> > >
> > > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <mtologlu@hotmail.com
> > > <ma...@hotmail.com>> wrote:
> > > Hi Rushikesh,
> > >
> > > If you copy paste and share in a file attachment all the command line
> > > content from "$ cd nuttxspace/nuttx" to the end - not only picocom
> > output "
> > > but everything that you did to configure and compile fooling "a video"
> (
> > > which video? ) , perhaps we help can you.
> > >
> > > Regards,
> > > Murat
> > >
> > > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com
> <mailto:
> > > rushighatkar35@gmail.com>> wrote:
> > > > Hi,
> > > >
> > > > I have followed a youtube video from Nuttx Channel to configure and
> > > compile
> > > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
> > STM32CUbeProgrammer
> > > I
> > > > have also flashed the nuttx.bin file into the board.
> > > > But when I was trying to use minicom or picocom, I'm unable to use
> it.
> > > > After executing this command "*sudo picocom /dev/ttyACM0 -b 115200"
> *,
> > > > nutshell prompt is not appearing, please find the attachment.
> > > > Need help for this.
> > > >
> > > >
> > > > Regards,
> > > > Rushikesh Ghatkar
> > > >
> > > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <mtologlu@hotmail.com
> > > <ma...@hotmail.com>> wrote:
> > > >
> > > > > Hi Rushi,
> > > > >
> > > > > Unless we know what you are trying to do we can't help you. There
> may
> > > be a
> > > > > mistake anywhere!
> > > > >
> > > > > Explain what did you try so far, how ? Give us the links of the
> > > > > application you're trying.. So may be we can discover your mistake.
> > > > >
> > > > > Regards,
> > > > > Murat
> > > > >
> > > > > On 2021/08/09 04:36:22, rushi ghatkar <rushighatkar35@gmail.com
> > > <ma...@gmail.com>> wrote:
> > > > > > 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 command is not working so I tried STM32CubeProgrammer to
> > flash
> > > and
> > > > > it
> > > > > > got flash successfully.
> > > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
> > > executing and
> > > > > > resetting the board it's just waiting but the nsh> prompt isn't
> > > > > appearing.
> > > > > > What to do about it?
> > > > > >
> > > > > > Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2
> > > board
> > > > > and
> > > > > > can help me with this issue?
> > > > > > Please help me to solve this issue.
> > > > > > And also I want to create my own driver using nuttx rtos on a
> > > > > Nucleo-H73ZI2
> > > > > > board . How to create our own driver and which IDE we have to
> use?
> > > > > >
> > > > > > Please help me.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Thanks & Regards,
> > > > > > Rushikesh Ghatkar
> > > > > >
> > > > >
> > > >
> > >
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Simon Filgis <si...@ingenieurbuero-filgis.de>.
Hi Sir,
split you problem:
Have you verified 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 <ru...@gmail.com>
wrote:
> Hi Sir,
>
> Thanks. Appreciate for your help.
>
> I have flashed your firmware file, nuttx.bin , but still I'm not getting
> nsh> prompt.
>
> Its ok sir. Thanks for your help.
>
>
>
> Thanks & Regards,
> Rushikesh Ghatkar
>
> On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu <mt...@hotmail.com>
> wrote:
>
> > Hi,
> >
> > Your nuttx.bin is probably different than the nuttx.bin file which I sent
> > to you that's why I configured and compiled an sent to you a new one for
> > your sake; If you still can't get the nsh> prompt with the firmware I
> sent
> > to you I don't have any more answer for you. Maybe someone else can
> > contribute.
> >
> > Good luck.
> >
> > From: rushi ghatkar <ru...@gmail.com>
> > 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 <rushighatkar35@gmail.com
> > <ma...@gmail.com>> wrote:
> > Hi Sir,
> >
> > Thanks for your reply. Really appreciate it.
> >
> > When i configured and compiled nuttx rtos then in my system nuttx.bin
> file
> > was created. And I have flashed that file also. Please find the nuttx
> > directory image attachment.
> >
> > Your firmware file, nuttx bin file I have flashed successfully using
> > STM32CubeProgramer.
> >
> > But the issue is,
> > 1. picocom or minicom is not working.
> > 2. I want to create my own driver like PWM, ADC and for other
> peripherals,
> > for this where I should start to create? and how?
> >
> >
> > Thanks & Regards,
> > Rushikesh Ghatkar
> >
> >
> >
> >
> > On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu <mtologlu@hotmail.com
> > <ma...@hotmail.com>> wrote:
> > 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 <rushighatkar35@gmail.com<mailto:
> > rushighatkar35@gmail.com>>
> > Sent: Tuesday, August 10, 2021 9:42 AM
> > To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
> > Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
> >
> > Hi,
> >
> > Thanks for your reply.
> >
> > I have followed this youtube video from Nuttx Channel,
> >
> >
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
> >
> > From the above link I have followed each step exactly as it is.
> >
> > I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in the end I
> > was trying to execute command "openocd -f interface/stlink-v3.cfg -f
> > target/stm32h7x.cfg" but this gives error. Please find the error image
> > attachment.
> > As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
> > Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has been
> flashed
> > successfully.
> >
> > After all this I was trying to open the nutshell using picocom, but
> > nothing happened. No nutshell prompt appeared.
> >
> > Please help me to solve this issue.
> >
> >
> > Thanks & Regards,
> > Rushikesh Ghatkar
> >
> >
> > On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <mtologlu@hotmail.com
> > <ma...@hotmail.com>> wrote:
> > Hi Rushikesh,
> >
> > If you copy paste and share in a file attachment all the command line
> > content from "$ cd nuttxspace/nuttx" to the end - not only picocom
> output "
> > but everything that you did to configure and compile fooling "a video" (
> > which video? ) , perhaps we help can you.
> >
> > Regards,
> > Murat
> >
> > On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com<mailto:
> > rushighatkar35@gmail.com>> wrote:
> > > Hi,
> > >
> > > I have followed a youtube video from Nuttx Channel to configure and
> > compile
> > > Nuttx rtos with Nucleo-H743ZI2. And with the help of
> STM32CUbeProgrammer
> > I
> > > have also flashed the nuttx.bin file into the board.
> > > But when I was trying to use minicom or picocom, I'm unable to use it.
> > > After executing this command "*sudo picocom /dev/ttyACM0 -b 115200" *,
> > > nutshell prompt is not appearing, please find the attachment.
> > > Need help for this.
> > >
> > >
> > > Regards,
> > > Rushikesh Ghatkar
> > >
> > > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <mtologlu@hotmail.com
> > <ma...@hotmail.com>> wrote:
> > >
> > > > Hi Rushi,
> > > >
> > > > Unless we know what you are trying to do we can't help you. There may
> > be a
> > > > mistake anywhere!
> > > >
> > > > Explain what did you try so far, how ? Give us the links of the
> > > > application you're trying.. So may be we can discover your mistake.
> > > >
> > > > Regards,
> > > > Murat
> > > >
> > > > On 2021/08/09 04:36:22, rushi ghatkar <rushighatkar35@gmail.com
> > <ma...@gmail.com>> wrote:
> > > > > 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 command is not working so I tried STM32CubeProgrammer to
> flash
> > and
> > > > it
> > > > > got flash successfully.
> > > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
> > executing and
> > > > > resetting the board it's just waiting but the nsh> prompt isn't
> > > > appearing.
> > > > > What to do about it?
> > > > >
> > > > > Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2
> > board
> > > > and
> > > > > can help me with this issue?
> > > > > Please help me to solve this issue.
> > > > > And also I want to create my own driver using nuttx rtos on a
> > > > Nucleo-H73ZI2
> > > > > board . How to create our own driver and which IDE we have to use?
> > > > >
> > > > > Please help me.
> > > > >
> > > > >
> > > > >
> > > > > Thanks & Regards,
> > > > > Rushikesh Ghatkar
> > > > >
> > > >
> > >
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
Hi Sir,
Thanks. Appreciate for your help.
I have flashed your firmware file, nuttx.bin , but still I'm not getting
nsh> prompt.
Its ok sir. Thanks for your help.
Thanks & Regards,
Rushikesh Ghatkar
On Tue, Aug 10, 2021 at 3:29 PM Murat Tologlu <mt...@hotmail.com> wrote:
> Hi,
>
> Your nuttx.bin is probably different than the nuttx.bin file which I sent
> to you that's why I configured and compiled an sent to you a new one for
> your sake; If you still can't get the nsh> prompt with the firmware I sent
> to you I don't have any more answer for you. Maybe someone else can
> contribute.
>
> Good luck.
>
> From: rushi ghatkar <ru...@gmail.com>
> 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 <rushighatkar35@gmail.com
> <ma...@gmail.com>> wrote:
> Hi Sir,
>
> Thanks for your reply. Really appreciate it.
>
> When i configured and compiled nuttx rtos then in my system nuttx.bin file
> was created. And I have flashed that file also. Please find the nuttx
> directory image attachment.
>
> Your firmware file, nuttx bin file I have flashed successfully using
> STM32CubeProgramer.
>
> But the issue is,
> 1. picocom or minicom is not working.
> 2. I want to create my own driver like PWM, ADC and for other peripherals,
> for this where I should start to create? and how?
>
>
> Thanks & Regards,
> Rushikesh Ghatkar
>
>
>
>
> On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu <mtologlu@hotmail.com
> <ma...@hotmail.com>> wrote:
> 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 <rushighatkar35@gmail.com<mailto:
> rushighatkar35@gmail.com>>
> Sent: Tuesday, August 10, 2021 9:42 AM
> To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
> Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
>
> Hi,
>
> Thanks for your reply.
>
> I have followed this youtube video from Nuttx Channel,
>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
>
> From the above link I have followed each step exactly as it is.
>
> I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in the end I
> was trying to execute command "openocd -f interface/stlink-v3.cfg -f
> target/stm32h7x.cfg" but this gives error. Please find the error image
> attachment.
> As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
> Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has been flashed
> successfully.
>
> After all this I was trying to open the nutshell using picocom, but
> nothing happened. No nutshell prompt appeared.
>
> Please help me to solve this issue.
>
>
> Thanks & Regards,
> Rushikesh Ghatkar
>
>
> On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <mtologlu@hotmail.com
> <ma...@hotmail.com>> wrote:
> Hi Rushikesh,
>
> If you copy paste and share in a file attachment all the command line
> content from "$ cd nuttxspace/nuttx" to the end - not only picocom output "
> but everything that you did to configure and compile fooling "a video" (
> which video? ) , perhaps we help can you.
>
> Regards,
> Murat
>
> On 2021/08/10 05:00:36, rushi ghatkar <rushighatkar35@gmail.com<mailto:
> rushighatkar35@gmail.com>> wrote:
> > Hi,
> >
> > I have followed a youtube video from Nuttx Channel to configure and
> compile
> > Nuttx rtos with Nucleo-H743ZI2. And with the help of STM32CUbeProgrammer
> I
> > have also flashed the nuttx.bin file into the board.
> > But when I was trying to use minicom or picocom, I'm unable to use it.
> > After executing this command "*sudo picocom /dev/ttyACM0 -b 115200" *,
> > nutshell prompt is not appearing, please find the attachment.
> > Need help for this.
> >
> >
> > Regards,
> > Rushikesh Ghatkar
> >
> > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <mtologlu@hotmail.com
> <ma...@hotmail.com>> wrote:
> >
> > > Hi Rushi,
> > >
> > > Unless we know what you are trying to do we can't help you. There may
> be a
> > > mistake anywhere!
> > >
> > > Explain what did you try so far, how ? Give us the links of the
> > > application you're trying.. So may be we can discover your mistake.
> > >
> > > Regards,
> > > Murat
> > >
> > > On 2021/08/09 04:36:22, rushi ghatkar <rushighatkar35@gmail.com
> <ma...@gmail.com>> wrote:
> > > > 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 command is not working so I tried STM32CubeProgrammer to flash
> and
> > > it
> > > > got flash successfully.
> > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
> executing and
> > > > resetting the board it's just waiting but the nsh> prompt isn't
> > > appearing.
> > > > What to do about it?
> > > >
> > > > Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2
> board
> > > and
> > > > can help me with this issue?
> > > > Please help me to solve this issue.
> > > > And also I want to create my own driver using nuttx rtos on a
> > > Nucleo-H73ZI2
> > > > board . How to create our own driver and which IDE we have to use?
> > > >
> > > > Please help me.
> > > >
> > > >
> > > >
> > > > Thanks & Regards,
> > > > Rushikesh Ghatkar
> > > >
> > >
> >
>
RE: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Murat Tologlu <mt...@hotmail.com>.
Hi,
Your nuttx.bin is probably different than the nuttx.bin file which I sent to you that's why I configured and compiled an sent to you a new one for your sake; If you still can't get the nsh> prompt with the firmware I sent to you I don't have any more answer for you. Maybe someone else can contribute.
Good luck.
From: rushi ghatkar <ru...@gmail.com>
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 <ru...@gmail.com>> wrote:
Hi Sir,
Thanks for your reply. Really appreciate it.
When i configured and compiled nuttx rtos then in my system nuttx.bin file was created. And I have flashed that file also. Please find the nuttx directory image attachment.
Your firmware file, nuttx bin file I have flashed successfully using STM32CubeProgramer.
But the issue is,
1. picocom or minicom is not working.
2. I want to create my own driver like PWM, ADC and for other peripherals, for this where I should start to create? and how?
Thanks & Regards,
Rushikesh Ghatkar
On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu <mt...@hotmail.com>> wrote:
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 <ru...@gmail.com>>
Sent: Tuesday, August 10, 2021 9:42 AM
To: dev@nuttx.apache.org<ma...@nuttx.apache.org>
Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
Hi,
Thanks for your reply.
I have followed this youtube video from Nuttx Channel,
https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
From the above link I have followed each step exactly as it is.
I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in the end I was trying to execute command "openocd -f interface/stlink-v3.cfg -f target/stm32h7x.cfg" but this gives error. Please find the error image attachment.
As you asked, use STM32CubeProgrammer to flash nuttx.bin into the Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has been flashed successfully.
After all this I was trying to open the nutshell using picocom, but nothing happened. No nutshell prompt appeared.
Please help me to solve this issue.
Thanks & Regards,
Rushikesh Ghatkar
On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <mt...@hotmail.com>> wrote:
Hi Rushikesh,
If you copy paste and share in a file attachment all the command line content from "$ cd nuttxspace/nuttx" to the end - not only picocom output " but everything that you did to configure and compile fooling "a video" ( which video? ) , perhaps we help can you.
Regards,
Murat
On 2021/08/10 05:00:36, rushi ghatkar <ru...@gmail.com>> wrote:
> Hi,
>
> I have followed a youtube video from Nuttx Channel to configure and compile
> Nuttx rtos with Nucleo-H743ZI2. And with the help of STM32CUbeProgrammer I
> have also flashed the nuttx.bin file into the board.
> But when I was trying to use minicom or picocom, I'm unable to use it.
> After executing this command "*sudo picocom /dev/ttyACM0 -b 115200" *,
> nutshell prompt is not appearing, please find the attachment.
> Need help for this.
>
>
> Regards,
> Rushikesh Ghatkar
>
> On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <mt...@hotmail.com>> wrote:
>
> > Hi Rushi,
> >
> > Unless we know what you are trying to do we can't help you. There may be a
> > mistake anywhere!
> >
> > Explain what did you try so far, how ? Give us the links of the
> > application you're trying.. So may be we can discover your mistake.
> >
> > Regards,
> > Murat
> >
> > On 2021/08/09 04:36:22, rushi ghatkar <ru...@gmail.com>> wrote:
> > > 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 command is not working so I tried STM32CubeProgrammer to flash and
> > it
> > > got flash successfully.
> > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after executing and
> > > resetting the board it's just waiting but the nsh> prompt isn't
> > appearing.
> > > What to do about it?
> > >
> > > Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2 board
> > and
> > > can help me with this issue?
> > > Please help me to solve this issue.
> > > And also I want to create my own driver using nuttx rtos on a
> > Nucleo-H73ZI2
> > > board . How to create our own driver and which IDE we have to use?
> > >
> > > Please help me.
> > >
> > >
> > >
> > > Thanks & Regards,
> > > Rushikesh Ghatkar
> > >
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
On Tue, Aug 10, 2021 at 2:52 PM rushi ghatkar <ru...@gmail.com>
wrote:
> Hi Sir,
>
> Thanks for your reply. Really appreciate it.
>
> When i configured and compiled nuttx rtos then in my system nuttx.bin file
> was created. And I have flashed that file also. Please find the nuttx
> directory image attachment.
>
> Your firmware file, nuttx bin file I have flashed successfully using
> STM32CubeProgramer.
>
> But the issue is,
> 1. picocom or minicom is not working.
> 2. I want to create my own driver like PWM, ADC and for
> other peripherals, for this where I should start to create? and how?
>
>
> Thanks & Regards,
> Rushikesh Ghatkar
>
>
>
>
> On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu <mt...@hotmail.com>
> wrote:
>
>> 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 <ru...@gmail.com>
>> *Sent:* Tuesday, August 10, 2021 9:42 AM
>> *To:* dev@nuttx.apache.org
>> *Subject:* Re: Nuttx RTOS with Nucleo-H743ZI2 board
>>
>>
>>
>> Hi,
>>
>>
>>
>> Thanks for your reply.
>>
>>
>>
>> I have followed this youtube video from Nuttx Channel,
>>
>>
>> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
>>
>>
>>
>> From the above link I have followed each step exactly as it is.
>>
>>
>>
>> I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in the end I
>> was trying to execute command "*openocd -f interface/stlink-v3.cfg -f
>> target/stm32h7x.cfg*" but this gives error. Please find the error image
>> attachment.
>>
>> As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
>> Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has been flashed
>> successfully.
>>
>>
>>
>> After all this I was trying to open the nutshell using picocom, but
>> nothing happened. No nutshell prompt appeared.
>>
>>
>>
>> Please help me to solve this issue.
>>
>>
>>
>>
>>
>> Thanks & Regards,
>>
>> Rushikesh Ghatkar
>>
>>
>>
>>
>>
>> On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <mt...@hotmail.com>
>> wrote:
>>
>> Hi Rushikesh,
>>
>> If you copy paste and share in a file attachment all the command line
>> content from "$ cd nuttxspace/nuttx" to the end - not only picocom output "
>> but everything that you did to configure and compile fooling "a video" (
>> which video? ) , perhaps we help can you.
>>
>> Regards,
>> Murat
>>
>> On 2021/08/10 05:00:36, rushi ghatkar <ru...@gmail.com> wrote:
>> > Hi,
>> >
>> > I have followed a youtube video from Nuttx Channel to configure and
>> compile
>> > Nuttx rtos with Nucleo-H743ZI2. And with the help of
>> STM32CUbeProgrammer I
>> > have also flashed the nuttx.bin file into the board.
>> > But when I was trying to use minicom or picocom, I'm unable to use it.
>> > After executing this command "*sudo picocom /dev/ttyACM0 -b 115200" *,
>> > nutshell prompt is not appearing, please find the attachment.
>> > Need help for this.
>> >
>> >
>> > Regards,
>> > Rushikesh Ghatkar
>> >
>> > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <mt...@hotmail.com>
>> wrote:
>> >
>> > > Hi Rushi,
>> > >
>> > > Unless we know what you are trying to do we can't help you. There may
>> be a
>> > > mistake anywhere!
>> > >
>> > > Explain what did you try so far, how ? Give us the links of the
>> > > application you're trying.. So may be we can discover your mistake.
>> > >
>> > > Regards,
>> > > Murat
>> > >
>> > > On 2021/08/09 04:36:22, rushi ghatkar <ru...@gmail.com>
>> wrote:
>> > > > 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 command is not working so I tried STM32CubeProgrammer to
>> flash and
>> > > it
>> > > > got flash successfully.
>> > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
>> executing and
>> > > > resetting the board it's just waiting but the nsh> prompt isn't
>> > > appearing.
>> > > > What to do about it?
>> > > >
>> > > > Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2
>> board
>> > > and
>> > > > can help me with this issue?
>> > > > Please help me to solve this issue.
>> > > > And also I want to create my own driver using nuttx rtos on a
>> > > Nucleo-H73ZI2
>> > > > board . How to create our own driver and which IDE we have to use?
>> > > >
>> > > > Please help me.
>> > > >
>> > > >
>> > > >
>> > > > Thanks & Regards,
>> > > > Rushikesh Ghatkar
>> > > >
>> > >
>> >
>>
>>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
Hi Sir,
Thanks for your reply. Really appreciate it.
When i configured and compiled nuttx rtos then in my system nuttx.bin file
was created. And I have flashed that file also. Please find the nuttx
directory image attachment.
Your firmware file, nuttx bin file I have flashed successfully using
STM32CubeProgramer.
But the issue is,
1. picocom or minicom is not working.
2. I want to create my own driver like PWM, ADC and for
other peripherals, for this where I should start to create? and how?
Thanks & Regards,
Rushikesh Ghatkar
On Tue, Aug 10, 2021 at 2:33 PM Murat Tologlu <mt...@hotmail.com> wrote:
> 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 <ru...@gmail.com>
> *Sent:* Tuesday, August 10, 2021 9:42 AM
> *To:* dev@nuttx.apache.org
> *Subject:* Re: Nuttx RTOS with Nucleo-H743ZI2 board
>
>
>
> Hi,
>
>
>
> Thanks for your reply.
>
>
>
> I have followed this youtube video from Nuttx Channel,
>
>
> https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
>
>
>
> From the above link I have followed each step exactly as it is.
>
>
>
> I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in the end I
> was trying to execute command "*openocd -f interface/stlink-v3.cfg -f
> target/stm32h7x.cfg*" but this gives error. Please find the error image
> attachment.
>
> As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
> Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has been flashed
> successfully.
>
>
>
> After all this I was trying to open the nutshell using picocom, but
> nothing happened. No nutshell prompt appeared.
>
>
>
> Please help me to solve this issue.
>
>
>
>
>
> Thanks & Regards,
>
> Rushikesh Ghatkar
>
>
>
>
>
> On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <mt...@hotmail.com>
> wrote:
>
> Hi Rushikesh,
>
> If you copy paste and share in a file attachment all the command line
> content from "$ cd nuttxspace/nuttx" to the end - not only picocom output "
> but everything that you did to configure and compile fooling "a video" (
> which video? ) , perhaps we help can you.
>
> Regards,
> Murat
>
> On 2021/08/10 05:00:36, rushi ghatkar <ru...@gmail.com> wrote:
> > Hi,
> >
> > I have followed a youtube video from Nuttx Channel to configure and
> compile
> > Nuttx rtos with Nucleo-H743ZI2. And with the help of STM32CUbeProgrammer
> I
> > have also flashed the nuttx.bin file into the board.
> > But when I was trying to use minicom or picocom, I'm unable to use it.
> > After executing this command "*sudo picocom /dev/ttyACM0 -b 115200" *,
> > nutshell prompt is not appearing, please find the attachment.
> > Need help for this.
> >
> >
> > Regards,
> > Rushikesh Ghatkar
> >
> > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <mt...@hotmail.com>
> wrote:
> >
> > > Hi Rushi,
> > >
> > > Unless we know what you are trying to do we can't help you. There may
> be a
> > > mistake anywhere!
> > >
> > > Explain what did you try so far, how ? Give us the links of the
> > > application you're trying.. So may be we can discover your mistake.
> > >
> > > Regards,
> > > Murat
> > >
> > > On 2021/08/09 04:36:22, rushi ghatkar <ru...@gmail.com>
> wrote:
> > > > 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 command is not working so I tried STM32CubeProgrammer to flash
> and
> > > it
> > > > got flash successfully.
> > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
> executing and
> > > > resetting the board it's just waiting but the nsh> prompt isn't
> > > appearing.
> > > > What to do about it?
> > > >
> > > > Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2
> board
> > > and
> > > > can help me with this issue?
> > > > Please help me to solve this issue.
> > > > And also I want to create my own driver using nuttx rtos on a
> > > Nucleo-H73ZI2
> > > > board . How to create our own driver and which IDE we have to use?
> > > >
> > > > Please help me.
> > > >
> > > >
> > > >
> > > > Thanks & Regards,
> > > > Rushikesh Ghatkar
> > > >
> > >
> >
>
>
RE: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Murat Tologlu <mt...@hotmail.com>.
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 <ru...@gmail.com>
Sent: Tuesday, August 10, 2021 9:42 AM
To: dev@nuttx.apache.org
Subject: Re: Nuttx RTOS with Nucleo-H743ZI2 board
Hi,
Thanks for your reply.
I have followed this youtube video from Nuttx Channel,
https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
From the above link I have followed each step exactly as it is.
I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in the end I was trying to execute command "openocd -f interface/stlink-v3.cfg -f target/stm32h7x.cfg" but this gives error. Please find the error image attachment.
As you asked, use STM32CubeProgrammer to flash nuttx.bin into the Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has been flashed successfully.
After all this I was trying to open the nutshell using picocom, but nothing happened. No nutshell prompt appeared.
Please help me to solve this issue.
Thanks & Regards,
Rushikesh Ghatkar
On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <mt...@hotmail.com>> wrote:
Hi Rushikesh,
If you copy paste and share in a file attachment all the command line content from "$ cd nuttxspace/nuttx" to the end - not only picocom output " but everything that you did to configure and compile fooling "a video" ( which video? ) , perhaps we help can you.
Regards,
Murat
On 2021/08/10 05:00:36, rushi ghatkar <ru...@gmail.com>> wrote:
> Hi,
>
> I have followed a youtube video from Nuttx Channel to configure and compile
> Nuttx rtos with Nucleo-H743ZI2. And with the help of STM32CUbeProgrammer I
> have also flashed the nuttx.bin file into the board.
> But when I was trying to use minicom or picocom, I'm unable to use it.
> After executing this command "*sudo picocom /dev/ttyACM0 -b 115200" *,
> nutshell prompt is not appearing, please find the attachment.
> Need help for this.
>
>
> Regards,
> Rushikesh Ghatkar
>
> On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <mt...@hotmail.com>> wrote:
>
> > Hi Rushi,
> >
> > Unless we know what you are trying to do we can't help you. There may be a
> > mistake anywhere!
> >
> > Explain what did you try so far, how ? Give us the links of the
> > application you're trying.. So may be we can discover your mistake.
> >
> > Regards,
> > Murat
> >
> > On 2021/08/09 04:36:22, rushi ghatkar <ru...@gmail.com>> wrote:
> > > 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 command is not working so I tried STM32CubeProgrammer to flash and
> > it
> > > got flash successfully.
> > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after executing and
> > > resetting the board it's just waiting but the nsh> prompt isn't
> > appearing.
> > > What to do about it?
> > >
> > > Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2 board
> > and
> > > can help me with this issue?
> > > Please help me to solve this issue.
> > > And also I want to create my own driver using nuttx rtos on a
> > Nucleo-H73ZI2
> > > board . How to create our own driver and which IDE we have to use?
> > >
> > > Please help me.
> > >
> > >
> > >
> > > Thanks & Regards,
> > > Rushikesh Ghatkar
> > >
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
Hi,
Thanks for your reply.
I have followed this youtube video from Nuttx Channel,
https://www.youtube.com/watch?v=heSkSd-_70g&list=PLd73yQk5Fd8JEsVD-lhwYRQKVu6glfDa8&index=1
From the above link I have followed each step exactly as it is.
I'm using Nucleo-H743ZI2 board which has stlink-v3, for this in the end I
was trying to execute command "*openocd -f interface/stlink-v3.cfg -f
target/stm32h7x.cfg*" but this gives error. Please find the error image
attachment.
As you asked, use STM32CubeProgrammer to flash nuttx.bin into the
Nucleo-H743ZI2 board. And I used it and the nuttx.bin file has been flashed
successfully.
After all this I was trying to open the nutshell using picocom, but
nothing happened. No nutshell prompt appeared.
Please help me to solve this issue.
Thanks & Regards,
Rushikesh Ghatkar
On Tue, Aug 10, 2021 at 11:39 AM murat tologlu <mt...@hotmail.com> wrote:
> Hi Rushikesh,
>
> If you copy paste and share in a file attachment all the command line
> content from "$ cd nuttxspace/nuttx" to the end - not only picocom output "
> but everything that you did to configure and compile fooling "a video" (
> which video? ) , perhaps we help can you.
>
> Regards,
> Murat
>
> On 2021/08/10 05:00:36, rushi ghatkar <ru...@gmail.com> wrote:
> > Hi,
> >
> > I have followed a youtube video from Nuttx Channel to configure and
> compile
> > Nuttx rtos with Nucleo-H743ZI2. And with the help of STM32CUbeProgrammer
> I
> > have also flashed the nuttx.bin file into the board.
> > But when I was trying to use minicom or picocom, I'm unable to use it.
> > After executing this command "*sudo picocom /dev/ttyACM0 -b 115200" *,
> > nutshell prompt is not appearing, please find the attachment.
> > Need help for this.
> >
> >
> > Regards,
> > Rushikesh Ghatkar
> >
> > On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <mt...@hotmail.com>
> wrote:
> >
> > > Hi Rushi,
> > >
> > > Unless we know what you are trying to do we can't help you. There may
> be a
> > > mistake anywhere!
> > >
> > > Explain what did you try so far, how ? Give us the links of the
> > > application you're trying.. So may be we can discover your mistake.
> > >
> > > Regards,
> > > Murat
> > >
> > > On 2021/08/09 04:36:22, rushi ghatkar <ru...@gmail.com>
> wrote:
> > > > 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 command is not working so I tried STM32CubeProgrammer to flash
> and
> > > it
> > > > got flash successfully.
> > > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after
> executing and
> > > > resetting the board it's just waiting but the nsh> prompt isn't
> > > appearing.
> > > > What to do about it?
> > > >
> > > > Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2
> board
> > > and
> > > > can help me with this issue?
> > > > Please help me to solve this issue.
> > > > And also I want to create my own driver using nuttx rtos on a
> > > Nucleo-H73ZI2
> > > > board . How to create our own driver and which IDE we have to use?
> > > >
> > > > Please help me.
> > > >
> > > >
> > > >
> > > > Thanks & Regards,
> > > > Rushikesh Ghatkar
> > > >
> > >
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by murat tologlu <mt...@hotmail.com>.
Hi Rushikesh,
If you copy paste and share in a file attachment all the command line content from "$ cd nuttxspace/nuttx" to the end - not only picocom output " but everything that you did to configure and compile fooling "a video" ( which video? ) , perhaps we help can you.
Regards,
Murat
On 2021/08/10 05:00:36, rushi ghatkar <ru...@gmail.com> wrote:
> Hi,
>
> I have followed a youtube video from Nuttx Channel to configure and compile
> Nuttx rtos with Nucleo-H743ZI2. And with the help of STM32CUbeProgrammer I
> have also flashed the nuttx.bin file into the board.
> But when I was trying to use minicom or picocom, I'm unable to use it.
> After executing this command "*sudo picocom /dev/ttyACM0 -b 115200" *,
> nutshell prompt is not appearing, please find the attachment.
> Need help for this.
>
>
> Regards,
> Rushikesh Ghatkar
>
> On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <mt...@hotmail.com> wrote:
>
> > Hi Rushi,
> >
> > Unless we know what you are trying to do we can't help you. There may be a
> > mistake anywhere!
> >
> > Explain what did you try so far, how ? Give us the links of the
> > application you're trying.. So may be we can discover your mistake.
> >
> > Regards,
> > Murat
> >
> > On 2021/08/09 04:36:22, rushi ghatkar <ru...@gmail.com> wrote:
> > > 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 command is not working so I tried STM32CubeProgrammer to flash and
> > it
> > > got flash successfully.
> > > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after executing and
> > > resetting the board it's just waiting but the nsh> prompt isn't
> > appearing.
> > > What to do about it?
> > >
> > > Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2 board
> > and
> > > can help me with this issue?
> > > Please help me to solve this issue.
> > > And also I want to create my own driver using nuttx rtos on a
> > Nucleo-H73ZI2
> > > board . How to create our own driver and which IDE we have to use?
> > >
> > > Please help me.
> > >
> > >
> > >
> > > Thanks & Regards,
> > > Rushikesh Ghatkar
> > >
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by rushi ghatkar <ru...@gmail.com>.
Hi,
I have followed a youtube video from Nuttx Channel to configure and compile
Nuttx rtos with Nucleo-H743ZI2. And with the help of STM32CUbeProgrammer I
have also flashed the nuttx.bin file into the board.
But when I was trying to use minicom or picocom, I'm unable to use it.
After executing this command "*sudo picocom /dev/ttyACM0 -b 115200" *,
nutshell prompt is not appearing, please find the attachment.
Need help for this.
Regards,
Rushikesh Ghatkar
On Mon, Aug 9, 2021 at 8:17 PM murat tologlu <mt...@hotmail.com> wrote:
> Hi Rushi,
>
> Unless we know what you are trying to do we can't help you. There may be a
> mistake anywhere!
>
> Explain what did you try so far, how ? Give us the links of the
> application you're trying.. So may be we can discover your mistake.
>
> Regards,
> Murat
>
> On 2021/08/09 04:36:22, rushi ghatkar <ru...@gmail.com> wrote:
> > 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 command is not working so I tried STM32CubeProgrammer to flash and
> it
> > got flash successfully.
> > But after that "sudo picocom/dev/ttyACM0 -b 115200" , after executing and
> > resetting the board it's just waiting but the nsh> prompt isn't
> appearing.
> > What to do about it?
> >
> > Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2 board
> and
> > can help me with this issue?
> > Please help me to solve this issue.
> > And also I want to create my own driver using nuttx rtos on a
> Nucleo-H73ZI2
> > board . How to create our own driver and which IDE we have to use?
> >
> > Please help me.
> >
> >
> >
> > Thanks & Regards,
> > Rushikesh Ghatkar
> >
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by murat tologlu <mt...@hotmail.com>.
Hi Rushi,
Unless we know what you are trying to do we can't help you. There may be a mistake anywhere!
Explain what did you try so far, how ? Give us the links of the application you're trying.. So may be we can discover your mistake.
Regards,
Murat
On 2021/08/09 04:36:22, rushi ghatkar <ru...@gmail.com> wrote:
> 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 command is not working so I tried STM32CubeProgrammer to flash and it
> got flash successfully.
> But after that "sudo picocom/dev/ttyACM0 -b 115200" , after executing and
> resetting the board it's just waiting but the nsh> prompt isn't appearing.
> What to do about it?
>
> Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2 board and
> can help me with this issue?
> Please help me to solve this issue.
> And also I want to create my own driver using nuttx rtos on a Nucleo-H73ZI2
> board . How to create our own driver and which IDE we have to use?
>
> Please help me.
>
>
>
> Thanks & Regards,
> Rushikesh Ghatkar
>
Re: Nuttx RTOS with Nucleo-H743ZI2 board
Posted by Nathan Hartman <ha...@gmail.com>.
On Mon, Aug 9, 2021 at 12:36 AM rushi ghatkar <ru...@gmail.com>
wrote:
> 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 command is not working so I tried STM32CubeProgrammer to flash and it
> got flash successfully.
> But after that "sudo picocom/dev/ttyACM0 -b 115200" , after executing and
> resetting the board it's just waiting but the nsh> prompt isn't appearing.
> What to do about it?
>
> Is there anyone who has worked on Nuttx RTOS with Nucleo-H743ZI2 board and
> can help me with this issue?
> Please help me to solve this issue.
> And also I want to create my own driver using nuttx rtos on a Nucleo-H73ZI2
> board . How to create our own driver and which IDE we have to use?
Regarding the 2nd question, there is no specific IDE you have to use. Some
people are using VS Code, others use Eclipse, some use command line tools
only.
Personally I use the IDE provided by the chip vendor for the target MCU,
i.e. when targetting Tiva I use CCS, when targetting STM32 I use
STMCubeIDE. Both of these are actually Eclipse. The reason I do this is
because the flash programming and debugging works, including live variables
etc. However be forewarned it is not trivial to setup!! I did it by letting
the IDE setup a project as if I'm going to use the vendor's middleware,
then I remove all source files and change the project properties to
makefile project and set everything up. It takes a lot of trial and error
to get it working.
Nathan