Cannot upload Flowcode V8 to ECIO40P

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi Benj and medelec35

Have tried to install: ECIO_Driver_Install.exe
But get the message below!
USB Driver Unsigned.JPG
USB Driver Unsigned.JPG (39.61 KiB) Viewed 6854 times
Which directory should the USB Driver be installed?

Where is it going wrong?
Device Driver.JPG
Device Driver.JPG (19.15 KiB) Viewed 6852 times
Best Regard
Monie

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Benj »

Hi Monie,

Please can you follow my steps with the ECIOprog tool and report back as to how you get on.
Load the ECIOprog.exe
Connect your ECIO to the USB ensuring the jumper is set to USB
In the ECIOprog software Click File -> Open
Select your hex file
Click Program -> Send Program
Click Program -> Reset ECIO
You seem to be purposefully disregarding my advise.

I feel the USB driver is a red herring and won't help with the problem you're having. The fact the ECIOprog sees the ECIO and gets the version number proves the current driver is working fine. If you feel you must install it then you can do so by using device manager and selecting update driver and then pointing the wizard at the .inf file. Again if your using Windows 8 or 10 then this simply won't work and you will first have to disable the driver signature enforcement. Google can help with how to do this.

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi Ben!
First of all,my english is not the best, so sometime I misunderstod you, sorry.

Now I have done all you ask me to do. Via EICO Programmer I am able to read, erasing the Eico, and of course see when I connect and disconnect the Eico. but not allowed to program.

the strange thing is, it work before the last update to 8.1.1.1 :?:

Please have patience with me, all kind of suggest is welcome.

Thanks

Monie
Best Regard
Monie

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Benj »

Hello Monie,
I am able to read, erasing the Eico, and of course see when I connect and disconnect the Eico. but not allowed to program.
What specific error messages are you getting when you try and program the device? Can you provide a screenshot of the error messages?

Please can you also attach the .hex file you are trying to program and I can try this here for you to confirm it's not related to the .hex file.

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi Benj


Compiler Messages:

Code: Select all

Target folder: C:\Users\Bruger\DOCUME~1\FLOWCO~2
Source name:   C:\Users\Bruger\Documents\FlowCode v8 Project\Test ECIO40P.fcfx
Title:         
Description:   
Device:        PIC.18F.ECIO-40
Generated by:  Flowcode v8.1.1.11
Date:          Monday, January 14, 2019 11:30:44
Users:         1
Registered to: monie jacobsen
License key: X6U4U7
https://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\pic\bin\xc8.exe  --chip=18F4455 "Test ECIO40P.c" --MSGDISABLE=359,1273,1388 --CODEOFFSET=800h --ROM=default,-0-7FF
Microchip MPLAB XC8 C Compiler (Free Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration

Employing 18F4455 errata work-arounds:
 * Corrupted fast interrupt shadow registers
 * No stopping on H/W breakpoints after NOP2

Memory Summary:
    Program space        used   11Eh (   286) of  5800h bytes   (  1.3%)
    Data space           used    2Fh (    47) of   7FFh bytes   (  2.3%)
    Configuration bits   used     7h (     7) of     7h words   (100.0%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    ID Location space    used     0h (     0) of     8h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   7A0h bytes   (  0.0%)


You have compiled in FREE mode.
Using Omniscient Code Generation that is available in PRO mode,
you could have produced up to 60% smaller and 400% faster code.
See http://www.microchip.com/MPLABXCcompilers for more information.


Launching the linker/assembler...
C:\Program Files (x86)\Flowcode v8\tools\DoNothing\DoNothing.exe  

Launching the programmer...
C:\Program Files (x86)\Flowcode v8\tools\mLoader\mLoader.exe  -ecio40 "Test ECIO40P.hex"
. . . . . . . . . . . . . . . . . . .

C:\Program Files (x86)\Flowcode v8\tools\mLoader\mLoader.exe reported error code 255

FINISHED
HEX File:
Test ECIO40P.hex
(868 Bytes) Downloaded 174 times
Cannot add codes to MIAC dsPIC (MI5809)

Does anyone here help why I cannot upload Coder Flowcode v8 to ECIO40P?
Attachments
Test.JPG
Test.JPG (16.06 KiB) Viewed 6804 times
Best Regard
Monie

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Benj »

Hi Monie,
I am able to read, erasing the Eico, and of course see when I connect and disconnect the Eico. but not allowed to program.
Please can you give me the error messages reported when trying to program manually using the ECIOprog tool!!!

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi Benj

ECIO Prg:
ECIO Programmer.JPG
ECIO Programmer.JPG (21.7 KiB) Viewed 6771 times
But does not end

Compile Messages:

Code: Select all

Target folder: C:\Users\Bruger\DOCUME~1\FLOWCO~2
Source name:   C:\Users\Bruger\Documents\FlowCode v8 Project\Test ECIO40P.fcfx
Title:         
Description:   
Device:        PIC.18F.ECIO-40
Generated by:  Flowcode v8.1.1.11
Date:          Tuesday, January 15, 2019 17:13:10
Users:         1
Registered to: monie jacobsen
License key: X6U4U7
https://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\pic\bin\xc8.exe  --chip=18F4455 "Test ECIO40P.c" --MSGDISABLE=359,1273,1388 --CODEOFFSET=800h --ROM=default,-0-7FF
Microchip MPLAB XC8 C Compiler (Free Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration

Employing 18F4455 errata work-arounds:
 * Corrupted fast interrupt shadow registers
 * No stopping on H/W breakpoints after NOP2

Memory Summary:
    Program space        used   11Eh (   286) of  5800h bytes   (  1.3%)
    Data space           used    2Fh (    47) of   7FFh bytes   (  2.3%)
    Configuration bits   used     7h (     7) of     7h words   (100.0%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    ID Location space    used     0h (     0) of     8h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   7A0h bytes   (  0.0%)


You have compiled in FREE mode.
Using Omniscient Code Generation that is available in PRO mode,
you could have produced up to 60% smaller and 400% faster code.
See http://www.microchip.com/MPLABXCcompilers for more information.


Launching the linker/assembler...
C:\Program Files (x86)\Flowcode v8\tools\DoNothing\DoNothing.exe  

Launching the programmer...
C:\Program Files (x86)\Flowcode v8\tools\mLoader\mLoader.exe  -ecio40 "Test ECIO40P.hex"
. . . . . . . . . . . . . . . . . .

C:\Program Files (x86)\Flowcode v8\tools\mLoader\mLoader.exe reported error code 255


FINISHED
Best Regard
Monie

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Benj »

Hi Monie,

Right I think we're getting somewhere now.

What do you mean by this, can you explain further.
But does not end
If you wait for the "Send Complete" and "Ready" messages to appear in the ECIOprog software and then click Program -> Reset ECIO from the menu then does this allow your program to run?

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi everyone
After uploading .HEX then LED do not turn off the ECIO40P - with not end!
ECIO40P does not end at the end of upload!
What should I do??
Mid flowcode v8 cannot upload the codes to eg ECIO40P
Does anyone here have a proposal for solving the problem?
Best Regard
Monie

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi everyone
Maybe I found a mistake!

Custom USB Devices ECIO-4OP 40-pin module!
Enhedshåndtering.JPG
Enhedshåndtering.JPG (40.89 KiB) Viewed 6735 times
Maybe the USB Devices ECIO-4OP should be moved to Universal Serial Bus controllers?
Is it possible to move USB Devices ECIO-4OP to another USB device????
Best Regard
Monie

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Benj »

Hi Monie,

The ECIO was programming correctly and then for some reason it stopped. Nothing in the programming software, USB driver, FCD etc I am aware of changed from 8.0 to 8.1.

So I would suggest trying one or both of the solutions below.

Have you considered trying to program the ECIO from a different computer to see if it's something specific to your PC.

Or getting a new ECIO to confirm if the ECIO you're using has become damaged.

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi Benj
i have tried to reinstall the drivers, but it did not change anything

i have also tried to use the mLoader software, to check if it could recognize the ECIO40p, with luck, but when it tries to upload the .hex file it fails.
error4.JPG
error4.JPG (22.23 KiB) Viewed 6719 times
maybe that can give you some idea of what could be wrong.

I should say that the ECIO blinks all the time, but does not stop againg after the programming fase.

i have testet it on 4 other ECIO40p, with same result.
i do really not no what to do now.
Best Regard
Monie

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by jgu1 »

Hej Monie!

Ben ask. Ben spørger:
So I would suggest trying one or both of the solutions below.
“ jeg vil foreslå dig at prøve en af løsningerne eller begge som jeg skriver her”:

Have you considered trying to program the ECIO from a different computer to see if it's something specific to your PC.
Har du overvejet at prøve at programmere EICOEn fra en anden computer for at konstatere at der ikke er et eller andet specifikt med din computer som du bruger nu.

Or getting a new ECIO to confirm if the ECIO you're using has become damaged.
Eller få en ny EICO for at finde ud af om der er fejl på den EICO du nu bruger.

I Think you not understand Monie, why I translate for you. Only for helping. :D

Br Jorgen.

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi jgu1
Have tried to upload ECIO40P with Flowcode v6 on another computer and here I could upload to ECIO40P without any problems.
Can upload the codes to the MIAC dsPIC in the Flowcode v8 without any problems

But cannot upload ECIO40P code with Flowcode v8 !

Also uses the same version driver of ECIO-40P 40-pin module (Data for driver 27-05-2015) for both Flowcode 6 and Flowcode v8

Don't have any other computer where I can try Flowcode v8

Does anyone here have an idea of what goes wrong and how I can upload codes to ECIO40P.
Best Regard
Monie

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by jgu1 »

Hi monie!

I see your point, strange. But I have 3 pc with FC8 installed, and I have old and new EICO 28 and 40 I can program all the EICO on all 3 computer. And on all pc, FC8 is updated.
I am not specialist, but as Ben mentioned, he think there is something specific with your computer, i agree.

But anyway, it seemed that your EICO working when you can program them on a another computer with FC6.

Br Jorgen.

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi everyone
I just don't know what to do or what is the cause for not uploading to ECIO40P
User SSD hard disk is this where the error is or is missing something in the setup?
Now I can't use the tool
What's wrong.
Last edited by Monie Jacobsen on Mon Jan 21, 2019 8:48 am, edited 2 times in total.
Best Regard
Monie

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by medelec35 »

As the image shows red X's for all components:
Looks like you need to reactivate your licence via Help, Manage licences, My Flowcode Licence
Martin

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi medelec35
Thank you very much ;-)

Work hard to find out why the computer Flowcode v8 cannot upload code to ECIO40P.
User SSD Hardisk this should not have any problems?
Best Regard
Monie

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi everyone
Cannot compile MIAC Programmer coder for dsPIC Miac
MIAC Programmer.JPG
MIAC Programmer.JPG (17.8 KiB) Viewed 6624 times
Miac can't see the codes!
MIAC Programmer_2.JPG
MIAC Programmer_2.JPG (16.92 KiB) Viewed 6624 times
After a few minutes come notice including that the USB device connected to this computer does not work????
USB-enhed.JPG
USB-enhed.JPG (23.71 KiB) Viewed 6624 times
How can I do this to upload my coder?
Hope much you will help me!
Best Regard
Monie

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi everyone
Now I have tried many days to upload coder for ECHO40P and dsPIC Miac - It is impossible for me to work.
Isn't anyone there to help?
Or want to help show TeamViewer?
Best Regard
Monie

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Benj »

Hello Monie,

Since your reinstall have you installed the specific chipset and USB drivers for your motherboard. Windows may be simply using it's own drivers and hence all the problems you're having with USB.

Am I right in thinking you did a reinstall of Windows or was it just an update of Flowcode?

Might you have inadvertently damaged your USB ports with something? They are normally very well protected and hard to damage but not impossible.

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: Cannot upload Flowcode V8 to ECIO40P

Post by Monie Jacobsen »

Hi Benj
Sorry to have spent a lot of time solving the problem, but without success!
I just did update of Flowcode?
Can't connect with Windpds v8's own specific chipset for USB drivers??????

Can't use / refer to using another USB driver?

Or buy a new motherboard?
Best Regard
Monie

Post Reply