RED LED On due to unknown reason!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-29 11:41 PM - last edited on ‎2025-04-30 1:18 AM by Andrew Neil
I am using STM32F767ZI board for my projects. But due to some unknown reason, the RED led is turned ON in my nucleo board. I am sharing my code along. The code is very simple and I enabled only a single GPIO to be output. Please let me know my mistake! Where am I going wrong. What is my issue.! Also i haven't enable any GPIO that concerns RED Led. Please let me know the answer!
Thanks!
- Labels:
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-30 12:08 AM - edited ‎2025-04-30 12:14 AM
@vbk22398 wrote:I am using STM32F767ZI board for my projects.
Do you mean the NUCLEO-F767ZI ?
https://www.st.com/en/evaluation-tools/nucleo-f767zi.html
@vbk22398 wrote:the RED led is turned ON
You mean LD3 ?
@vbk22398 wrote:due to some unknown reason,
Have you tried stepping through your code in the debugger to see exactly when it comes on?
PS:
You can download the schematics from the 'CAD Resources' Tab on the board's Product Page:
https://www.st.com/en/evaluation-tools/nucleo-f767zi.html#cad-resources
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-30 12:19 AM
Which LED do you mean?
Several LEDs on the Nucleo, and some connected to the on-board ST-Link, some at the power supplies...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-30 12:42 AM
@LCE wrote:Several LEDs on the Nucleo, and some connected to the on-board ST-Link, some at the power supplies...
Indeed.
@vbk22398 here's the full list:
So there's four LEDs which could possibly show red ...
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-30 5:10 AM
LD3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-30 5:11 AM
@Andrew Neil I tried to enter into debug mode but it doesn't start from main, it starts outside main and if i go inside the function, then it opening a function inside the main, whilst the debug is still outside in some random line.!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-30 5:19 AM
Like it ended up in Error_Handler?
Or it's just running some completely different code? Double check build completes and you download correctly.
Perhaps mass erase and confirm LED goes off.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-30 5:59 AM
That sounds like a bigger problem than a LED being unexpectedly on!
Maybe take that as a separate topic ...
A complex system designed from scratch never works and cannot be patched up to make it work.
