• AVR Freaks

Hot!could I use the PIC24FJ256GB110 as on-board programmer/debugger IC ?

Author
Mustang1945
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2015/10/15 15:13:05
  • Location: 0
  • Status: offline
2020/05/25 23:49:13 (permalink)
5 (1)

could I use the PIC24FJ256GB110 as on-board programmer/debugger IC ?

Hi, I am using the PIC32MZ EF Starter Kit and I would like to design a PCB based on that board, I can see that it uses a PIC24FJ256GB110 IC to program and debug the PIC32MZ, so how could I use correctly this IC to make it work in the same way on my own PCB? is there any kind of firmware available to burn the PIC24FJ256GB110 to be used as on-board programmer/debugger IC or do I need an external programmer/debugger?
 
thanks
#1
Aussie Susan
Super Member
  • Total Posts : 3724
  • Reward points : 0
  • Joined: 2008/08/18 22:20:40
  • Location: Melbourne, Australia
  • Status: offline
Re: could I use the PIC24FJ256GB110 as on-board programmer/debugger IC ? 2020/05/26 19:57:14 (permalink)
0
Programmer/debuggers such as the PicKit3 use various Microchip MCUs to do the programming and interactions with the debugging functions of the IDE and the debugging kernel code so there is no technical reason you can't do the same.
Perhaps using a PIC24 device (of any sort) is a bit of an overkill but, gain, it should work.
The programming protocol is certainly published and the debugging protocol (for use with the debugging kernel used by Microchip) may well be published; ditto the protocol used to communicate between the IDE and the PicKit.
I think I've seen the code for the PicKit2 somewhere as well.
If you can find the appropriate code for whatever chip you want to use then go for it. If not then you can always try to write your own code (given the protocols mentioned above).
I know that there is code for a bootloader generated by MCC for whatever the target MCU is but bootloaders generally don't do debugging (well, if at all).
Check around the internet and you may find useful information. Others here may help you further.
Susan
#2
NorthGuy
Super Member
  • Total Posts : 6173
  • Reward points : 0
  • Joined: 2014/02/23 14:23:23
  • Location: Northern Canada
  • Status: offline
Re: could I use the PIC24FJ256GB110 as on-board programmer/debugger IC ? 2020/05/26 22:02:20 (permalink)
4.67 (3)
We sell pre-programmed PIC16F1454 chips which can program nearly any PIC (including PIC32 MZ) efficiently:
 
https://www.northernsoftware.com/nsdsp/brd/
 
The debugging capabilities are there too, however the debugging software is not ready yet.
 
 
#3
NKurzman
A Guy on the Net
  • Total Posts : 18782
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: could I use the PIC24FJ256GB110 as on-board programmer/debugger IC ? 2020/05/26 23:34:47 (permalink)
0
The SNAP programmer is cheap enough.
But if you plan to put a lot of code Into a pic32MZ it will be slow and Debug it will be slow too.
I am not sure what your reason is to have the debugger on board is, but microchip is not selling the preprogrammed chips. Reverse engineering it may be a bit of a challenge.
And yes you would need an external programmer to program that chip assuming you had code for it.
#4
Jump to:
© 2020 APG vNext Commercial Version 4.5