2022-01-18 10:58 PM
Hi,
I am working on SPC58NG84E7 bootloader.
Everything works fine - I have BL code(at 0xFC0000) which jumps to the APP location 0xFD0000 after waiting for 10sec after startup and executes the code there. Both codes are without SWT.
Issue - But when I added SWT component to BL, on powerOn BL is not running. swt_lld_stop() is called before jump.
If I start the BL through UDE debugger application it executes BL, jumps to APP, executes APP code, but then reset from APP and entering into BL is not working.
This issue remains in APP with SWT and without SWT both.
What could be the issue here?
Regards,
AM
2022-02-13 09:19 PM
Hi Olivier,
When I simply shifted from SWT0 to SWT2, it is working fine.
Don't know exactly the reason behind.
Warm Regards,
AVM
2022-02-25 02:37 AM
Dear customer,
This is the root cause:
The SWT2 is enabled by default at MCU reset
the other are disabled.
When you are using SWT0, you are managing it well, but the SWT2 is resetting the MCU.
When you are using the SWT2, you reprogram it and managing it well, so it works.
With last driver version the behavior was fixed: all SWT are disabled by default at boot.
BRs,
-Olivier