How to boot Pixhawk into ST bootloader mode

661 views
Skip to first unread message

Michael Day

unread,
Apr 2, 2015, 9:57:41 PM4/2/15
to drones-...@googlegroups.com
Howdy guys,

I've been working on updating the Pixhawk bootloader to support flashing from either USB or serial.  This is base on see work done for same feature on PX4 v1:

https://github.com/PX4/Bootloader/pull/26

As I've been developing of course I made a mistake and uploaded a bad bootloader onto the Pixhawk so it is quite inaccessible via nsh or any other means.  Instructions here:

http://www.pixhawk.org/dev/bootloader_update#connecting_the_board_all_operating_systems

Show how to resolve this with dfu-util for px4v1; I can't find similar instructions for Pixhawk (I can't tell which pins to bridge).

Anybody know how to get Pixhawk into ST bootloader mode?

Thanks,

Michael

Tom Pittenger

unread,
Apr 2, 2015, 10:07:28 PM4/2/15
to drones-...@googlegroups.com
Does this mean you don't have a JTAG programmer/debugger? I wouldn't dare work on a bootloader without one. It's worth buying, here's the Black Jack probe for $60.

Hao Chen

unread,
Apr 2, 2015, 10:32:20 PM4/2/15
to drones-discuss

Don't forget to get the JTAG header for the board and cable for the black magic if you decide to get it.

Hao

--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Day

unread,
Apr 3, 2015, 11:20:23 AM4/3/15
to drones-...@googlegroups.com
Hao,

Software pro, hardware n00b here.

Where the heck do I get those (so I'm sure they work with the Pixhawk)??

-m

Hao Chen

unread,
Apr 3, 2015, 11:30:27 AM4/3/15
to drones-discuss
@ Michael: 

info about JTAG hardware for Pixhawk can be found here: https://pixhawk.org/modules/pixhawk

JTAG header for board: (or you can special order a pixhawk with JTAG populated)

Black Magic Probe + CABLE:

Cheers,
Hao

Michael Day

unread,
Apr 3, 2015, 12:29:30 PM4/3/15
to drones-...@googlegroups.com
Thanks Hao!

-m
Reply all
Reply to author
Forward
0 new messages