-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial support for px4_fmu-v6xrt an i.MXRT1170 based FMUM #22263
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
50e808b
to
cfe129c
Compare
@dk7xe VID updated - Please replace Bootloader. Also I removed some comment out code - that should not have been in the check for MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN. But there is still a bug that the signature in the RTC that keeps the bootloader active is not working (Again) |
cfe129c
to
3f49644
Compare
|
4d1113e
to
a98fc60
Compare
CI Builds clean! - There 1 commit on NuttX 8e8f80b79cd6cc30a0cc87d6c8b5f8332b0b66ea that I need to round trip after @PetervdPerk-NXP test it. |
This comment was marked as outdated.
This comment was marked as outdated.
2fbec9a
to
3f42a0f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
For bug reports please include the output from |
Precompiled firmware images with ASSERTION=n - https://github.com/NXPHoverGames/NXP-FMUMRT/tree/main/firmware |
3f42a0f
to
d745fe2
Compare
@dk7xe Please update your built files. @dagar Please review the NuttX PR PX4/NuttX#223 and merge it first, then I will repoint this. |
This comment was marked as outdated.
This comment was marked as outdated.
Let's assume that happened because of HW name change. Maybe it's also a good idea to fully reset param and config start a new due to incompatibility with previous name @dk7xe can you try QGC with a single link and see if that's stable or unstable. |
This comment was marked as outdated.
This comment was marked as outdated.
This is most likely that the ECO 712500-001 PX4 FMUVxX-BASE-T PINREF nARMED to VBUS_SENSE change was not done on base. It sounds to me like you may have a bad FRAM. Use the commands shared in chat today to debug. Log reboot on debug console, |
This comment was marked as resolved.
This comment was marked as resolved.
@dmdobrea have u enabled the driver before building the code? most propably it's not enabled by default |
tested on Vehicle ID20 - Pixhawk 6X-RT with Microhard on ETH and Holybro Telemetry V3
Results
@davids5 @dagar i agree merging to main. |
This comment was marked as resolved.
This comment was marked as resolved.
37ebb67
to
c0f8d53
Compare
Rebased on current main and brings in px4_firmware_nuttx-10.3.0+ with "NXP Do not wait on TXDMA semaphore" |
imxrt:117x Reuse all but io_timer_hw_description and imxrt_pinirq.c imxrt:ADC & LPADC bifurcation and restructuring imxrt:hrt support Up to GPT6 nxp/rt117x:adc Corrected
c0f8d53
to
5ba3a6b
Compare
nxp/rt117x:Fix Pin IRQ nxp/rt117x:Support 4 i2c busses nxp/rt117x:Add px4io_serial support nxp/imxrt:Expand ToneAlarmInterface to GPT 3 & 4 px4_fmu-6xrt:Using imxrt_flexspi_nor_octal px4_fmu-6xrt:Entry is start px4_fmu-6xrt:Add Proper MTD px4_fmu-6xrt:Set I2C Buses px4_fmu-6xrt:Proper SPI usage px4_fmu-6xrt:Adjust memory Map to use the 2 MB px4_fmu-6xrt:Bring in ROMAPI px4_fmu-6xrt:Push FLASH to 200Mhz px4_fmu-6xrt:Use BOARD_I2C_LATEINIT px4_fmu-6xrt:Clock Config remove unused devices px4_fmu-6xrt:Remove EVK SDRAM IO px4_fmu-6xrt:Enable SE550 using HW_VER_REV_DRIVE px4_fmu-6xrt:Use MTD to mount FRAM on Flex SPI px4_fmu-6xrt:Manifest px4_fmu-6xrt:Restore board_peripheral_reset px4_fmu-6xrt:Set I2C buss Interna/Externa and startup nxp/rt117x:Set 6 I2C busses px4_fmu-6xrt:Correct Clock Sources and Freqency Settings px4_fmu-6xrt:Correct ADC Settings px4_fmu-6xrt:Tune FlexSPI config and sync header with debug variant Linker prep for rodata ahb partitioning px4_fmu-6xrt:FlexSPI prefetch partition split .text and .rodata Current config 1KB Prefetch .rodata 3KB Prefetch .text px4_fmu-6xrt:Run imxrt_flash_setup_prefetch_partition from ram with barriers px4_fmu-6xrt:Use All OCTL setting from FLASH g_flash_config SANS lookupTable px4_fmu-6xrt:Octal spi boot/debug problem bypass px4_fmu-6xrt:Add PWM test px4_fmu-6xrt:Fix clockconfig and USB vbus sense px4_fmu-6xrt: Use TCM px4_fmu-6xrt: Ethernet bringup imxrt: use unique_id register for board_identity px4_fmu-6xrt: update ITCM mapping, todo proper trap on pc hitting 0x0 px4_fmu-6xrt:correct rotation icm42688p onboard imu rt117x: Add SSARC HP RAM driver for memory dumps px4_fmu-6xrt: Enable hardfault_log px4_fmu-6xrt: Enable DMA pool px4_fmu-6xrt: fix uart mapping px4_fmu-6xrt: enable SocketCAN & DroneCAN px4_fmu-6xrt:Command line history TAB completion px4_fmu-6xrt:Fix pinning duplication px4_fmu-6xrt:Support conditional PHY address based on selected PHY px4_fmu-6xrt:Add Pull Downs on CTS, use GPIO for RTS px4_fmu-6xrt:Set TelemN TX Slew rate and Drive Strenth to max px4_fmu-6xrt::Set TELEM Buffers add HW HS px4_fmu-6xrt:Turn off DMA poll px4_fmu-6xrt:RC_SERIAL_PORT needed to be px4io to disable rc_input using TELEM2! px4_fmu-6xrt: bootloader (#22228) * imxrt:Add bootloader support * bootloader:imxrt clear BOOT_RTC_SIGNATURE * px4_fmu-6xrt:Add bootloader * px4_fmu-6xrt:bootloader removed ADC * px4_fmu-6xrt:bootloader base bootloader script off of script.ld * px4_fmu-6xrt:add _bootdelay_signature & change entry from 0x30000000 to 0x30040000 * px4_fmu-6xrt:hw_config Bootloader has to have 12 bytes px4_fmu-6xrt:Default to use LAN8742A PHY px4_fmu-v6xrt:VID Set to Drone Code board_reset:Enable ability to write RTC GP regs px4_fmu-6xrt:Fix CMP0079 error rt117x:micro_hal Add a PX4_MAKE_GPIO_PULLED_INPUT px4_fmu-v6xrt:Set CTS High before VDD_5V applided to ports to avoid radios fro entering bootloaders fmu-v6xrt: increase 5v down time fmu-v6xrt:Ready for Release DEBUGASSERTS off and Console 57600, Bootloder updated. imxrt:board_hw_rev_ver Rework for 3.893V Ref px4_fmu-v6xrt:Move ADC to Port3
5ba3a6b
to
84766c4
Compare
Rebased on current main and brings in px4_firmware_nuttx-10.3.0+ with |
Precompiled image based on 84766c4 is available on https://github.com/NXPHoverGames/NXP-FMUMRT/blob/main/firmware/README.md |
This pull request has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: https://discuss.px4.io/t/px4-community-q-a-november-15-2023/35198/1 |
Finally, I got my gear ready. The first issue I noticed is no Global Position was received and besides, MAG1 estimation failure warning while calibrating. Any steps I might be doing wrong? These logs might be helpful. By the way I have RC disabled since am using ELRS Radio. https://review.px4.io/plot_app?log=06f22fb2-6e4e-47e4-ab24-624040edbbed |
@farhangnaderi There is an issue with serial that is a WIP and fixed in #22386 but you will have to drop 7c406c9 and possibly others. You could just use that version of nuttx with main |
Replaced #21321
To do's
Bugs
reboot -b
not staying in bootloader