Nucleo-F446RE cannot enter into debug mode in CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-17 12:37 AM - edited ‎2023-11-20 5:16 AM
Hi guys, I am using Nucleo-F446RE board in cubeide (version 1.12.1), with basically every step was by defalut when I created new project, a problem occured when I tried to debug, as it showed " Error finishing flash operation " , anyone got any ideas? Thanks
- Labels:
-
DEBUG
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-17 12:55 AM
Did it happen after your prog. crashed? If so, try rebooting. Sometimes old processes are still active after a crash.hth
KnarfB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-17 1:16 AM
Hi, it is a brand new dev board which I just unpacked, so I guess maybe there is no old processes or prog. in there? And is it related to the debugger probe? as by defalut degugger uses ST-LINK GDB sever. And most of the tutorials on youtube skip this debug configurarion by defalut, so I am a little bit confused about that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-17 1:17 AM
Hi, it is a brand new dev board which I just unpacked, so I guess maybe there is no old processes or prog. in there? And is it related to the debugger probe? as by defalut degugger uses ST-LINK GDB sever. And most of the tutorials on youtube skip this debug configurarion by defalut, so I am a little bit confused about that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-17 1:44 AM
Connect the board to the CubeProgrammer and look at the OptionBytes (OB) setting, if there isnt a limitation of writing to Flash or disable debug. I would also recommend upgrading the FW in ST-Link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-17 2:00 AM
No, I meant processes on the PC related to the debugger (gdb).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-17 2:11 AM - edited ‎2023-11-20 5:17 AM
Hi, I have updated firmware version to V2J42M27, and in CubeProgrammer, when I tried to erase full chip flash memory, it has error saying "Mass erase operation failed. Please verify flash protection", whereas in OB, all the boxes for write protection are checked ,meaning protection are not active.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-17 2:20 AM
Ah. I just restart the laptop, still not working.:grinning_face_with_sweat:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-17 3:15 AM
Try do it under reset.
