Release bin file is not working but the Debug bin file of Same project is working .which setting configuration is needed ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-18 3:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-18 5:12 AM
Many different reasons possible, no silver bullet.
Try to switch gradually from Debug to Release, file by file or setting by setting.
hth
KnarfB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-18 5:31 AM
Custom board?
BOOT0 pulled LOW?
You should be able to use debugger on either image, does it get stuck in some while (1) loop?
Instrument Error_Handler and HardFault_Handler properly so you can see those failures.
Watch poor coding that can cause the optimizer to remove chunks of code.​
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
‎2022-05-18 6:08 AM
Also check for any code that's disabled in Release - eg, side-effects in debug prints, asserts, etc ...
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
‎2022-05-18 8:39 AM
SW4STM32 is very obsolete. Try using CubeIDE, Keil or IAR, something with an audience and support of STM32L4 parts.
If a simple project toggling PC10 try showing or attaching code.
stm32l496retg custom board, per prior post history. A schematic of what you've built/wired would provide context.
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
‎2022-05-18 1:11 PM
Mostly such issues mean that the code is broken and the issues just doesn't show up or goes unnoticed in debug configuration.
