Search found 21 matches

by george4657
Mon Jul 24, 2017 9:26 pm
Forum: General Discussion
Topic: Using ChipKit programmer on DIY board
Replies: 2
Views: 234

Using ChipKit programmer on DIY board

I purchased a chipkit programmer when I purchased my chipkit max32 board a while back. I have now built my own board using a pic32mx250 for an embedded project. I was able to write a basic program and program it into the board using the programmer with Mplab X. All was ok till I unpluged the program...
by george4657
Wed Mar 02, 2016 9:30 pm
Forum: What are you developing?
Topic: First successful trial of GRBL on chipkit Max32
Replies: 4
Views: 960

First successful trial of GRBL on chipkit Max32

I have spent the last several months converting Grbl from a mega256 to a chipkit Max32 and today I made my first successful run on an actual machine. Test machine: Home made with 3 steppers fed with drv8825 drivers, one stepper on X and two steppers on Y (stepper motors from old floppy drives) Maxim...
by george4657
Tue Sep 29, 2015 4:51 pm
Forum: General Discussion
Topic: Help with #define substitutiuon
Replies: 2
Views: 713

Re: Help with #define substitutiuon

Thank you very much. I tried to google for solution but could not find anything close to this.
I am converting GRBL to run on a pic32mx and the code is littered with masking functions so having this macro will make it much easier to convert as well as making pin swapping easier.

Thanks
George
by george4657
Tue Sep 29, 2015 4:02 pm
Forum: General Discussion
Topic: Help with #define substitutiuon
Replies: 2
Views: 713

Help with #define substitutiuon

I am learning to use defines but this one I can't get to work. I have: #define STEPPERS_DISABLE_PORT D #define STEPPERS_DISABLE_BIT 5 // Max32 pin 39 #define STEPPERS_DISABLE_MASK (1<<STEPPERS_DISABLE_BIT) #define STEPPERS_DISABLE_CLR LATDCLR=STEPPERS_DISABLE_MASK #define STEPPERS_DISABLE_SET LATDSE...
by george4657
Fri Sep 25, 2015 6:27 pm
Forum: chipKIT Boards
Topic: What is typical endurance of pic32mx795
Replies: 2
Views: 520

What is typical endurance of pic32mx795

I have been working on a project for the past couple of months converting an AVR program to Pic32mx. Since this is a learning experience for both avr and pic I do several uploads a day to test changes. I am afraid I am getting near the limit for writing to chip. Datasheet shows minimum of 1000 but g...
by george4657
Sun Apr 26, 2015 4:22 pm
Forum: Libraries
Topic: read and write digital pins through registers
Replies: 9
Views: 2767

Re: read and write digital pins through registers

Have not worked on this in a long time so correct me if I am wrong. I only worked with chipkit Max32 so this may apply to it only. I thought I checked and "digitalRead(23)" did a direct read of the register for pin 23 with no overhead. For digital write I wrote FastPins.h file. which defines every p...
by george4657
Tue Oct 01, 2013 12:54 am
Forum: chipKIT Boards
Topic: UNO32 External clock
Replies: 5
Views: 859

Re: UNO32 External clock

I can think of 3 ways to do this: 1. use an external interrupt pin and have interrupt count up. 2. Use an external binary counter to count down to 128 or 256 and then feed to an external interrupt pin. This requires more hardware but uses less CPU resources. 3. How I would do it as I am comfortable ...
by george4657
Tue Jun 18, 2013 1:59 am
Forum: Software Builds and Announcements
Topic: Release Candidate 3 20130609
Replies: 2
Views: 1660

Re: Release Candidate 3 20130609

re mpide-0023-windows-20130609-test.zip In compiling Blink program with MPLABX I found a spelling error in task_manager.c that caused an error message. line 203 => st = disableInterrutps(); should be st = disableInterrupts(); I don't understand why mpide does not show the same error except that if y...
by george4657
Tue Jun 11, 2013 4:59 am
Forum: chipKIT Boards
Topic: PIC32F Bootloader on a new device
Replies: 2
Views: 692

Re: PIC32F Bootloader on a new device

Check out this web page http://chipkit.net/products/?slug=index.php&cPath=1_17
It shows several new boards, some with 28 pin chips

You will need a programmer if you build your own.
by george4657
Tue Jun 11, 2013 4:44 am
Forum: IDE Integration
Topic: chipKIT Max32 - Serial communication problem
Replies: 6
Views: 2573

Re: chipKIT Max32 - Serial communication problem

This one had me scratching my head. I got the same results on Serial and on Serial1 (pins 19 RX1) 'A' Binary = 01000001 41 Hex add start bit = 101000001 add stop bit = 1010000010 repeat = 1010000010101000001010100000101010000010 repeat = 1_1_____1_1_1_____1_1_1_____1_1_1_____1_ This is the pattern y...