Firmware not running standalone in STM32L562QE-DK. It works when debugging through IAR.
Any leads on this ?!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-24 1:13 AM
Powered the development kit via micro USB.
Running a simple LED toggle program.
Using IAR 8.5 the code runs and I see LED getting toggled.
If I generate hex and flash it via JLINK , I dont see the LED toggling.
Tried repowering, pressing reset button.. It doesn't help.
IAR optimization level is None.
Solved! Go to Solution.
- Labels:
-
IAR
-
STM32L5 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-25 6:14 AM
I was using printf in my code, that caused the problem. Once I removed all the printfs it was working fine !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-24 6:42 AM
Is BOOT0 pulled down? Are the relevant option bits set so that things boot to user memory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-24 10:27 PM
Thanks for the reply.
In the option bytes nSWBoot0 nBoot0 are checked.
In the hardware should I do any modifications ? I guess development kit will not require any hardware changes to make the hex work stand alone right ?
Please guide me on this. I have attached the OB config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-25 6:14 AM
I was using printf in my code, that caused the problem. Once I removed all the printfs it was working fine !
