monyca
March 26, 2006, 1:12am
1
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!
andrey
March 26, 2006, 1:35am
2
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.
monyca
March 26, 2006, 1:49am
3
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
andrey
March 26, 2006, 6:37am
5
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.
monyca
March 27, 2006, 12:02am
6
i tried something:
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
monyca
March 27, 2006, 10:59am
8
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:
which board are you using?
how is it connected (ie: is there a USB port on the board that you connected to the PC?)
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
on the Olimex boards, there’s a BOOT switch or jumper that you need to set to get the MCU into the bootloader
fordp
March 27, 2006, 12:25pm
9
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 !
monyca
March 27, 2006, 12:57pm
10
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
fordp
March 27, 2006, 1:57pm
12
Looks like this is the board :-
http://www.phytec.com/sbc/32bit/pclpc229x.htm
What position do you have JP28 on your board ???
fordp
March 27, 2006, 2:00pm
13
Two posts came in while I was writing the last post. It was lunch time here in the UK
Please post a URL to your board and check the manaul for ALL THE JUMPERS.
All the best.
monyca
March 27, 2006, 2:12pm
14
it’s the same board
but i don’t understand the question
what is JP28? lol
fordp
March 27, 2006, 5:49pm
15
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.
monyca
March 28, 2006, 8:13pm
16
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