Home  |  Contents 

Microcontroller and PC projects
  Forum Index : Microcontroller and PC projects         Section
Subject Topic: MM programmer/debugger 1A... Post ReplyPost New Topic
<< Prev Page of 5 Next >>
Author
Message << Prev Topic | Next Topic >>
Grogster
Guru
Guru
Avatar

Joined: 31 December 2012
Location: New Zealand
Online Status: Offline
Posts: 5810
Posted: 12 June 2018 at 8:55am | IP Logged Quote Grogster

Updated version 1B2 with standard 5-pin 2.54mm ICSP holes for easy programming of the 1455 and a couple of other minor layout tweaks.







Shown with a PicKit-3 as a size comparison.

__________________
Smoke makes things work. When the smoke gets out, it stops!


Back to Top View Grogster's Profile Search for other posts by Grogster Visit Grogster's Homepage
 
bigmik
Guru
Guru
Avatar

Joined: 20 June 2011
Location: Australia
Online Status: Offline
Posts: 2060
Posted: 12 June 2018 at 9:36am | IP Logged Quote bigmik

GDay Grogs,

This looks interesting.. but you have me a bit confused as to how it plugs into a standard 6 pin SIL header?

The pinouts do not seem to lend itself for that and look like they require jumper wires to connect to your device

Regards,

Mick

__________________
Mick's uMite Stuff can be found HERE

Back to Top View bigmik's Profile Search for other posts by bigmik
 
Grogster
Guru
Guru
Avatar

Joined: 31 December 2012
Location: New Zealand
Online Status: Offline
Posts: 5810
Posted: 12 June 2018 at 9:52am | IP Logged Quote Grogster

It doesn't.

The ICSP 5-pin is there just so you can program the 1455 using a PK3.(ignore pin 6)
Once programmed, you don't use the PK3 anymore, you use the little board as a MM programmer and debugger unit. The 2x4 female header at the left end in the photos, contains all the connections for ICSP and also the console, so you can program new MM chips AND have the console connected all at the same time.

I got sick of swapping wires around between a PK3 and a serial module for the console, so built this thing which does both at the same time thanks to the 1455's ability to do both.

I have now started using a 4x2 pin-header on all my projects. It is reasonably small, and gives me the ICSP and the console in the one pinout.

EDIT: Here is a photo of how it plugs into a board:





With the ONE connection, I press the SELECT button on the little programmer/debugger thing, program in the MM HEX file. Once that is done, the programmer drops back to serial port mode, and I open a COM port to it - all without having to change anything or move any wires.

Edited by Grogster on 12 June 2018 at 9:57am


__________________
Smoke makes things work. When the smoke gets out, it stops!
Back to Top View Grogster's Profile Search for other posts by Grogster Visit Grogster's Homepage
 
CircuitGizmos
Guru
Guru
Avatar

Joined: 08 September 2011
Location: United States
Online Status: Offline
Posts: 1012
Posted: 12 June 2018 at 12:35pm | IP Logged Quote CircuitGizmos

If it were a 5x2 header then one side could be the standard ICSP lines, the other side would be the console com port lines. People with the standard 1x6 header could still make use of your board.

RST .
VCC RST
GND RxD
PGD GND
PGC TxD
(NC)

A 2x5 on your board and the target gets you everything. Same with a 2x4 shifted down.

1 1x6 (really 1x5) on your board works with old boards that have 1x6 ICSP.

The console com port can be used with a 1x3 header.



Edited by CircuitGizmos on 12 June 2018 at 12:37pm


__________________
Micromites and Maximites! - Beginning Maximite
Back to Top View CircuitGizmos's Profile Search for other posts by CircuitGizmos Visit CircuitGizmos's Homepage
 
Grogster
Guru
Guru
Avatar

Joined: 31 December 2012
Location: New Zealand
Online Status: Offline
Posts: 5810
Posted: 12 June 2018 at 12:46pm | IP Logged Quote Grogster

I did that kind of idea in version 1A of the PCB, but it was ugly and I ended up with wires coming off the pins on the top of the board. Did not like it.





I hear what you are saying though. Perhaps a version 1C along the lines you mention.......

__________________
Smoke makes things work. When the smoke gets out, it stops!
Back to Top View Grogster's Profile Search for other posts by Grogster Visit Grogster's Homepage
 
CircuitGizmos
Guru
Guru
Avatar

Joined: 08 September 2011
Location: United States
Online Status: Offline
Posts: 1012
Posted: 12 June 2018 at 12:57pm | IP Logged Quote CircuitGizmos

Now would be the time to change before the other layout propagates onto other target boards.

I will admit that I used your 2x4 layout on a board (even though I don't have your programmer) and it was nice to leave the programmer /slash/ com port USB board in place.

The layout I suggest gives backward compatibility for those many boards with the 1x6 (1x5) standard ICSP, yet you can center a 2x4 and get the Grogster benefits.

It makes your board and the one I made obsolete...

__________________
Micromites and Maximites! - Beginning Maximite
Back to Top View CircuitGizmos's Profile Search for other posts by CircuitGizmos Visit CircuitGizmos's Homepage
 
CircuitGizmos
Guru
Guru
Avatar

Joined: 08 September 2011
Location: United States
Online Status: Offline
Posts: 1012
Posted: 12 June 2018 at 1:01pm | IP Logged Quote CircuitGizmos

Perhaps this would be ever so slightly better? Or allow for vcc to be 3V (normal) or 5V with a jumper?

RST 5V
VCC RST
GND RxD
PGD GND
PGC TxD

1x5 gets you standard ICSP.

RST
VCC
GND
PGD
PGC

2x4 gets you GrogPort 2.0. Different pin arrangement from GrogPort 1.0.

VCC RST
GND RxD
PGD GND
PGC TxD



Edited by CircuitGizmos on 12 June 2018 at 1:02pm


__________________
Micromites and Maximites! - Beginning Maximite
Back to Top View CircuitGizmos's Profile Search for other posts by CircuitGizmos Visit CircuitGizmos's Homepage
 
CircuitGizmos
Guru
Guru
Avatar

Joined: 08 September 2011
Location: United States
Online Status: Offline
Posts: 1012
Posted: 12 June 2018 at 1:05pm | IP Logged Quote CircuitGizmos

Vcc selection via 1 1x3 header.

5V
Vcc (to ICSP)
3V

Jumper on pin 1 and 2, Vcc is 5V
Jumper on pin 2 and 3, Vcc is 3V
No jumper, target board is powered by itself.

__________________
Micromites and Maximites! - Beginning Maximite
Back to Top View CircuitGizmos's Profile Search for other posts by CircuitGizmos Visit CircuitGizmos's Homepage
 
Grogster
Guru
Guru
Avatar

Joined: 31 December 2012
Location: New Zealand
Online Status: Offline
Posts: 5810
Posted: 12 June 2018 at 1:33pm | IP Logged Quote Grogster

I like the way you think, CG. As soon as I read your first post on this, it made me think, and I have rustled up a preliminary 1C:







This uses a 6x2(assuming you can get such a thing), and has standard ICSP on one side, and console on the other. Console side has 3v3, 5v and ground connections so you can tap into the USB 5v, or the 1703 regulator's 3v3 output.

EDIT: Of course you can get 6x2's.....

Edited by Grogster on 12 June 2018 at 1:39pm


__________________
Smoke makes things work. When the smoke gets out, it stops!
Back to Top View Grogster's Profile Search for other posts by Grogster Visit Grogster's Homepage
 
erbp
Regular Member
Regular Member


Joined: 03 May 2016
Location: Australia
Online Status: Offline
Posts: 51
Posted: 12 June 2018 at 5:44pm | IP Logged Quote erbp

+1 for the 1C version, especially the pin arrangement.

If I had one of these I would block off the GND pin socket hole next to the 3v3 pin on the Console side of the board. Then for any boards / devices that I wanted to be able to use this with I would remove the corresponding pin on the 2 x 6 male connector - presto, you can only plug it in one way and you still have all signals and voltages available. Brilliant!!
Back to Top View erbp's Profile Search for other posts by erbp
 
Azure
Senior Member
Senior Member
Avatar

Joined: 09 November 2017
Location: Australia
Online Status: Offline
Posts: 285
Posted: 12 June 2018 at 6:22pm | IP Logged Quote Azure

Putting in a key pin (blocking a socket pin and removing a header pin) is a great suggestion to stop accidentally connecting it the wrong way around.
Back to Top View Azure's Profile Search for other posts by Azure
 
Grogster
Guru
Guru
Avatar

Joined: 31 December 2012
Location: New Zealand
Online Status: Offline
Posts: 5810
Posted: 12 June 2018 at 6:25pm | IP Logged Quote Grogster

Sounds good to me. Any other suggestions? I will order sometime this week.

__________________
Smoke makes things work. When the smoke gets out, it stops!
Back to Top View Grogster's Profile Search for other posts by Grogster Visit Grogster's Homepage
 


<< Prev Page of 5 Next >>
In the news...
 
Post ReplyPost New Topic
Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.8
Copyright ©2001-2004 Web Wiz Guide

This page was generated in 0.1094 seconds.
Privacy Policy     Process times : 0, 0.02, 0, 0.09