Inaccuracy of UART BOOT PROTOCOL!!!

1 post / 0 new
Anonymous (not verified)
Inaccuracy of UART BOOT PROTOCOL!!!

亲爱的所有,
嗨。我开发了一个概要文件K which uses TIMER0 timer and triggers its interrupt every 5ms. When I use KEIL IDE or Connection Manager to download my code into DA14580's system ram, it is OK and everything works fine. However when I use USART BOOT protocol which is defined in the application note "AN-B-001", the timing of the timer goes wrong and its interrupt triggers every 32ms. Does anybody have any idea why this happens!?
Another thing that I also have tested is using Smart Snippets to program the code by UART port, but it works the same as the code which I developed to use BOOT protocol for witing in system ram. Does anybody know how I should configure Smart Snippets to program the application code (accurately) using UART protocol?
When I use Connection Manager, some bytes are also written into the system registers in addition to loading our program into DA14580's system ram. These are as follows:
- Writing 00A6 -> 50000012 (SYS_CTRL_REG)
- Writing 002E -> 50003308 (GP_CONTROL_REG)
I wonder if these operations are performed in UART BOOT protocol!? The application note, "AN-B-001", says that the following operations are done after writing our software code in system ram:
-SYS_CTRL_REG[REMAP_ADR0] = 10
-SYS_CTRL_REG[SW_RESET] = 10
I want to know if these two operations are enough and our timer is configured correctly by them!?

Any help is so appreciated. Thanks

Device: