-
Notifications
You must be signed in to change notification settings - Fork 55
HardwareTimer library is not working #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @karstengit, So, for this board, you need to modify the pin used to have the HardwareTimer capability. I will add a note in the examples about this. |
Yes, but when i connect an LED with resistor to PA8 this does not work too.
With 1.8.0. the programming with stm32flash is missing too? |
I checked on Yes stm32flash has been replaced by cubeProgrammer since core 1.6.0: |
Thanks for your support. Maybe the Blue-Pill is broken? Maybe the compilation output is wrong? Ah - cubeProgrammer is new. O.K. sounds good, but How can i use the old stm32flash instead that is very small and quick in Linux? |
Hi @karstengit, I let @fpistm comment about CubeProgrammer. |
No, but multi OS and mainly it supports all STM32 series while STM32Flash not.
Yes
You can use the OPENJDK
You will have to do ii your own. |
The reason for this problem can be found here: stm32duino/Arduino_Core_STM32#948 |
Then there was really a problem with the build of the binary.
Thanks - it is working here too. |
Yes - that's fine.
128 MB instead of 27 KB for st-flash - is there something more to say?
The problem is that CubeProgrammer could be installed but is not running on my Debian 8 or 10.
It was already implemented.
This is the longer way. It would be fine if the old programming modes would be still available and CubeProgrammer will be additional. |
Regarding the example #20 (comment)
As you can see the declaration is not known outside of setup. |
@karstengit What is your full sketch... For this kind of support, please the the forum... |
You mean https://www.stm32duino.com/ ? This sketch is working fine and shows how 2 channel-pins can be controlled with one timer.
But it does not compile when the definition is made in the setup:
|
Seriously? About:
Honestly, I don't understand why it is not so easy just register and answer the question. If you have a trouble due to your mailbox then send a message to the admin and explain why.
Yes, this is the full package, you didn't need to install all. If you don't want use it I give you spome clue to do it. And as already said the main reason is multi OS and mainly it supports all STM32 series while STM32Flash not. In that case STM32Flash became useless and hard to maintain (user claims several time they could not flash some unsupported series of the tools but I'm not the maintainer of this tools moreover each time a new version was released I had to build for all hosts OS which is very time consuming.)
It could if you read the user manual as I already said.
Well simply search in the commits or pull request. You can easily understand I can't do all for you. It is a community project and I'm not a dedicated resource to made code, user customisation or learn how to use git.
No, as this not support all series and are not actively maintained. Again as said, you can use bootloader to flash over DFU or customize you configuration as other do. Or buy a Nucleo F103 RB which allow you to upload thanks a simple copy/past on the mass storage. I lock this topic as issue should not be used for this kind of discussion --> forum. |
That's really complicated. I downloaded an older Release of STM32duino with The definitions can be found in the path .../arduino15/packages/STM32/hardware/stm32/1.8.0
And in platform.txt there is
But in the older release i can't find the definitions to program with the stm32flash or the scripts for it? |
I tried out the new HardwareTimer library but it seems not work on an BluePill.
This is a very good idea.
Specially the example compiles with no error but does not do anything:
https://github.com/stm32duino/STM32Examples/blob/master/examples/Peripherals/HardwareTimer/PWM_FullConfiguration/PWM_FullConfiguration.ino
Has the STM32 core 1.8.0 been rolled back?
The text was updated successfully, but these errors were encountered: