Bootloader

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

Moderators: Benj, Mods

Post Reply
User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Bootloader

Post by JohnCrow »

Hi
Ive finally got round to ordering a MIAC, been having a look at the sample programs and are looking forward to playing with it.
I assume, like the ECIO modules, If I load /erase the MIAC via flowcode or its own programmer software, I wont be able to accidentaly delete / corrupt the bootloader installed in it.
Thanks
1 in 10 people understand binary, the other one doesn't !

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: Bootloader

Post by medelec35 »

Hi John,
JohnCrow wrote:Hi
I assume, like the ECIO modules, If I load /erase the MIAC via flowcode or its own programmer software, I wont be able to accidentaly delete / corrupt the bootloader installed in it.
Thanks
You programm via Flowcode and don't need any other software installed. You just select Miac as a target device, then just send to target once you have developed flowchart.
You don't need to worry about overriding boot loader, or the configuration settings as its all taken care for you.

Martin
Martin

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Bootloader

Post by DavidA »

If you do want to program it with a hex file you can just use the MIACprog.exe (bundled with Flowcode) to load it in without affecting the bootloader

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: Bootloader

Post by JohnCrow »

Thanks David
I thought that would be the case with it.
1 in 10 people understand binary, the other one doesn't !

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: Bootloader

Post by medelec35 »

Hi John,
Sorry I did not mention MIACprog.exe.
I have never used it, since I do all the programming via Flowcode.
So just plain forgot :oops:

You just need to bear in mind that not all i/o's are available of 18F4455 on the miac, So you need to refer to the chip diagram on the miac target, or the quick programming guide (Which I can't find on the web site. Probably due to my old age and eyesight blah blah) :lol:

But just in case I have attached the guide.

Martin
Attachments
MIAC Operation and Programming Guide.pdf
(792.02 KiB) Downloaded 397 times
Martin

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: Bootloader

Post by JohnCrow »

Thanks Martin

Ive had the Miac document printed out for a while.
Just had it powered up and run the test program thats loaded in it, all seems to be working
Just installed the USB driver and found a spare mini usb cable to use with it.

Yer ive seen the Miac prog program, though I shall proberbly like you stick to using it with flowcode.
1 in 10 people understand binary, the other one doesn't !

Post Reply