реклама на сайте
подробности

 
 
> Не работают прерывания LPC2148 после перехода CW1.5 -> CW1.6
Arischenko Ivan
сообщение Oct 29 2006, 21:55
Сообщение #1


Частый гость
**

Группа: Участник
Сообщений: 112
Регистрация: 29-10-06
Пользователь №: 21 768



Процессор LPC2148

J-TAG : Виглер и J-link

При переходе с CrossWoks 1.5 -> 1.6 перестали работать прерывания или работают неправильно.

Задача проекта : отловить, где у меня ошибка.

Проект в 1.5 http://sevsin.ru/data/MyArm_CW_1-5.rar
Проект в 1.6 http://sevsin.ru/data/MyArm_CW_1-6.rar

При прошивке проекта в 1.5 - все работает как ожидается(моргают светодиоды). При прошивке 1.6 прерывания перестают работать вообще.

Подскажите, в чем проблема?
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
Arischenko Ivan
сообщение Oct 30 2006, 16:22
Сообщение #2


Частый гость
**

Группа: Участник
Сообщений: 112
Регистрация: 29-10-06
Пользователь №: 21 768



Нашел: (лежит в startup коде)

* STARTUP_FROM_RESET
*
* If defined, the program will startup from power-on/reset. If not defined
* the program will just loop endlessly from power-on/reset.
*
* This definition is not defined by default on this target because the
* debugger is unable to reset this target and maintain control of it over the
* JTAG interface. The advantage of doing this is that it allows the debugger
* to reset the CPU and run programs from a known reset CPU state on each run.
* It also acts as a safety net if you accidently download a program in FLASH
* that crashes and prevents the debugger from taking control over JTAG
* rendering the target unusable over JTAG. The obvious disadvantage of doing
* this is that your application will not startup without the debugger.

*
* We advise that on this target you keep STARTUP_FROM_RESET undefined whilst
* you are developing and only define STARTUP_FROM_RESET when development is
* complete.
Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 23rd August 2025 - 10:06
Рейтинг@Mail.ru


Страница сгенерированна за 0.01348 секунд с 7
ELECTRONIX ©2004-2016