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 <daniel...@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 <rushighatka...@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 < > acas...@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 <rushighatka...@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 < > >> rushighatka...@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 < > mtolo...@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 <rushighatka...@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 < > >> >> rushighatka...@gmail.com > >> >> > > <mailto:rushighatka...@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 < > >> mtolo...@hotmail.com > >> >> > > <mailto:mtolo...@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 <rushighatka...@gmail.com<mailto: > >> >> > > rushighatka...@gmail.com>> > >> >> > > Sent: Tuesday, August 10, 2021 9:42 AM > >> >> > > To: dev@nuttx.apache.org<mailto: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 < > >> mtolo...@hotmail.com > >> >> > > <mailto:mtolo...@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 <rushighatka...@gmail.com > >> >> <mailto: > >> >> > > rushighatka...@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 < > >> mtolo...@hotmail.com > >> >> > > <mailto:mtolo...@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 < > >> rushighatka...@gmail.com > >> >> > > <mailto:rushighatka...@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 > >> >> > > > > > > >> >> > > > > > >> >> > > > > >> >> > > > >> >> > > >> >> > >> > > >> > > >