Keil™, An ARM® Company

Discussion Forum

ARM MCB2300 Problem

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

DetailsMessage
Read-Only
Author
franco dal pero
Posted
29-Oct-2007 01:33
Toolset
ARM
New! ARM MCB2300 Problem

He at All
I have a big problem on board MCB2300 with LPC2368
When open the enviroment uVision and chk the ulink2 setting any time not show the "Jtag device chain" any time press more time the reset bottom the sistem work.
But if load the program with flashmagic it work well erase load but after the program load example Blink not start , the dispaly show one row only but the program not run, any time the program start.
what is this problem?
The power is correct is 3,3 volt
Franco

Read-Only
Author
Reinhard Keil
Posted
29-Oct-2007 02:51
Toolset
ARM
New! RE: ARM MCB2300 Problem

Check if the problem is caused by an incorrect MAM Timing setting.

Increase MAM Timing to 5 fetch cycles as explain here:
http://www.keil.com/support/docs/3338.htm

Read-Only
Author
franco dal pero
Posted
29-Oct-2007 03:34
Toolset
ARM
New! RE: ARM MCB2300 Problem

I have chk the your infomation on the MAM timing and change it from 4 to 5 but the problem not delate.
I have start other test an this is the response:
I have use the flashmagic and have delete the all flash, after I have read the memory and is is all 0xFF, after load, the your program demo BLINK with flashmagic in flash and after chk wiht read comand if this program is load it is load. But the program not run the diaply is not initalinzing and if use the Jtag interface it not recognised, the Jtag Device chain is emty.

Read-Only
Author
Reinhard Keil
Posted
29-Oct-2007 04:54
Toolset
ARM
New! RE: ARM MCB2300 Problem

Sorry, but can you please try to explain your problem a bit better. I have serious problems to understand your English.

Read-Only
Author
Per Westermark
Posted
29-Oct-2007 04:55
Toolset
ARM
New! RE: ARM MCB2300 Problem

Have you modified the Blinky application, and changed the PLL settings?

Read-Only
Author
Martin Günther
Posted
29-Oct-2007 05:30
Toolset
ARM
New! RE: ARM MCB2300 Problem

Hello Franco dal Pero,

What do you mean with ...the dispaly show one row only...? Is a text displayed at the first row or just solid blocks?

Best Regards,
Martin Guenther

Read-Only
Author
franco dal pero
Posted
29-Oct-2007 05:57
Toolset
ARM
New! RE: ARM MCB2300 Problem

In the dispaly I have the solid block only one row.
The display, for me, is not initialize.
The problem is with flash magic I can erase all memory read all memory Write the memory, but the program not start, I have not change any part of the LPC2300.s file

Franco

Read-Only
Author
Martin Günther
Posted
29-Oct-2007 06:30
Toolset
ARM
New! RE: ARM MCB2300 Problem

Hello Franco dal Pero,

After programming the HEX file with FalshMagic unplug the serial cable from COM0. The serial cable holds the microcontroller in reset state.

Best Regards,
Martin Guenther

Read-Only
Author
franco dal pero
Posted
29-Oct-2007 10:21
Toolset
ARM
New! RE: ARM MCB2300 Problem

I have investigation and when with oscilloscope test the point on is conected the main oscillator at 12Mhz the program run.
Now iI chk if the problem is in the crystal or in the capacitor C32 or C33

Franco

Read-Only
Author
Reinhard Keil
Posted
29-Oct-2007 23:43
Toolset
ARM
New! RE: ARM MCB2300 Problem

You can also disable the oscillator by software in Startup.s. Your problem might be therefore not a hardware issue, but a pure software problem.

How did you create the HEX file that you download with FlashMagic. Is this HEX file really identical with the program that you download using ULINK?

Read-Only
Author
franco dal pero
Posted
30-Oct-2007 03:01
Toolset
ARM
New! RE: ARM MCB2300 Problem

Thanks
For disable the extern oscillator, where is exact the line where is enable/disable the ext main oscillator?

Franco

Read-Only
Author
Per Westermark
Posted
30-Oct-2007 03:43
Toolset
ARM
New! RE: ARM MCB2300 Problem

The datasheet would mention the name of the register that selects main oscillator.

Read-Only
Author
Richard McCoy
Posted
30-Oct-2007 06:30
Toolset
ARM
New! RE: ARM MCB2300 Problem

Do you guys think it possible that the processor is being reset when the oscilloscope probe is touched to the oscillator pins, thus allowing the processor to restart and then run sucessfully?

If so, then it would seem that cycling the power would acheive the same result.

Just a thought.

Best Regards to All,

-=Rich=-

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