it is possible to write directly to flash instead of using EEPROM emulation, these are mostly covered in the FLASH sections of the ref manuals.
The way flash works is that if a page is erased it is reset to 0xff for all bytes, writing data to them toggle the bits to 0.
Hence, it may be possible to ...
Search found 1898 matches
- Tue Apr 22, 2025 5:31 pm
- Forum: General discussion
- Topic: Procedure to change EEPROM default sector/base address using STM32Duino?
- Replies: 5
- Views: 220
- Fri Apr 11, 2025 12:38 pm
- Forum: General discussion
- Topic: WeAct STM32H503 black pill
- Replies: 0
- Views: 244
WeAct STM32H503 black pill
Well despite all that tariff turmoil, I spotted this STM32H503 board from WeAct
https://github.com/WeActStudio/WeActStudio.STM32H503CoreBoard
https://www.aliexpress.com/item/1005008391813630.html
this board is practically a replacement for the stm32f401/411 black pill boards with a STM32H503CBU6 ...
https://github.com/WeActStudio/WeActStudio.STM32H503CoreBoard
https://www.aliexpress.com/item/1005008391813630.html
this board is practically a replacement for the stm32f401/411 black pill boards with a STM32H503CBU6 ...
- Sun Apr 06, 2025 3:50 am
- Forum: General discussion
- Topic: Project stm with ST7735 lcd doesn't work
- Replies: 3
- Views: 260
Re: Project stm with ST7735 lcd doesn't work
you need to mention the core and the board that you used
https://github.com/stm32duino/Arduino_Core_STM32/wiki
https://www.stm32duino.com/viewtopic.php?t=3
https://www.stm32duino.com/viewtopic.php?t=301
and normally, simply taking codes from github may not run out of the box
e.g. that you may need ...
https://github.com/stm32duino/Arduino_Core_STM32/wiki
https://www.stm32duino.com/viewtopic.php?t=3
https://www.stm32duino.com/viewtopic.php?t=301
and normally, simply taking codes from github may not run out of the box
e.g. that you may need ...
- Sun Mar 23, 2025 4:00 am
- Forum: General discussion
- Topic: Migration - need more GPIO
- Replies: 3
- Views: 437
Re: Migration - need more GPIO
I'd guess reviewing the datasheets would be a best option.
A thing I tend to note about stm32 mcus is that for the 'lower ports' e.g. PAxx and possibly PBxx as well, stm32 tends to keep the definitions 'the same'.
I'd guess that in part so that firmware built for a particular mcu could 'just works ...
A thing I tend to note about stm32 mcus is that for the 'lower ports' e.g. PAxx and possibly PBxx as well, stm32 tends to keep the definitions 'the same'.
I'd guess that in part so that firmware built for a particular mcu could 'just works ...
- Tue Mar 18, 2025 7:52 am
- Forum: General discussion
- Topic: PWM and code in the main loop
- Replies: 30
- Views: 3259
Re: PWM and code in the main loop
oscar,
I've done a lot and lot of tests without any signigicant progress, but i'm using a tft display to get the debug messages so I've to clean the code to post it here to let someone (like you've been doing) can keep an eye of it. Something very wrong i'm doing that something almost simple as ...
- Tue Mar 18, 2025 2:36 am
- Forum: General discussion
- Topic: Arduino output code can be opened for debug in cubeIDE?
- Replies: 2
- Views: 375
Re: Arduino output code can be opened for debug in cubeIDE?
to debug in cubeIDE, make a project and copy the codes there, you would need to copy the core there too and make sure that the paths are all setup correctly so that it'd build.
one way to do that is to use CMake
https://www.stm32duino.com/viewtopic.php?t=2563
https://github.com/stm32duino/Arduino ...
one way to do that is to use CMake
https://www.stm32duino.com/viewtopic.php?t=2563
https://github.com/stm32duino/Arduino ...
- Sun Mar 16, 2025 6:05 pm
- Forum: General discussion
- Topic: PWM and code in the main loop
- Replies: 30
- Views: 3259
Re: PWM and code in the main loop
well, I'll start investigating about DMA and Timer combination, maybe with gpt help to speed it up, given that never looked into dma stuff, hardly imagine what it is, but need to figure out exacly how it works, how to configure a timer to start reading a buffer and increment its index, the way and ...
- Sun Mar 16, 2025 6:52 am
- Forum: General discussion
- Topic: What is the difference between Board part numbers?
- Replies: 7
- Views: 546
Re: What is the difference between Board part numbers?
if things are actually working, after you flash/upload the firmware, you need to press reset to restart the board.
otherwise
----
if you want to use maple bootloader, you may need to install and configure the other core Arduino_STM32
https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki ...
otherwise
----
if you want to use maple bootloader, you may need to install and configure the other core Arduino_STM32
https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki ...
- Sat Mar 15, 2025 11:12 pm
- Forum: General discussion
- Topic: What is the difference between Board part numbers?
- Replies: 7
- Views: 546
Re: What is the difference between Board part numbers?
I think it is related to the 'upload method', if you choose st-link or uart install (requires setting boot0), it'd compile the firmware for the start of flash, and that'd normally overwrite the bootloader if your 'upload method' is st-link or uart.
- Sat Mar 15, 2025 11:01 pm
- Forum: General discussion
- Topic: Slow Build again
- Replies: 5
- Views: 529
Re: Slow Build again
try using CMake
https://github.com/stm32duino/Arduino_Core_STM32/wiki/CMake-presentation
https://www.stm32duino.com/viewtopic.php?t=2563
it may help.
that is especially true after an initial build. CMake and make recompile only changed files by checking the date modified.
so if you need to rebuild ...
https://github.com/stm32duino/Arduino_Core_STM32/wiki/CMake-presentation
https://www.stm32duino.com/viewtopic.php?t=2563
it may help.
that is especially true after an initial build. CMake and make recompile only changed files by checking the date modified.
so if you need to rebuild ...