CrossWorks ARM 2.0.6 does not erase target flash
Good afternoon. I upgraded from 2.0.5 to 2.0.6 today, and I updated the board and CPU support packages to the recent state. I haven't changed anything else.
Now I can no longer program my target. The Erase step fails, here is the output:
Building “xxxxx” in configuration “ARM Flash Debug”
Compiling datetime.cpp
Linking xxxxx.elf
Post-link command
Build complete
Preparing target for download
Loading target script file xxxxx_Target.js
Executing reset script FLASHReset()
Downloading “Loader.elf” to USB CrossConnect for ARM - Adaptive Clocking
Programming
Programming 4.5 KB of addresses 40000000 — 4000124b
Programming completed in 234 ms — 20,017 bytes/sec
Verifying “Loader.elf” on USB CrossConnect for ARM - Adaptive Clocking
Verifying
Verifying 4.5 KB of addresses 40000000 — 4000124b
Verifying completed in 203 ms — 23,073 bytes/sec
Erasing “xxxxx.elf” to USB CrossConnect for ARM - Adaptive Clocking
Erasing
Erasing 203.2 KB of addresses 00000000 — 00032cf3
Erase failed
Preparing target for user application
Loading target script file xxxxx_Target.js
Executing reset script FLASHReset()
It's the same when I use the USB CrossConnect for ARM without adaptive clocking.
The target is an LPC2468, and it is OK, I can still program it through FlashMagic.
I'm not sure what other information you might need.
I have just re-installed 2.0.5 over 2.0.6, and it works now so I can continue working. But I'd prefer to use the latest software.
Regards,
Achim
-
I've just tried running the Embedded Artists LPC2468 OEM Board Support Package here using the Windows version of CrossWorks for ARM 2.0.6 and that is working OK here.
Do you get the same behaviour if you use our example projects?
Could you let us know which host OS you are using, what your target board is and which support packages you are using?
Please could you also attach your .hzp file for us to take a look at?
-
I suggest you create a ticket (http://rowley.zendesk.com/tickets/new), tickets are not public.
-
I am having this exact same problem with an STR9 target. I submitted a ticket and will gladly update if I get this issue resolved.
For the record, here is what I am seeing using the example CTL project for the board:
Checking “TestJTAG” in configuration “ARM Flash Debug”Preparing target for downloadLoading target script file STR91x_Target.jsExecuting reset script FLASHReset()Downloading “Loader_512_bb0_rpc.elf” to Hitex STR9-comStickProgramming completed in 172 ms — 17,441 bytes/secProgramming 2.9 KB of addresses 04000000 — 04000bb7Verifying “Loader_512_bb0_rpc.elf” on Hitex STR9-comStickVerifying completed in 59 ms — 50,847 bytes/secVerifying 2.9 KB of addresses 04000000 — 04000bb7Erasing “TestJTAG.elf” to Hitex STR9-comStick — 1 errorErasing — 1 errorErasing 4.6 KB of addresses 00000000 — 000012a3Erase failedChecking “TestJTAG” in configuration “ARM Flash Debug”
Preparing target for download Loading target script file STR91x_Target.js
Executing reset script FLASHReset()
Downloading “Loader_512_bb0_rpc.elf” to Hitex STR9-comStick
Programming completed in 172 ms — 17,441 bytes/sec
Programming 2.9 KB of addresses 04000000 — 04000bb7
Verifying “Loader_512_bb0_rpc.elf” on Hitex STR9-comStick
Verifying completed in 59 ms— 50,847 bytes/sec
Verifying 2.9 KB of addresses 04000000 — 04000bb7
Erasing “TestJTAG.elf” to Hitex STR9-comStick — 1 error
Erasing — 1 error
Erasing 4.6 KB of addresses 00000000 — 000012a3
Erase failed
Please sign in to leave a comment.
Comments
5 comments