Помощь - Поиск - Пользователи - Календарь
Полная версия этой страницы: J-LINK и LPC2917 в IAR ARM 5.20
Форум разработчиков электроники ELECTRONIX.ru > Микроконтроллеры (MCs) > ARM
-=A.N.G.E.R=-
При запуске Download & Debug вылетает с ошибкой, что не может прочитать регистр R9 и R8, мол CPU may not be halted.
Вот лог:

Код
DLL version: V3.86g, compiled Jul 11 2008 10:48:30
Firmware: J-Link ARM V7 compiled Jul 10 2008 18:12:47
Selecting SWD as current target interface.
JTAG speed is initially set to: 32 kHz
Hardware reset with strategy 1 was performed
Initial reset was performed
JLINK command: ProjectFile = E:\**********.jlink, return = 0
JLINK command: device = LPC2917, return = 0
17384 bytes downloaded and verified (22.64 Kbytes/sec)
Warning: Verify error, failed to read memory at address 0x00000000 - 0x0000003F
************
Warning: There were warnings during download, see Log Window
Fatal error: Can not read register 9 (R9), CPU may not be halted

Где могла порыться собака?
bigarmer
Refer to your post
Selecting SWD as current target interface.

Since LPC2917 does not support SWD mode, there must be false when you use SWD mode to debug with LPC2917 device. You need to switch SWD mode to JTAG mode in JLink.exe or in IAR EWARM.

Please upload screenshot of J-Link commander.
-=A.N.G.E.R=-
Цитата(bigarmer @ Dec 15 2008, 11:50) *
Refer to your post
Selecting SWD as current target interface.

Since LPC2917 does not support SWD mode, there must be false when you use SWD mode to debug with LPC2917 device. You need to switch SWD mode to JTAG mode in JLink.exe or in IAR EWARM.

Please upload screenshot of J-Link commander.


Это уже поборол, переписал проект с нуля и JTAG подрубился. Проблема уже в другом.
Для просмотра полной версии этой страницы, пожалуйста, пройдите по ссылке.
Invision Power Board © 2001-2025 Invision Power Services, Inc.