2024-08-25 11:44 PM - last edited on 2024-08-26 08:01 AM by SofLit
Hey im trying to blynk led on stm 32 l562e dk board i had attached the consol logs its not connecting to debuger i want to ask you is their any default jumper settings for this board or is their any specific debug settings required for this board . i had also attached photos of my jumper setting. additonally i had also attached my code. its a brand new board i just orderd .
STMicroelectronics ST-LINK GDB server. Version 7.8.0
Copyright (c) 2024, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
InitWhile : Enabled
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
Regards,
Gaurav N.
2024-08-26 02:57 AM
I had some how fix that error now im facing this issue how can i solve it
2024-08-26 06:13 AM
Looks like the vector table might not be set correctly. Ensure SCB->VTOR points to the right place, typically the start of FLASH. The SFRs window can be used to view register values (Window -> Show View -> SFRs), or add them as expressions.
2024-08-27 08:13 AM
Hello @Gaurav552 ,
I didn't reproduce the issue with your shared firmware: I can connect and debug your application with STM32CubeIDE.
Are you able to connect to the board with STM32CubeProgrammer?
2024-09-01 01:14 AM
no i cannot debug the application yet you can see my scb vector values in the below immage i had tryed creating multipal project also tried with blank project its not working i get the same error as i showed above.
2024-09-01 01:19 AM
when i click on dissassimbly its gives me this output .
2024-09-02 04:26 AM
@Gaurav552 wrote:
no i cannot debug the application yet you can see my scb vector values in the below immage i had tryed creating multipal project also tried with blank project its not working i get the same error as i showed above.
But you succeeded to connect to the board as we can see VTOR_XX in the debugger, right?
2024-09-02 04:41 AM
Yes i can connect to board but the code is not running its shows wating for debuger even in blank project its happening.
2024-09-02 04:43 AM
Usually when you press debug button it should set brakepoint to main and start running after clicking on resume button its not happening it's getting stuck somewhere
2024-09-02 04:53 AM
Did you modify option bytes? did you activate a security feature?