seperate software to transfer flowcode projects to the chip

For MIAC users to discuss projects, applications, and any other issues related to the MIAC unit.

Moderators: Benj, Mods

Post Reply
thusharag
Flowcode v5 User
Posts: 46
Joined: Wed Jun 22, 2011 10:42 am
Has thanked: 9 times
Been thanked: 3 times
Contact:

seperate software to transfer flowcode projects to the chip

Post by thusharag »

hi,
could you please make a separate software to send a compiled project to a MIAC module? actually why I pay my attention to this is, I wish to edit the Miac program remotely. my MIAC systems are placed in rural power plants. then if any issue comes I have to go there to do the things. So if any that kind of software available, then I can install it in the Plant PC. I can send the edited flowcode project to that plant PC and then I can access to that PC from my notebook via internet and send to the MIAC via this new software. cable arrangement can be done by the plant staff. I hope this is clear enough about my requirement. So please comment on this

Regards,

thushara
Thanks & Regards,
Thushara Goonathilake.

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: seperate software to transfer flowcode projects to the c

Post by LeighM »

Hi thushara

The best I can suggest at the moment is to get the programmer software onto the remote site PC.
Copy Flowcode\v5\Tools\MIACprog directory onto that PC.
Then add a batch file that contains something like:

Code: Select all

MiacProg.exe -nogui  MIAC_1.hex
Where for example MIAC_1.hex is your compiled MIAC program.
Then you can send updated hex files.
But of course this still requires someone on site to connect the USB cable, run the batch file and press reset on the MIAC.
The MIAC currently requires the reset to be pressed in order to go into program update mode, so that is the biggest limiting factor in what you are trying to do.

Hope that helps.
Regards
Leigh

thusharag
Flowcode v5 User
Posts: 46
Joined: Wed Jun 22, 2011 10:42 am
Has thanked: 9 times
Been thanked: 3 times
Contact:

Re: seperate software to transfer flowcode projects to the c

Post by thusharag »

hi Leigh,
thanks for your reply.
for this do I have to purchase another copy of flowcode?
"But of course this still requires someone on site to connect the USB cable, run the batch file and press reset on the MIAC.
The MIAC currently requires the reset to be pressed in order to go into program update mode, so that is the biggest limiting factor in what you are trying to do."

this can be done as the plant staff is available there.
"Then add a batch file that contains something like:

Code: Select all
MiacProg.exe -nogui MIAC_1.hex
Where for example MIAC_1.hex is your compiled MIAC program.
Then you can send updated hex files"

Please discuss this in detail as I cannot understand it correctly. something like how and to where I add the batch file. and how I can send other hex files.
thanks
thushara
Thanks & Regards,
Thushara Goonathilake.

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: seperate software to transfer flowcode projects to the c

Post by Benj »

Hello,

There is a standalone download tool for the MIAC available from here.
http://www.matrixmultimedia.com/resourc ... .php?id=16

You will need the MIAC driver to be installed on the system before the download tool will work correctly.
http://www.matrixmultimedia.com/resourc ... e.php?id=2

I have also included a set of files which allow an ECIO to be automatically programmed using a shortcut file. This can be altered to work with the MIAC by tweaking the paths in the shortcut files "Send ECIOxx.lnk".
ECIO.zip
(740.84 KiB) Downloaded 359 times
Regarding automating the reset of the MIAC, this is possible as I have done it for ECIO. One way would be to run a USB slave type application which will reset the MIAC on a specific command from the PC and allow the bootloader software to kick in. Does mean the MIAC has to be always connected to a PC using USB.

thusharag
Flowcode v5 User
Posts: 46
Joined: Wed Jun 22, 2011 10:42 am
Has thanked: 9 times
Been thanked: 3 times
Contact:

Re: seperate software to transfer flowcode projects to the c

Post by thusharag »

hello,

thanks a lot for your comments. its working well. I tested it practically.

BR

thushara
Thanks & Regards,
Thushara Goonathilake.

Post Reply