Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:sdxl [2015/03/09 09:42] – darron | boards:sdxl [2019/07/10 07:56] (current) – [Pickle Microchip PIC ICSP] darron | ||
---|---|---|---|
Line 11: | Line 11: | ||
A popular use of this board and the original is to run [[tools: | A popular use of this board and the original is to run [[tools: | ||
- | Since this is such a large device I chose to mount it adjacent to a bread-board | + | Since this is such a large device I chose to mount it adjacent to a solder-less breadboard |
rather than acquire a breadboard capable of housing it. This is something to | rather than acquire a breadboard capable of housing it. This is something to | ||
- | consider before | + | consider before |
+ | |||
+ | It must be pointed out that the PIC32MX795F512H only has a guaranteed cell endurance of 1000 erase/write cycles. It's hard to recommend this device for development work. | ||
=== Pinout === | === Pinout === | ||
Line 21: | Line 24: | ||
| | ||
| | ||
- | | + | |
- | | + | RX4 |
| | ||
- | | + | |
| | ||
| | ||
| | ||
- | 7 | + | TX4 |
- | | + | RX1 |
- | 9-TX RD3 RB8 | + | TX1 |
- | | + | |
- | | + | |
- | | + | |
| | ||
- | | + | |
- | | + | |
| | ||
| | ||
| | ||
| | ||
- | | + | |
- | | + | |
- | | + | |
- | LED 23 RE7 RG6 | + | LED 23 RE7 RG6 |
| | ||
| | ||
Line 67: | Line 70: | ||
PGC=19 | PGC=19 | ||
PGD=13 | PGD=13 | ||
- | PGM=255 | + | PGM=-1 |
</ | </ | ||
Line 94: | Line 97: | ||
=== Boot loader === | === Boot loader === | ||
- | USB boot loader firmware can be built with the [[: | + | USB boot loader firmware can be built with the [[: |
+ | Here we program the loader then verify it. | ||
< | < | ||
p32 program firmware/ | p32 program firmware/ | ||
Line 104: | Line 108: | ||
Time: 0:00.47s | Time: 0:00.47s | ||
</ | </ | ||
+ | |||
+ | === Standalone === | ||
+ | |||
+ | If you program this board without a boot loader you can use the following configuration which is the default used by this device. | ||
+ | < | ||
+ | /* DEVCFG3 */ | ||
+ | #pragma config FVBUSONIO = OFF | ||
+ | #pragma config FUSBIDIO = OFF | ||
+ | #pragma config FCANIO = ON | ||
+ | #pragma config FETHIO = ON | ||
+ | #pragma config FMIIEN = ON | ||
+ | #pragma config FSRSSEL = PRIORITY_7 | ||
+ | #pragma config USERID = 0x0000 | ||
+ | |||
+ | /* DEVCFG2 */ | ||
+ | #pragma config FPLLODIV = DIV_1 | ||
+ | #pragma config UPLLEN = ON | ||
+ | #pragma config UPLLIDIV = DIV_2 | ||
+ | #pragma config FPLLMUL = MUL_20 | ||
+ | #pragma config FPLLIDIV = DIV_2 | ||
+ | |||
+ | /* DEVCFG1 */ | ||
+ | #pragma config FWDTEN = OFF | ||
+ | #pragma config WDTPS = PS1024 | ||
+ | #pragma config FCKSM = CSECME | ||
+ | #pragma config FPBDIV = DIV_1 | ||
+ | #pragma config OSCIOFNC = OFF | ||
+ | #pragma config POSCMOD = EC | ||
+ | #pragma config IESO = OFF | ||
+ | #pragma config FSOSCEN = OFF | ||
+ | #pragma config FNOSC = PRIPLL | ||
+ | |||
+ | /* DEVCFG0 */ | ||
+ | #pragma config CP = OFF | ||
+ | #pragma config BWP = OFF | ||
+ | #pragma config PWP = OFF | ||
+ | #pragma config ICESEL = ICS_PGx2 | ||
+ | #pragma config DEBUG = OFF | ||
+ | </ | ||
+ | |||
+ | |||
+ | === Resources === | ||
+ | [[http:// |