Sending programme to EICO

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
jadiflow
Flowcode v5 User
Posts: 273
Joined: Thu Apr 17, 2008 9:59 am
Has thanked: 19 times
Been thanked: 16 times

Sending programme to EICO

Post 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

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: Sending programme to EICO

Post 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.

jadiflow
Flowcode v5 User
Posts: 273
Joined: Thu Apr 17, 2008 9:59 am
Has thanked: 19 times
Been thanked: 16 times

Re: Sending programme to EICO

Post 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

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: Sending programme to EICO

Post 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.
Attachments
ecio_0x55.fcf
(3 KiB) Downloaded 271 times
ecio_0x55.hex
(423 Bytes) Downloaded 286 times

jadiflow
Flowcode v5 User
Posts: 273
Joined: Thu Apr 17, 2008 9:59 am
Has thanked: 19 times
Been thanked: 16 times

Re: Sending programme to EICO

Post 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

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: Sending programme to EICO

Post by Steve »

Sorry, Jan. I really don't know what the problem could be. Are you able to try on a different PC?

jadiflow
Flowcode v5 User
Posts: 273
Joined: Thu Apr 17, 2008 9:59 am
Has thanked: 19 times
Been thanked: 16 times

Re: Sending programme to EICO

Post 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

Post Reply