Последовательность следующая:
1)Перевожу устройство в режим аппаратного загрузчика
2)Заливаю прошивку
3)Произвожу перезапуск устройства
Зарылся на третьем шаге)
Как я понял для перезапуска устройства используется команда GO.
Вот что написано об этом в мануале LPC111x/LPC11Cxx User manual:
Цитата
Input parameter - Address: Flash or RAM address from which the code execution is to be started.
This address should be on a word boundary.
This command is used to execute a program residing in RAM or flash memory. It
may not be possible to return to the ISP command handler once this command is
successfully executed. This command is blocked when code read protection is
enabled.
This address should be on a word boundary.
This command is used to execute a program residing in RAM or flash memory. It
may not be possible to return to the ISP command handler once this command is
successfully executed. This command is blocked when code read protection is
enabled.
Два вопроса:
1) В качестве адреса для перехода использовать адрес обработчика Reset_handler?
2) Как быть, если адрес нечетный?