Page 1 of 1
Programming MIAC with PicKit2?
Posted: Thu Feb 18, 2010 11:14 am
by benh
Hello
Is it possible to program an MIAC with a PicKit2?
Thanks, Ben
Re: Programming MIAC with PicKit2?
Posted: Thu Feb 18, 2010 11:19 am
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.
Re: Programming MIAC with PicKit2?
Posted: Thu Feb 18, 2010 11:40 am
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
Re: Programming MIAC with PicKit2?
Posted: Thu Feb 18, 2010 2:09 pm
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.