
LPC2368 that won't start without JTAG
Thank you for your answer. Could you indicate how to include the
checksum for the binary, when executing the flash write?
Thanks.
Alex
way - if not it'll be no surprise it doesn't work :)
The ISP utility 'should' be putting in the correct checksum when you flash
the board with it. From memory it lives in the 32 bit space after the data
abort vector. (You should see a NOP in the middle of the vector definitions
in startup.s if you're using keil).
Once flashed you should be able to see this value with the JTAG etc.
Andy
Thanks.
I checked and indeed a checksum is written at address 0x00000014.
Is there a way to verify that it is the correct checksum?
Still the test code does not seem to run. However, the example
provided with the MCB2300 board does indeed flashes and run.
Regards,
Alex
If you use the Phillips flash utility *shudder* to load your hex file,
it will automatically insert the correct checksum into address 0x14.
You can also use this program to check an existing checksum by using
"Flash buffer operations" from the Buffer menu.
Regards, James Brown
Windows calculator is your friend. Simply go to hex mode and add the
(32 bit) words from address 0x00 to address 0x1C, 8 words in total.
If the checksum in address 0x14 is correct the total sum truncated to
32 bits should be 0. Be sure though that you are reading the words in
the correct byte order (little, big endian).
Regards, James Brown
if checsum true and boot pin is ok why the device stays bootloader mode.Is there third reason for this.
After a little fight i solved the bootloder mode problem by your helps.But now code doesn't execute.
I download the code from http://www.standardics.nxp.com/support/boards/mcb2300/~LPC2368/ (Sample Code Bundle for LPC23xx Peripherals using Keil's μVision, V1.10).
And I builded UART example with RealView compiler.I can't compiler this example with Keil CARM compiler.And i use flash magic for loading to flash.But there is nothing.
I need a basic sample(maybe uart) with startup.s, that can be compiled with Keil CARM compiler.
So thanks for your helps.
Mehmet Kurnaz
I have the same issues. The examples from the package don't seem to run.
However, the BLINKY example that you can find at:
C:\Program Files\Keil\ARM\RV30\Boards\Keil\MCB2300\Blinky
in the installation of Keil uVision 3, does indeed compile, and run. I
downloaded it with FlashMagic to a MCB2360 Eval Board and it runs
without any problem from Flash. This example has UART, Timer, GPIO and
ADC code.
So, I took that example and started to modify it, to add code for my
test and application and it is working so far.
One exercise yet to be done is to take the LPC23xx.s startup file from
that BLINKY example and use it with the examples from the package to
see if they run. I'll try that later.
Let us know if you get the BLINKY example running...
Regards,
Alex
I tried to modify the code provided for the MCB2300 Evaluation board
from Keil (available in the Files, and in NXP website). Even without
modification, those examples don't run.
The only example that seems to work is the BLINKY example that comes
with the Keil uVision installation (latest).
Regards,
Alex
