LPC2138 uber board & LPC2000 flash utility problems

hello

can one help me to resolve my problem,

i have LPC2138 uber evaluation board, also i have downloaded LPC2000 flash utility from philips, but when i use it to download the HEX file into LPC2138 flash the below messages were generated:

HEX file exceedes flash limitations.

cannot communicate with the test board

please help me

regards

I think you should first make sure that you don’t get the “cannot communicate with the test board” message anymore. Try lowering the baud rate (say 38400) and make sure you fill in the right crystal frequency in the Philips ISP tool.

thank you bertrik

i tried your advice but still i have get “cannot communicate with the test board” and “HEX file exceedes flash limitations”

hish3000:
hello

can one help me to resolve my problem,

i have LPC2138 uber evaluation board, also i have downloaded LPC2000 flash utility from philips, but when i use it to download the HEX file into LPC2138 flash the below messages were generated:

HEX file exceedes flash limitations.

cannot communicate with the test board

please help me

regards

What hex file are you trying to download? Was the application built properly for the LPC2138?

Leon

I am using keil uvision3 from which the HEX file generated,

the application is properly designed for LPC2138

“HEX file exceedes flash limitations” means your HEX have values outside LPC2138 code limits i.e. HEX have value where LPC2138 have no Flash

you can ask Keil how to generate correct HEX file, probably you have misconfigured something in linker options

Tsvetan

thank u Tsvetan

i will try your advise and reflects the results.

do you/ or others have a knowledge about sparkfun LPC2138 uber evaluation board? documents, application examples, datasheets,…

hence its not supported by a detailed sheets

I have tried all the available baud rate on the flash utility software, no luck! It always come back to me with error message “Cannot communicate with test board!”.

I have tested the serial port, it work with other hardware, it works fine.

Any suggestion, advice, what should I try?

You can also try the following:

Open hyperterm and configure it for 19200 baud 8N1, then hold P0.14 low while resetting the board. Typing ? (question mark) into the hyperterm a few times should result in a “Synchronized” message from the boot loader.

Is there a reason for trying that?

Because I would like to upload the flash with the utility.

I have tried with tty, the “?” does not return nicely, means some time “?” some time blank, some time square boxes…

Do you get any errors if you just load the hex file into the LPC2000 Flash Utility? You can do this by selecting “Buffer/Flash Buffer Operations” from the menu and then pressing the “Load Hex File” button.

Can you use the ISP tool to read out the device ID without errors? It sounds like from previous posts that this is probably failing as well.

-Adam

I think I’ll give up with USB->RS232 convertor for now.

Will come back to it later. I think my cheapo convertor do things less.

Thanks guys!