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

 
 
 
Reply to this topicStart new topic
> J-LINK и LPC2917 в IAR ARM 5.20, Траблы с debug(ом)
-=A.N.G.E.R=-
сообщение Dec 12 2008, 08:47
Сообщение #1


Участник
*

Группа: Участник
Сообщений: 28
Регистрация: 5-12-06
Пользователь №: 23 140



При запуске 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

Где могла порыться собака?
Go to the top of the page
 
+Quote Post
bigarmer
сообщение Dec 15 2008, 08:50
Сообщение #2


Участник
*

Группа: Новичок
Сообщений: 52
Регистрация: 5-12-08
Пользователь №: 42 221



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.
Go to the top of the page
 
+Quote Post
-=A.N.G.E.R=-
сообщение Dec 15 2008, 12:01
Сообщение #3


Участник
*

Группа: Участник
Сообщений: 28
Регистрация: 5-12-06
Пользователь №: 23 140



Цитата(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 подрубился. Проблема уже в другом.
Go to the top of the page
 
+Quote Post

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

 


RSS Текстовая версия Сейчас: 19th June 2025 - 22:38
Рейтинг@Mail.ru


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