• AVR Freaks

Helpful ReplyHot!explorer 16/32 board portB connections

Author
kemalkemal
Starting Member
  • Total Posts : 19
  • Reward points : 0
  • Joined: 2013/09/23 08:00:33
  • Location: 0
  • Status: offline
2020/08/05 01:34:55 (permalink)
0

explorer 16/32 board portB connections

Hi all, 
I program dspic33ep512mu810 chip. For a project i need to use all portb pins as output. After i made proper port configurations, able to reach all pins through J48 socket except pins 26 and 27 which are RB6 and RB7. After a detailed examination those pins turned out to multiplexed ICSP pins (PGEC1 and PGED1). I can switch from PGEC1/PGED1 to PGEC2/PGED2 through configuration bits but according to the schematics PGEC1/PGED1 are hardwired to the ICSP interface and apperantly there isn't any jumper or etc in order to assign other programming pins. So does this come to meaning that can't i use RB6/RB7 as general purpose i/o in explorer 16/32 board ? Or is there a way ? Thanks in advance.
#1
marcov
Super Member
  • Total Posts : 283
  • Reward points : 0
  • Joined: 2006/10/08 01:59:40
  • Location: Eindhoven, NL.
  • Status: offline
Re: explorer 16/32 board portB connections 2020/08/05 04:56:18 (permalink) ☄ Helpfulby kemalkemal 2020/08/06 04:07:34
0
(maybe there is a route by attaching a debugger to the jtag header?)
#2
RISC
Super Member
  • Total Posts : 5776
  • Reward points : 0
  • Status: offline
Re: explorer 16/32 board portB connections 2020/08/05 07:48:26 (permalink) ☄ Helpfulby kemalkemal 2020/08/06 04:07:44
0
Hi,
JTAG debug is not supported on 16 bits devices, only ICSP.
If you absolutely need RB6 and RB7, maybe the best method is to hack the explorer16 board and put some switches ...
Alternately you make your own board and use the PIM processor module on it
Regards

For support make sure to check first here : http://microchipdeveloper.com
There are hundreds of PIC, AVR, SAM...which one do YOU use ?
#3
dan1138
Super Member
  • Total Posts : 3845
  • Reward points : 0
  • Joined: 2007/02/21 23:04:16
  • Location: 0
  • Status: offline
Re: explorer 16/32 board portB connections 2020/08/05 08:39:02 (permalink) ☄ Helpfulby kemalkemal 2020/08/06 04:07:48
0
RISC
... Alternately you make your own board and use the PIM processor module on it

Or use an external ICD tool like a PICkit4.
 
Or do not use In-Circuit-Debug just use the PKOB of the Explorer 16/32 as a device programmer.
 
Or use another PORT for your outputs.
 
@kemalkemal,
 
And one more thing. You do realize that for the dsPIC33EP512MU810 the PGD2/PGC2 pins are pins 73 &74. These pins are your only possible choice to move the ICD pins off of PORTB but the are connected only to 32.768KHz crystal oscillator AND ARE NOT CONNECTED to the P73_SOSCI_E and P74_SOSCO_E pins on the Explorer 16/32 board.
 
To use these pins as the ICD interface you will loose the SOSC crystal oscillator function and will need to add and remove parts from your Explorer 16/32 board.
 
So bottom line is that it's possible to have what you asked for but you will need to trade functionality to get it.
post edited by dan1138 - 2020/08/05 18:03:18
#4
Jump to:
© 2020 APG vNext Commercial Version 4.5