re: RAM Debug configuration works, but Flash Debug configuration gives error
message (IAR Embedded Workbench, LPC2368)
Colleagues,
I have a project that works just fine in RAM Debug configuration with J-Link.
I've switched to Flash Debug configuration, recompiled successfully. When
I initiate the debug session, I get errors:
Fri Dec 04 14:21:08 2009: Error in C:\Program Files\IAR Systems\Embedded
Workbench 5.0 Kickstart\ARM\config\flashloader\NXP\FlashNXPLPC512k2.mac at line
13, col 20: Operation error.
Fri Dec 04 14:21:08 2009: Error while calling macro execUserFlashInit
Fri Dec 04 14:21:12 2009: Fatal error: Write memory error @ address 0xE01FC10C,
word access: Adaptive clocking timeout.
JTAG Timeout during adaptive clocking: RTCK did not respond.
Could you provide any insight why this is happening and what should I try in
order to fix this?
Thanks,
- Nick
RAM Debug configuration works, but Flash Debug configuration not (IAR, LPC2368)
Started by ●December 4, 2009
Reply by ●December 5, 20092009-12-05
--- In l..., "kender_a" wrote:
>
> re: RAM Debug configuration works, but Flash Debug configuration gives error message (IAR Embedded Workbench, LPC2368)
>
> Colleagues,
>
> I have a project that works just fine in RAM Debug configuration with J-Link. I've switched to Flash Debug configuration, recompiled successfully. When I initiate the debug session, I get errors:
>
> Fri Dec 04 14:21:08 2009: Error in C:\Program Files\IAR Systems\Embedded Workbench 5.0 Kickstart\ARM\config\flashloader\NXP\FlashNXPLPC512k2.mac at line 13, col 20: Operation error.
> Fri Dec 04 14:21:08 2009: Error while calling macro execUserFlashInit
> Fri Dec 04 14:21:12 2009: Fatal error: Write memory error @ address 0xE01FC10C, word access: Adaptive clocking timeout.
> JTAG Timeout during adaptive clocking: RTCK did not respond.
>
> Could you provide any insight why this is happening and what should I try in order to fix this?
Sounds like you've had problems kind of like I have had with this stuff on the LPC2366 part.
Sometimes I've had a bad JTAG cable. Once I had the P1.20 ISP jumper installed. Once in a while I'll have the part CRP secured, but I'll get an error that it can't find the JTAG chain.
I've also had luck once in a while by hitting the part reset line and then immediately re-trying the JTAG.
Can you try turning off the .mac file for the JTAG, maybe ? (if it's on)
I hate when these JTAG errors happen !
boB
>
> Thanks,
> - Nick
>
>
> re: RAM Debug configuration works, but Flash Debug configuration gives error message (IAR Embedded Workbench, LPC2368)
>
> Colleagues,
>
> I have a project that works just fine in RAM Debug configuration with J-Link. I've switched to Flash Debug configuration, recompiled successfully. When I initiate the debug session, I get errors:
>
> Fri Dec 04 14:21:08 2009: Error in C:\Program Files\IAR Systems\Embedded Workbench 5.0 Kickstart\ARM\config\flashloader\NXP\FlashNXPLPC512k2.mac at line 13, col 20: Operation error.
> Fri Dec 04 14:21:08 2009: Error while calling macro execUserFlashInit
> Fri Dec 04 14:21:12 2009: Fatal error: Write memory error @ address 0xE01FC10C, word access: Adaptive clocking timeout.
> JTAG Timeout during adaptive clocking: RTCK did not respond.
>
> Could you provide any insight why this is happening and what should I try in order to fix this?
Sounds like you've had problems kind of like I have had with this stuff on the LPC2366 part.
Sometimes I've had a bad JTAG cable. Once I had the P1.20 ISP jumper installed. Once in a while I'll have the part CRP secured, but I'll get an error that it can't find the JTAG chain.
I've also had luck once in a while by hitting the part reset line and then immediately re-trying the JTAG.
Can you try turning off the .mac file for the JTAG, maybe ? (if it's on)
I hate when these JTAG errors happen !
boB
>
> Thanks,
> - Nick
>