Programming MIAC with PicKit2?

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

Moderators: Benj, Mods

Post Reply
benh
Posts: 3
Joined: Fri Feb 12, 2010 9:09 am
Contact:

Programming MIAC with PicKit2?

Post by benh »

Hello

Is it possible to program an MIAC with a PicKit2?

Thanks, Ben

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: Programming MIAC with PicKit2?

Post by Benj »

Hello

The MIAC can be programmed directly via the USB connection. No programming hardware is required.

Programming the MIAC with a PICkit will overwrite the USB bootloader that exists on the device.

benh
Posts: 3
Joined: Fri Feb 12, 2010 9:09 am
Contact:

Re: Programming MIAC with PicKit2?

Post by benh »

Thanks for your quick response Ben.

I've read the data sheet more carefully now and realise that it can download any hex file via the bootloader software. I am used to programming with Proton Basic so presumably I could still use that?

I will definitely give Flowcode a try though and may switch if I get on with it.

Thanks again, Ben H

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: Programming MIAC with PicKit2?

Post by Benj »

Hello

Yes im sure you will be able to use the Proton basic software to create your programs, though you will have to look into creating an offset of 0x800 for the code to allow the hex file to be generated correctly.

In boostC we do this by supplying the following parameter to the linker.

-rb 0x800

A hex file that is not offset properly will not damage the MIAC but it will not run correctly without the offset.

Post Reply