Page 2 of 2
Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
Posted: Thu Aug 22, 2024 2:19 pm
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
Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
Posted: Thu Aug 22, 2024 2:29 pm
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.
Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
Posted: Thu Aug 22, 2024 3:14 pm
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.
Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
Posted: Thu Aug 22, 2024 3:57 pm
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.
Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
Posted: Thu Aug 22, 2024 3:58 pm
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.
Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
Posted: Wed Sep 18, 2024 11:23 am
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.