Здрасти, Ребята. Мне нужен soft reboot когда цифровая плата с Армом получает комманду с mother board to reboot. Вот что у меня есть, но оно заикаеться и необходим hard reboot.
void Reboot_Command(void) { Enter_protection_mode(); //ash: disable all interrupts // we don't need to reanable it, sys_init should do it RCCU->CCR |= 0x808; // i.e. map reg and reset that value of reg RCCU->SMR |= 0x2; // i.e. map reg and reset that value of reg } Это проблема возникает только тогда когда board получает входной сигнал через serial com port.
Сообщение отредактировал Alina_Sh - Sep 19 2008, 19:04
|