chipKIT® Development Platform

Inspired by Arduino™

?Mikroe mini 32 board?

Created Tue, 04 Sep 2012 20:00:54 +0000 by atq


atq

Tue, 04 Sep 2012 20:00:54 +0000

Hi,

I'm interested in using the MPIDE with a MikroElektronika MINI-32 board ([url]http://www.mikroe.com/mini/pic32/[/url]), and was wondering if anyone could give me pointers to where i should start.

Going through the source code in the git hub repository, I think that I mostly need to spend some time figuring out the content of the ./hardware directory, but any help in understanding it would be welcome.

many thx, Alex.


atq

Tue, 11 Sep 2012 22:40:52 +0000

Here is what I think needs to be done [any confirmation/contradiction welcome]: in ./hardware/pic32/ A/ update board.txt

############################################################
mikroe_mini32.name=MikroElektronika PIC32 MINI-32 Board

# new items
mikroe_mini32.platform=pic32
mikroe_mini32.board=_BOARD_MIKROE_MINI32_ # TODO: check if this is correct - where is this used?
mikroe_mini32.board.define=-D_USE_USB_FOR_SERIAL_ # TODO: check if this is correct
mikroe_mini32.ccflags=ffff # TODO: check if this is correct
mikroe_mini32.ldscript=chipKIT-application-32MX534F064.ld
# end of new items

mikroe_mini32.upload.protocol=stk500v2 # TODO: check if this is correct
mikroe_mini32.upload.maximum_size=49152 # (64k - 16k) * 1024. 16k for bootloader (http://www.mikroe.com/forum/viewtopic.php?f=164&t=39188])?
mikroe_mini32.upload.speed=115200 # TODO: check if this is correct

mikroe_mini32.bootloader.low_fuses=0xff # TODO: check if this is correct
mikroe_mini32.bootloader.high_fuses=0xdd # TODO: check if this is correct
mikroe_mini32.bootloader.extended_fuses=0x00 # TODO: check if this is correct
mikroe_mini32.bootloader.path=not-supported # TODO: check if this is correct
mikroe_mini32.bootloader.file=not-supported # TODO: check if this is correct
mikroe_mini32.bootloader.unlock_bits=0x3F # TODO: check if this is correct
mikroe_mini32.bootloader.lock_bits=0x0F # TODO: check if this is correct

mikroe_mini32.build.mcu=32MX534F064H
mikroe_mini32.build.f_cpu=80000000L
mikroe_mini32.build.core=pic32
mikroe_mini32.build.variant=Mikroe_Mini_32
#mikroe_mini32.upload.using=

B/ add core/pic32/chipKIT-application-32MX534F064.ld C/ add variant/Mikroe_Mini_32/Board_Defs.h D/ add variant/Mikroe_Mini_32/Board_Data.c