你好,我之前使用CH552,可以使用如下的代码激活bootloader
USB_CTRL = 0;
EA = 0; //Disabling all interrupts is required.
delayMicroseconds(50000);
delayMicroseconds(50000);
#if BOOT_LOAD_ADDR == 0x3800
__asm__ ("lcall #0x3800"); //Jump to bootloader code
#elif BOOT_LOAD_ADDR == 0xF400
__asm__ ("lcall #0xF400"); //todo: not working well, maybe timing not correct?
#endif
但是CH549似乎不可以,请问CH549是否可以从用户程序跳转到Bootloader代码?我翻了一下例程好像没提这个问题。