How to get NSH shell on Pixhawk4 board with PX4?

Hi all,

I am a newbie to drone software and recently bought a pixhawk4 from holybro and I aim to bringup/see NSH shell on my new pixhawk4 with PX4.

I read the following guide and able to build for Pixhawk 4 (make px4_fmu-v5_default).

But loading the firmware into the pixhawk4 get stuck with following for ever;
Loaded firmware for board id: 11,0 size: 1625076 bytes (78.10%), waiting for the bootloader…

Now, I dont know if build has Nuttx in it as I also see another github .

Any help on to get to see/access NSH/ Nuttx shell on pixhawk4 is greatly appreciated.


Did you see and

NuttX is included in the build. I suggest trying with a different USB cable, and/or replugging after you started trying to upload.

After re-plugging, hit the following error;

Found board id: 50,0 bootloader version: 5 on /dev/serial/by-id/usb-3D_Robotics_PX4_BL_FMU_v5.x_0-if00
WARNING: Firmware not suitable for this board (board_type=50 board_id=11)

Then once I used the correct version version to make and upload make px4_fmu-v5_default upload
all resolved. I had been using make px4_fmu-v5_default to make and make px4_fmu-v4_default upload to upload.

Now I see
Erase : [====================] 100.0%
Program: [====================] 100.0%
Verify : [====================] 100.0%
Rebooting. Elapsed Time 34.180

[100%] Built target upload

hello i have problem with firmware after update it go crazy…even setup dont work …my board is how to do it and get the correct firmware…tq