Cannot open COM port - Flash utility 200

Hello,

i use the flash utility to download a hex file on my Philips LPC2294 Microcontroller

when i click on the button “upload to flash” i become the message “cannot open COM port!”

the microcontroller communicate with my computer via Keil Unlink USB

what can be the reason why the communication failed?

please help me?

thanks!

the Philips ISP utility is supposed to just talk to UART0 on your MCU. In BSL mode, the MCU runs a bootloader program that sits and waits for communication over the UART.

in order words it’s not possible to use flash utility with the microcontroller LPC2294?

well i haven’t really understand what you mean!

andrey:
the Philips ISP utility is supposed to just talk to UART0 on your MCU. In BSL mode, the MCU runs a bootloader program that sits and waits for communication over the UART.

You need an RS-232 connection from your PC to the LPC2294 board, USB won’t work with the flash utility.

Leon

sure it will… assuming you’re using the USB on one of the Olimex 2294 boards. Just select the COM port that corresponds to the FTDI virtual COM port that’s created when you plug your board in. On those boards, the RS232 is simply replaced by the FTDI USB bridge chip.

the point is that the Philips ISP utility needs to talk to the bootloader via whatever is hooked up to UART0.

i tried something:

  • open LPC2000 Flash Utility

  • select a hex file

  • select port “com3” for USB

  • Baud rate: 9600

  • device: LPC2294

  • XTAL Freq: 10000

then i clicked on the button “Upload to flash”

and now i become the following message:

“cannot communicate with test board”

what don’t i make right?

thanks

Ok:

  1. which board are you using?

  2. how is it connected (ie: is there a USB port on the board that you connected to the PC?)

  3. right-click on my computer and then go to the device manager, and find your USB port there and note which COM port is assigned to it

  4. on the Olimex boards, there’s a BOOT switch or jumper that you need to set to get the MCU into the bootloader

i’m using the philips LPC2294 microcontroller and the Phytec board PCM-123

i use also the USB port to connect the both

is that enough informations?

thanks

andrey:
Ok:

  1. which board are you using?

  2. how is it connected (ie: is there a USB port on the board that you connected to the PC?)

  3. right-click on my computer and then go to the device manager, and find your USB port there and note which COM port is assigned to it

  4. on the Olimex boards, there’s a BOOT switch or jumper that you need to set to get the MCU into the bootloader

I did a google search on the “Phytec board PCM-123” and nothing came up.

We cannot help you if you do not give us the information.

Are you trying to talk through a Physical (Real) Serial port on your PC or a Virtual (USB) Serial port.

If it is a Real Serial por is it plugged in ?

What Cable are you using ?

Is the BSEL jumper set ???

The Philips software CANNOT program through a JTAG port !

ok it’s a little bit difficult for me to describe my problem because english is not my native language

i maked a big mistake: the real board name is Phytec board PCM-023! please excuse me

i try to talk to my PC through USB i think it’s plugged in! my PC recognized it! and i use the following cable:

http://www.keil.com/ulink/

what do you mean with BSEL Jumper?

i hope the informations will help you!

thanks

monyca:
ok it’s a little bit difficult for me to describe my problem because english is not my native language

i maked a big mistake: the real board name is Phytec board PCM-023! please excuse me

i try to talk to my PC through USB i think it’s plugged in! my PC recognized it! and i use the following cable:

http://www.keil.com/ulink/

what do you mean with BSEL Jumper?

i hope the informations will help you!

thanks

I think it’s the boot select jumper, the one on P0.14 that enables booting via UART0.

Leon

Looks like this is the board :-

http://www.phytec.com/sbc/32bit/pclpc229x.htm

What position do you have JP28 on your board ???

Two posts came in while I was writing the last post. It was lunch time here in the UK :wink:

Please post a URL to your board and check the manaul for ALL THE JUMPERS.

All the best.

it’s the same board

but i don’t understand the question

what is JP28? lol

It is a Jumper that is documented in the manual that you need to change to program the flash memory.

I have never heard of your board and I found that information in less than 5 minutes.

I politely suggest you read the board and chips manuals.

ok it works

i just needed to initialise the init file in the options from flash tool with the file iflash.ini

thanks so much for your help