Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()

Post here first, or if you can't find a relevant section!
DrMN
Posts: 22
Joined: Sun Dec 04, 2022 3:37 pm

Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()

Post by DrMN »

I see no error in the upload log. Anyway if it does not work update the STLink firmware using the STM32CubeProgrammer.
Where are the instructions for using the STM32CubeProgrammer? Can it be integrated into the Arduino IDE?

Thank you
DrMN
Posts: 22
Joined: Sun Dec 04, 2022 3:37 pm

Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()

Post by DrMN »

Always remember to check MCU datasheet.
Yes, I am a big fan of datasheets. Getting the environment working is something I try to do early, after a quick perusal, then learn about the API and the part, then think about design and then launch into the details and then one more pass over design and build the app.
GonzoG
Posts: 491
Joined: Wed Jan 15, 2020 11:30 am
Answers: 36
Location: Prudnik, Poland

Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()

Post by GonzoG »

DrMN wrote: Thu Aug 22, 2024 2:19 pm
I see no error in the upload log. Anyway if it does not work update the STLink firmware using the STM32CubeProgrammer.
Where are the instructions for using the STM32CubeProgrammer? Can it be integrated into the Arduino IDE?

Thank you
It is. If you go to "Upload method" in Tools menu, you can choose how to upload sketch. ST-link, DFU or Serial use STMCubeProgrammer for upload.
DrMN
Posts: 22
Joined: Sun Dec 04, 2022 3:37 pm

Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()

Post by DrMN »

Hmmm... there are four options; mass storage, STM32CubeProgrammer SWD, STM32CubeProgrammer Serial, and STM32CubeProgrammer DFU,

The first two, mass storage and SWD, succeed in loading the bin. The latter two, Serial and DFU do not. Thank you, now, I think, I can turn to programming the device.

Aside, the file navigator window is sort of a nuisance for the moment, is there a simple way to turn that off?

I can see how it might be super useful though. Configuration data, serial numbers, etc. And presumably there is an API for writing files from the nucleo to it self autonomously.

Aside, the application area is laboratory instrumentation. We invest effort in the analog design and leverage the MCU for functionality, and then post the designs and codes to git-hub.
ag123
Posts: 1898
Joined: Thu Dec 19, 2019 5:30 am
Answers: 30

Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()

Post by ag123 »

DrMN wrote: Thu Aug 22, 2024 2:19 pm
I see no error in the upload log. Anyway if it does not work update the STLink firmware using the STM32CubeProgrammer.
Where are the instructions for using the STM32CubeProgrammer? Can it be integrated into the Arduino IDE?

Thank you
you can get STM32CubeProgrammer from here
https://www.st.com/en/development-tools ... eprog.html
it is an 'official' tool
various other stuff are covered in the wiki as well
https://github.com/stm32duino/Arduino_C ... ng-Started
https://github.com/stm32duino/Arduino_Core_STM32/wiki

for Nucleos normally the st-link is built-in on board.
dng8888
Posts: 1
Joined: Sun Sep 15, 2024 11:32 pm

Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()

Post by dng8888 »

    DrMN wrote: Thu Aug 22, 2024 12:28 pm Where do I select the part number?

    Have not seen any option for that.
    It works for me.

    The selection is under Tools under "Board Part number" and I chose H743ZI2. Green light blink.
    Post Reply

    Return to “General discussion”