Page 1 of 1

Sending programme to EICO

Posted: Mon Nov 10, 2008 9:34 am
by jadiflow
Hi,

I'm trying to get up to speed using an EICO module. I have a simple test program that compiles and sims OK. When I run EICO programmer, it finds the EICO module on the USB, it can read whatever is in the module, and erase the module. However, when I send the program, it halts before completing the send and tells me 'send failed'. I tried to open the EICO programmer help file, but for some reason it can't find it (tries to get on line it seems, and that fails, although I am connected to the 'net).

Any pointers to what might be going on? Also, what exactly is the significance of the blinking LED on the module? It keeps on flashing while sending the program, is that how it should be?

Thanks for any help,

Jan Didden

Re: Sending programme to EICO

Posted: Mon Nov 10, 2008 9:41 am
by Steve
The blinking LED indicates that the device is trying to connect with the PC or that the device is being reprogrammed.

Are the drivers for the ECIO installed correctly? There should be a "driver_install.exe" file for the ECIO that needs to be run before attempting to connect the device.

Re: Sending programme to EICO

Posted: Mon Nov 10, 2008 11:04 am
by jadiflow
Hi Steve,

I uninstalled, then installed the driver sucessfully. When opening the EICO programmer app I get:

USB Write Failed
Failed with error 6: De ingang is ongeldig. ['The port (?) is invalid']

ECIO-28 version: (????)
Ready
ECIO not found!
ECIO not found!
ECIO-28 version: 1.1
Ready


Then if I open the .hex I wish to download to the module:

Program has been loaded

Then when trying to send the program:

Sending Program...
Send Failed
Ready


Any pointers?
Edit: The module shows up correctly in the hardware manager.

Jan Didden

Re: Sending programme to EICO

Posted: Mon Nov 10, 2008 11:33 am
by Steve
Hello Jan,

Sorry, but I don't know about this error. Please try downloading the attached program (use the FCF to download via Flowcode and the HEX to download directly using the ECIO-prog utility) and see if these work. The program simply puts 0x55 onto portb.

You may get the error messages, but the downloading might work ok. Please tell me if you see the 0x55 pattern on portb after downloading the program.

Re: Sending programme to EICO

Posted: Mon Nov 10, 2008 12:27 pm
by jadiflow
Steve,

Neither method works. Both attemps lead to the same error message 'Send failed'. The portb pattern doesn't resemble 0x55.

Edit: tried changing the supply jumper from 'external' to 'usb'. No change.

Jan Didden

Re: Sending programme to EICO

Posted: Mon Nov 10, 2008 12:32 pm
by Steve
Sorry, Jan. I really don't know what the problem could be. Are you able to try on a different PC?

Re: Sending programme to EICO

Posted: Mon Nov 17, 2008 10:04 pm
by jadiflow
Steve,

Got it going. The problem is somewhere in my app. When I run the EICO module on itself, powered from the USB, the program loads fine.
Should have checked that first....

Jan Didden