I wanted to do it for a long time, but never found enough time to do it until recently.
I have connected two PIC32 chips so far with ICSP and I can read them out with a PICKIT3.
Also I created a project with MPLABX2.00, it includes several C source files.
I studied some of the included headers, for instance there are routines to enable certain interrupts, and to clear the bit in the ISR.
I want to make the LED blink.
The tristate must be configured, and the configuration bits are all set in the code to values that seem to make sense.
Are I am missing something? Do I need to partition the memory, or is there some default? I downloaded all the files from the reference manual.
It is a MX210 16 I think, 44 pins, and no crystal, but a secondary 32 KHz crystal.
I tried to set some stuff in order to use the TIMER2.
And I wrote a code to toggle a flag in the main routine, whenever a flag was set in the ISR (leaving immediately).
Then I also need to set/reset a port bit for the LED (I did not code that this evening).
It seems to be I am getting there.
Any ideas, or information I should be aware of?
I know there are Evalution boards but I somehow like to use blank chips and see how it goes.
Yes I googled it, but MPLABX2.00 is brand new...
Should I try the simulator first before flashing?
I have connected two PIC32 chips so far with ICSP and I can read them out with a PICKIT3.
Also I created a project with MPLABX2.00, it includes several C source files.
I studied some of the included headers, for instance there are routines to enable certain interrupts, and to clear the bit in the ISR.
I want to make the LED blink.
The tristate must be configured, and the configuration bits are all set in the code to values that seem to make sense.
Are I am missing something? Do I need to partition the memory, or is there some default? I downloaded all the files from the reference manual.
It is a MX210 16 I think, 44 pins, and no crystal, but a secondary 32 KHz crystal.
I tried to set some stuff in order to use the TIMER2.
And I wrote a code to toggle a flag in the main routine, whenever a flag was set in the ISR (leaving immediately).
Then I also need to set/reset a port bit for the LED (I did not code that this evening).
It seems to be I am getting there.
Any ideas, or information I should be aware of?
I know there are Evalution boards but I somehow like to use blank chips and see how it goes.
Yes I googled it, but MPLABX2.00 is brand new...
Should I try the simulator first before flashing?