Hi all.,
From the PC COM port., I am able to Load the hex file into My LPC2148 board using flash magic. But, When I try do it with laptop by using USB-Serial Converter cable. It is giving error message like step1 is having some problem. That USB to Serial Converter is working fine., I checked it GSM Modem by sending commands and it able to receive acknowledgement by using same USB to Serial converter.
For load my hex file from laptop using Using USB to Serial converter., What should I do?
Please tell me., If any one know the solution to this particular problem.
Thank you all in advance Ganesh kaila
Try a different USB-to-serial adapter, or check if it makes a difference to try another baudrate.
Note that a USB-to-serial adapter does not give you a perfect emulation of a serial port. They have issues - one of them being lag between the USB interface and actual toggling of the RS-232 pins. Some programs and some protocols are less affected by this - some are more affected. And depending on the adapter is implemented, some programs will just not able to use it for some tasks.
Hi Ganesh,
Try to change device driver's settings like RX/TX buffer, Latency, etc. in "Device Manager".
Luck
The USB-to-Serial Converter do not do the complete emulation for the serial port. Normal it just uses emulates Tx and Rx pins. and and do not use the DTR / RST pins, which are used by the ISP program to enable programming MODE of the processor. So you may have to find a good USB-Serial converter which emulates all the signal of RS232.
First assign the com port number to the USB to serial converter in device manager Then fix a lower baudrate such as 9600 Assign the exact crystal frequency Apart from this check the target device etc. The error appears while programming will help to detect the exact problem !!! It must work fine if its good !!!
If that s d case , then it should not work with the serial com Port also naa ? He s saying that only with the USB to serial converter usage s the problem !!!!!!!
Hi
In advanced port settings try to set com port to 1 or 2 for USB to Serial converter, then try to program using flash magic.
We solved this way.
V.Nagarajan
Ya , tats what I mentioned earlier. In flash magic we have options only for com1 to com6 I think. Bt USB to serial converter automatically assigns a com port number greater than 10. Therefore we have to change the port no first !!!!!!
In flash magic we have options only for com1 to com6 may be you need a latest version of flash magic. Mine shows more than 20 com ports
Maybe just show all serial ports (even non-connected) in the device manager and then uninstall them all and then insert your USB adapter. This time, it should get a lower serial port name.
By the way - only buy USB-to-serial adapters that have an EEPROM with a serial number. With a serial number, you can move the adapter between different USB ports and it will still keep the name. An adapter without a serial number will get a new name for every USB port it is inserted in. Without a serial number, Windows have to include the USB port name into the name of the full device to be able to correctly point out the serial port.