MCSP with USB to RS-232 converter
I cannot get the MCSP Boot Loader to work with an ASUS EeePC and a generic USB to RS-232 adapter. The code compiles and the boot loader asks me to reset the target micro. I press the reset and the dialog box immediately changes to say "programming" but then it hangs. Sometimes there might be one or two green progress squares in the programming window but mostly the progress bar is blank. The USB/RS-232 adapter works a treat as COM3 for TeraTerm and appears to have some communications with the target micro but it never completes the programming cycle.
I can program the same micro with the same code with a direct RS-232 cable from my desktop PC but the ASUS EeePC has no serial ports, only USB2.
Any suggestions?
MCSP 3.0.0.5, PBP 2.50B, PIC18F4620,
Cheers
BrianT
USB to RS-232, MCSP not working
Hi Dave,
Thanks for the tip. I have now tested the RS-232/USB converter as you suggested with Auto, 19,200 bps and 115,200 bps. About one attempt in 10 gets through in Auto or 115,200 bps. None has worked at 19,200 bps.
I get from 1 to 6 green 'progress' squares then MicroCode Loader hangs. After a Ctrl/Alt/Del the Task Manager shows MicroCode Loader is not responding.
I suspect that different USB/RS232 converters have different internal or end-to-end delays and although a converter may be able to sustain high speeds, long delays might run foul of some MCSP timing assumptions.
I still cannot get the ASUS or the Sony VAIO to program a PIC 18F4620 using PBP 2.50b and provided with MCSP 3.0.0.5.
Still hopeful.
BrianT