2024-08-23 04:02 AM - edited 2024-08-23 04:06 AM
WHile debugging for a custom board this is what I am facing Break at address "0x1fff4080" with no debug information available, or outside of program code.
This is the code that I am trying to run . What is the reason for this error and how it can be curated . I have already verified the most common reason i.e. BOOT0 pin which has been pulled low.
I have attached the main.c file to this post
2024-08-23 04:21 AM
you need to provide more information - please see the posting tips:
@Rituraj wrote:WHile debugging for a custom board this is what I am facing Break at address "0x1fff4080" with no debug information available
When/where, exactly, does this occur?
2024-08-23 04:47 AM
It starts as soon as I enter superwhile at time of debugging. I have already attached the main.c file
2024-08-23 06:24 AM
Looks like it's in the bootloader.
Is BOOT0 tied low?
2024-08-23 07:49 AM
Yes it has been tied low via a 10k resistor
2024-08-23 08:19 AM
Perhaps the vector table isn't being set. Check that SCB->VTOR points to 0x08000000. If not, edit system_*.c and uncomment the define for USER_VECT_TAB_ADDRESS.
Can also check VECTACTIVE field in SCB->ICSR to see if the chip is currently in an interrupt. If it's not in the bootloader.
Can also check AN2606 for other reasons it may be in the bootloader. Option byte settings, for example. Shouldn't be relevant here for a new chip.