chipKIT bootloader with SKPIC32

Programmer, In-Circuit Debugger, PIC Start-Up Kit, Memory Interface...

chipKIT bootloader with SKPIC32

Postby shahrul » Mon May 21, 2012 2:56 am

Hi, I try download SKPIC32 with chipkit bootloader get from this page chipKIT UNO.

But, why chipkit software can't program into it. Is this SKPIC32 can use chipkit bootloader?
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: chipKIT bootloader with SKPIC32

Postby sich » Mon May 21, 2012 10:27 am

Hi shahrul, SKPIC32 is using PIC32MX795F512L, while chipKIT Uno32 has PIC32MX320F128H onboard. So they are both using different PIC32 chip. Perhaps chipKIT Max32's bootloader firmware will work but I've never tried it.
~> How to ask QUESTIONS the SMART way in FORUM? <~
User avatar
sich
Moderator
 
Posts: 603
Joined: Tue Apr 21, 2009 2:15 pm

Re: chipKIT bootloader with SKPIC32

Postby Brian Griffin » Mon May 21, 2012 10:43 am

You can try the Max32 bootloader as he said. :)
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool
User avatar
Brian Griffin
Enthusiast
 
Posts: 403
Joined: Mon Jan 17, 2011 9:36 am

Re: chipKIT bootloader with SKPIC32

Postby shahrul » Mon May 21, 2012 10:47 am

sich WROTE:Hi shahrul, SKPIC32 is using PIC32MX795F512L, while chipKIT Uno32 has PIC32MX320F128H onboard. So they are both using different PIC32 chip. Perhaps chipKIT Max32's bootloader firmware will work but I've never tried it.

Yes, I'm wrong. It should use chipKIT MAX32's bootloader, not chipKIT UNO32's bootloader. I already try, but not working. The SKPIC32 with chipKIT MAX32's bootloader not detect on MPIDE.
Actually, I'm prefer SKPIC32 board instead of chipKIT board, because some pin arrangement on chipKIT not same with stripboard. I like to do on stripboard rather than breadboard before do it on PCB.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: chipKIT bootloader with SKPIC32

Postby sich » Mon May 21, 2012 10:26 pm

I'll give it a try when I'm free. May be chipKIT needs sth else for the bootloader to work.

Thanks for choosing SKPIC32...:D
Since some of you are using it, please give some feedback about this product k? Let us know your user experience, good or bad things about the product, improvement needed and etc are all welcomed.

Some info...We noticed that we should disconnect the USBID/RF3 pin from USB mini connector by default, in order to use it as I/O. You will need to connect it with a jumper to use the USB-OTG function. We'll modify that in next PCB batch.
~> How to ask QUESTIONS the SMART way in FORUM? <~
User avatar
sich
Moderator
 
Posts: 603
Joined: Tue Apr 21, 2009 2:15 pm

Re: chipKIT bootloader with SKPIC32

Postby shahrul » Mon May 21, 2012 10:43 pm

sich WROTE:I'll give it a try when I'm free. May be chipKIT needs sth else for the bootloader to work.

Thanks for choosing SKPIC32...:D
Since some of you are using it, please give some feedback about this product k? Let us know your user experience, good or bad things about the product, improvement needed and etc are all welcomed.

Some info...We noticed that we should disconnect the USBID/RF3 pin from USB mini connector by default, in order to use it as I/O. You will need to connect it with a jumper to use the USB-OTG function. We'll modify that in next PCB batch.

Yes, but since I bought SKPIC32 I'm not succesfull use it yet. Maybe I'm not focus on that yet.
If that can use with chipKIT software, it's much easier.. :)
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: chipKIT bootloader with SKPIC32

Postby sich » Tue May 22, 2012 3:16 pm

Just refer to Cytron's example code for SKPIC32. YH also submitted some interesting projects with sample code. These are good to get you kickstarted.

For me, the easiest way is to learn from the Microchip Application Libraries. Just modify the IO initialization in HardwareProfile.h and/or HardwareProfile - PIC32MX795F512L PIM.h of the example you wish to try out.
~> How to ask QUESTIONS the SMART way in FORUM? <~
User avatar
sich
Moderator
 
Posts: 603
Joined: Tue Apr 21, 2009 2:15 pm

Re: chipKIT bootloader with SKPIC32

Postby sich » Wed May 23, 2012 11:28 pm

Hi shahrul,

I've checked chipKIT Max32 schematic. It appears that we've missed one obvious reason. Haha... both chipKIT boards use FT232 for bootloading and SKPIC32 doesn't have FT232 onboard. I should have noticed that earlier :oops:

Based on the schematic, I connected Cytron's UC00A (FT232) and SKPIC32. Unfortunately the LEDs on SKPIC32 are the analog pins on Max32, while D13 (LED) on Max32 is actually RA3 on SKPIC32. So I just program the blinky sketch and test RA3 pin using a multimeter. It works! :D

SKPIC32 and chipKIT Max32.jpg

If you try to find U1ARX in the latest PIC32 datasheet, you'll get no result. FYI, U1ARX is called U1RX now. This is because some of the pin names used in Max32 schematic are following the old pin naming standard of Microchip PIC32. Microchip has revised and applied a new pin naming standard in latest PIC32 datasheet. You need to look carefully into Max32's schematic to find the I/O pin associates with U1ARX, which is RF2 (pin-52).
~> How to ask QUESTIONS the SMART way in FORUM? <~
User avatar
sich
Moderator
 
Posts: 603
Joined: Tue Apr 21, 2009 2:15 pm

Re: chipKIT bootloader with SKPIC32

Postby shahrul » Wed May 23, 2012 11:42 pm

Oh, thanks sich for clarify.
I'm forgot to go detail through the schematic. I will try next. :)
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor


Return to PIC Development Tool

Who is online

Users browsing this forum: No registered users and 19 guests