Hello
Is it possible to program an MIAC with a PicKit2?
Thanks, Ben
Programming MIAC with PicKit2?
- 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?
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Programming MIAC with PicKit2?
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
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
- 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?
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel