Keil Logo Arm Logo

Discussion Forum

ARM TOOLS QUIRKINESS

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Jim Patten
Posted
25-Jun-2004 22:50 GMT
Toolset
ARM
New! ARM TOOLS QUIRKINESS
I'm evaluating the Demo version of the ARM7 tools from Keil and notice a lot of unusual quirkiness when dealing with the Flash erase procedure called out in Philips' IAP section. Many times I've had to power down the eval MCB2100 board, constantly re-enter Debug mode, do the hokey-pokey, etc. to re-establish the code and get it to run.

On one occasion, I had put into the Memory Window address 0xFFFFF030 (or any other address from the Vectored Interrupt Controller (VIC)) and my target just froze up.

Anyone else experiencing strange stuff with this eval board and ARM7 tools?
Thanks.
Read-Only
Author
Keil Software Support Intl.
Posted
1-Jul-2004 15:43 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
We have not such problems. So you must do something different? Are you using ULINK or just the Philips LPC2000 Flash Utility?
Read-Only
Author
Jim Patten
Posted
1-Jul-2004 16:13 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
I'm using ULINK.
Read-Only
Author
Keil Software Support Intl.
Posted
1-Jul-2004 16:20 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Are you using DK-ARM V1.3. Do you have any problem when you are using the BLINKY sample projects under \...\Boards\Keil\MCB2100?
Read-Only
Author
Keil Software Support Intl.
Posted
1-Jul-2004 16:20 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Are you using DK-ARM V1.3. Do you have any problem when you are using the BLINKY sample projects under \...\Boards\Keil\MCB2100?
Read-Only
Author
Jim Patten
Posted
1-Jul-2004 16:29 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
I'm using the EVAL software for the ARM. The problem occurs when erasing and writing to Flash using Philip's procedure for IAP. Sometimes the code works okay, and then, NOT! This is beyond the scope of the Blinky program, which works okay.
Read-Only
Author
Keil Software Support Intl.
Posted
1-Jul-2004 16:35 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Is it the CODE that does not work or the Flash Download process?

Do you select the Flash algorithm as described under:
http://www.keil.com/support/docs/2747.htm

What version are you exactly using (Help About dialog).

There are some core restrictions in the ARM JTAG interface. Basically you cannot use the IDLE instruction in a program that you want to test. See:
http://www.keil.com/support/docs/2752.htm
Read-Only
Author
Jim Patten
Posted
1-Jul-2004 17:00 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
I know about the issues you raised.

The flash download process works okay and the code works. But like I said, I press the run button and sometimes the target (LED's lite) runs okay and sometimes the target does nothing at all. I set break points and it appear to go into the ether during the flash erase/programming stuff in the IAP.
Read-Only
Author
Jim Patten
Posted
1-Jul-2004 17:03 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
How do I check the version?
I see:
SARM.DLL V1.16
DARMP.DLL V1.02
UL2ARM.DLL V1.02a
TARMP.DLL V1.02

Not sure where to find the DK-ARM 1.xx version. All I know, it is the Eval version. I'm hesistant to purchase the real stuff until I see stability in what I'm discussing.
Read-Only
Author
Keil Software Support Intl.
Posted
1-Jul-2004 17:10 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
The problem that you are describing might be in your user application.

You are currently using DK-ARM 1.2a. You may update to the current Eval version (download from:
http://www.keil.com/demo/eval/arm.htm).

Once you still encounter problems, please send your project files to:
support.intl@keil.com. Include in this message a description of the problem and how it can be duplicated.
Read-Only
Author
Jim Patten
Posted
1-Jul-2004 17:45 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Well, I downloaded the links you gave me and am now running the newest stuff. I just downloaded my code and all seemed okay - at first. First try, so good. Then I stop the target from running, pressed reset, and pressed run again. Nothing happened on the target. Did this several times and it's hit/miss for the target to run. Something is strange.
Thanks for the help.
-Jim
Read-Only
Author
Jim Patten
Posted
1-Jul-2004 17:57 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Where can I "zip up" and email my code to?
Read-Only
Author
Keil Software Support Intl.
Posted
2-Jul-2004 07:37 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
email: support.intl@keil.com
Read-Only
Author
Andreas Haack
Posted
2-Jul-2004 13:22 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Hi Jim,

what type of LPC device you are using and what version has your bootloader ?

Andreas
Read-Only
Author
Jim Patten
Posted
2-Jul-2004 15:44 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
I using the Keil MCB2100 demo PCB. How do I find out which version of bootload. I'm using Keil's ULINK and DKARM Ver 1.3 (just updated).
Read-Only
Author
Keil Software Support Intl.
Posted
2-Jul-2004 15:54 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Do not worry about the BOOTLOADER VERSION. It is not important.
Read-Only
Author
Andreas Haack
Posted
2-Jul-2004 15:58 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Hi,
I have other information from Philips.
The problems of IAP and ISP erase depends on the boatloader version.

Andreas
Read-Only
Author
Jim Patten
Posted
2-Jul-2004 16:02 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Per the LPC2000 Flash Utility V2.0.3, the Part ID:33685267
Boot Loader ID:1.5
The Demo PCB has a LPC2129.

Yesterday I zipped up and emailed my project to support@keil.com. Did you get it?

Best regards,
-Jim
Read-Only
Author
Andreas Haack
Posted
2-Jul-2004 15:54 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Hi,

use the Philips ISP Tool to get the version.
What LPC device is mounted on the MCB2100
a LPC2129???

Andreas
Read-Only
Author
Jim Patten
Posted
2-Jul-2004 17:29 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Please see my relpy just above. Is the problem in the version (1.5) of Bootloader?

Thanks,
-Jim
Read-Only
Author
Keil Software Support Intl.
Posted
5-Jul-2004 07:22 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Sorry, but I did not got this email. Please send it to:
support.intl@keil.com
Read-Only
Author
Andreas Haack
Posted
5-Jul-2004 13:08 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
Hi,

I got the information from Philips that some of the early devices had a problem with the bootloader and flash.
If you use the ISP tool from Philips to get the device ID successfully and it hang when you try to erase or program the device it seems that your device had a problem.
Then you can still use the Ulink programming the flash directly (without using the IAP functions) or get a replacement of the device.

Andreas
Read-Only
Author
Keil Software Support Intl.
Posted
6-Jul-2004 08:19 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
I have your code working (basically you need to initialize the lCommand struct to 0). I will send it via email.
Read-Only
Author
Keil Software Support Intl.
Posted
6-Jul-2004 13:10 GMT
Toolset
ARM
New! RE: ARM TOOLS QUIRKINESS
I have your code working (basically you need to initialize the lCommand struct to 0). I will send it via email.

Next Thread | Thread List | Previous Thread Start a Thread | Settings

arm-logo-small

Keil logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.