Hello everyone,

InSpace has manufactured our flight computer now, which is intended to run
NuttX. It is STM32H743 based (VIT6 version). We would like to flash one of
the existing STM32H743 builds from NuttX onto it to verify that it works
before proceeding to create our own board support package. We are able to
get access to its DFU loader via USB, and I can flash binaries to it.
However, it appears all of the H743 binaries that exist are for flashing
with an STLink or similar, not for DFU.

I have attempted flashing the chip with an STLink using the openocd
commands suggested here, and the binaries can be flashed and verified
properly. I am attempting to flash the chip with the configuration for the
weact-stm32h743:nsh since it is the most similar to our board. I cannot
seem to detect a shell on USART1 despite the binary flashing. I have also
changed the definition of GPIO_LD1 (autoled) to be the pin PA4 where we
have our status LED, and updated the HSE clock to 24MHz to match the
frequency of the clock on our board. `ARCH_LEDS` is enabled and the USART1
pins have been modified to PB6 and PB7 to match our board setup. No luck
yet getting a shell or seeing an LED blink. Wondering if anyone with
experience porting to new STM32 boards has some debugging tips for us to
try.

Thank you for all your help so far!
Matteo

On Tue, Oct 1, 2024 at 9:36 AM Matteo Golin <matteo.go...@gmail.com> wrote:

> Thank you everyone for the responses, lots to consider.
>
> I'll have some of our members look into reading the STM32 datasheets to
> check for information about whether or not the
> particular chip(s) we're interested will ship with DFU support or not.
> We're trying to make the use of this board
> as easy as possible since there are lots of different student members.
>
> Thank you for the programming information using openocd; that will be
> useful for us when it comes time to program,
> especially some of the example scripts. The Florida Institute of
> Technology project looks very interesting and is
> definitely something for us to read up about!
>
> Thanks everyone,
> Matteo
>

Reply via email to