Why does I need to press the reset button after I have turn on the power? - Nucleo Board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-10 6:30 AM
Hi!
When I turn on the USB power on the Nucleo Board F401RE. I assume that the UART will work perfectly and be able to recieve data from the PC...but no.
I need to press the black reset button directly after I have turn on the power to the Nucleo Board. Else, the UART won't be able re recieve data from the PC.
Notice that I'm using DMA with UART. Yes I know that MX_DMA_Init(); need to be before MX_USART2_UART_Init(); in the main.c file.
Why could not be so that when I turn on the USB power, then the Nucleo Board should be ready to receive data from the PC? Without pressing the black reset button.
I'm using STM version 1.24.2 at a basic project.
STM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer
- Labels:
-
STM32F4 Series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-10 2:33 PM
Apparently your code depends on some fine timings, which are not guaranteed. That is also a bug. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-11 5:55 AM
So, will the next version fix this?
STM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-20 1:25 PM
Is it fixed now? :)
I still see that STM version is 1.24.2 for STM32 F401RE.
STM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-29 2:59 AM
We cannot know when you will fix your code!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-01 10:37 AM
It's my code that have errors. This is generated by Cube MX.
STM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-01 12:23 PM
Yes, CubeMX generates boiler plate code which is usually broken or suboptimal.
Perhaps you should debug the code so you can report an actual solution that can be integrated into new builds.
The VCP on the board may take time to come up on Windows as drivers are selected and loaded.
Up vote any posts that you find helpful, it shows what's working..
