ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Четверг
18 июля
58623 Топик полностью
DASM (14.05.2006 02:52, просмотров: 1) ответил Grand на вроде есть там хитрая комбинация. нажать кнопку и не отпуская нажать на ресет. Так на моей демо плате было. А вот что в доке пишут -
только не забываем, что прога должна быть валидной, т.е. по 0x14 адресу должна лежать контрольная сумма остальных векторов. Правда большинство программаторов её сами проставляют Criterion for valid user code: The reserved ARM interrupt vector location (0x0000 0014) should contain the 2’s complement of the check-sum of the remaining interrupt vectors. This causes the checksum of all of the vectors together to be 0. The boot loader code disables the overlaying of the interrupt vectors from the boot block, then calculates the checksum of the interrupt vectors in sector 0 of the flash. If the signatures match then the execution control is transferred to the user code by loading the program counter with 0x 0000 0000. Hence the user flash reset vector should contain a jump instruction to the entry point of the user application code.