Не удается загрузить программу во flash, точнее сказать процесс этот очень нестабильный -
из >100 попыток получилось только один раз.
При запуске отладки появляются сообщения (в разном порядке):
No contact with the JTAG interface
Filed To Put Target In Background Mode - Command cannot be executed
Held In Reset State - Command cannot be executed
Unknown Fault - No valid response from target
В процессе этого может бежать прогресс-бар
Downloading and Verifing Application
Если всетаки удается записать загрузчик то появляется
FATAL ERROR
Where were warning during downloading of FLASH loader, see Log Window
В логе типа такого:
Код
Fri Oct 13 14:39:46 2006: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 4.0 Evaluation ARM\ARM\config\flashloader\Philips\
FlashPhilipsLPC32k.mac
Fri Oct 13 14:39:50 2006: JTAG API v48.23, Wiggler v1.41, ARM ID: 4F1F0F0F
Fri Oct 13 14:40:07 2006: 3638 bytes downloaded and verified (0.21 Kbytes/sec)
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x40000AF0-0x40000AF3
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x400002A5-0x400002A7
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x40000A98-0x40000A9B
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x4000044C-0x40000471
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x400004F0-0x40000561
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x40000BC4-0x40000BC7
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x4000065C-0x400006EF
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x40000BE4-0x40000C9F
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x40000CE8-0x40000DDF
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x4000007C-0x4000007F
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x4000080C-0x4000083B
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x400008F0-0x4000092B
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x400000F4-0x400000F7
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x400009C8-0x400009FF
Fri Oct 13 14:40:07 2006: There were warnings during download of FLASH loader, see Log Window
Fri Oct 13 14:43:19 2006: Failed to load flash loader: C:\Program Files\IAR Systems\Embedded Workbench 4.0 Evaluation ARM\ARM\config\flashloader\Philips\
FlashPhilipsLPC32k.d79
FlashPhilipsLPC32k.mac
Fri Oct 13 14:39:50 2006: JTAG API v48.23, Wiggler v1.41, ARM ID: 4F1F0F0F
Fri Oct 13 14:40:07 2006: 3638 bytes downloaded and verified (0.21 Kbytes/sec)
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x40000AF0-0x40000AF3
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x400002A5-0x400002A7
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x40000A98-0x40000A9B
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x4000044C-0x40000471
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x400004F0-0x40000561
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x40000BC4-0x40000BC7
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x4000065C-0x400006EF
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x40000BE4-0x40000C9F
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x40000CE8-0x40000DDF
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x4000007C-0x4000007F
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x4000080C-0x4000083B
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x400008F0-0x4000092B
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x400000F4-0x400000F7
Fri Oct 13 14:40:07 2006: Warning: Target inconsistency detected in Memory range 0x400009C8-0x400009FF
Fri Oct 13 14:40:07 2006: There were warnings during download of FLASH loader, see Log Window
Fri Oct 13 14:43:19 2006: Failed to load flash loader: C:\Program Files\IAR Systems\Embedded Workbench 4.0 Evaluation ARM\ARM\config\flashloader\Philips\
FlashPhilipsLPC32k.d79
Кол-во строчек Warning: Target inconsistency detected in Memory range каждый раз разное
Если (очень редко) все же повезет то появляется окошко Downloading чего там (видел всего лишь несколько раз чего там не помню).
И только один раз повезло что прога всетаки загрузилась и запустилась...
Люди добрые памагите. В чем косяк ?

если нужна еще какая информация посмотрю померю припаяю....