Search found 4 matches

by mma
Wed Oct 16, 2024 4:35 pm
Forum: General Support
Topic: [USB] Jump to internal bootloader
Replies: 7
Views: 27583

Re: [USB] Jump to internal bootloader

Hi,
Thanks for your replies.
I added lines to disable initializations and the MPU, i still have the same result.
I checked the design(it's not mine) i found that the 1.5K resistance of D+ is connected to another pin to generate enable and disable for the USB and initialize it in a function, can you ...
by mma
Tue Oct 15, 2024 1:37 pm
Forum: General Support
Topic: [USB] Jump to internal bootloader
Replies: 7
Views: 27583

Re: [USB] Jump to internal bootloader

Giovanni wrote:It jumped at that address, the debugger is unable to proceed because there is no source code for that address.

Giovanni

How can i know it going to work without debugger ? what i have supposed to get at the end ?
by mma
Tue Oct 15, 2024 8:48 am
Forum: General Support
Topic: [USB] Jump to internal bootloader
Replies: 7
Views: 27583

Re: [USB] Jump to internal bootloader

Giovanni wrote:Hi,

Have you tried to single step at asm level? "not working" is a bit generic.

Giovanni


Hi Giovanni,
Thanks for your reply.
I just did it but i don't know what i supposed to get.
i got this as a last message : "No source available for "0x1ffff1bc""
by mma
Mon Oct 14, 2024 4:17 pm
Forum: General Support
Topic: [USB] Jump to internal bootloader
Replies: 7
Views: 27583

[USB] Jump to internal bootloader

Hi everyone,

I'm trying to jump to the USB DFU flash with Stm32cubeprogrammer using this code :

"uint32_t address = 0x1FFFD800;
am3_reset_watchdog_counter();
jump_to(address);

void clear_and_disable_isr(void)
{
/* Clear pending interrupts just to be on the safe side*/
SCB->ICSR = SCB_ICSR ...