- UPCX530 -
Programming the firmware

You can use a simple serial or parallel programmer that is capable of programming the Microchip dsPIC30F4012-30. When you want to build the project's controller PCB also build at least one programming dongle. This has an on board standard ISP connector for microchip programmers like the PICKit3.

BLDCProgDongle320x240

Connect the programming dongle to the controller PCB using a short (100mm) flat cable!

You can use the pre-build HEX-file included in the project and program it into the device. If you want to build the firmware from the included source files you will need a licensed version of the Microchip C30 compiler to set the correct optimization level.

Fuse settings

When programming the device make sure to use the right fuse settings shown below.

BLDCFuseSettings320x145

 

 

Linker settings

When building the firmware make sure to set the heap size for the project to 70 bytes (linker settings --heap=70).

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok