Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:49 05 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Explore 64 Woops

Author Message
davematt
Regular Member

Joined: 27/09/2011
Location: Australia
Posts: 55
Posted: 06:49pm 29 Nov 2016
Copy link to clipboard 
Print this post

Hi all, just finished my 3rd explore64 board, but can't load MM5.2Plus to any of them. Ascii programmer says incompatible cpu detected.
Have loaded c4, c5, c6, c7, c8, c9, r1. r2, and crystal. In other words the minimum (I think).
Have checked contiuity on all programming lines and power pins.
Have tried a couple of different c4, both of which worked on other MItes.
Checked soldering to the limit of my eyesight, and then some!
Hoping I've missed something...
TIA, David.
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1000
Posted: 08:37pm 29 Nov 2016
Copy link to clipboard 
Print this post

Hi David,

I have build a couple. My boards don't have the components marked, so not sure which components you have connected exactly, but can see some of the numbers in the SC pictures.


How are you getting the 3.3volts?
The 10ohm resistor is required to get AVdd connected.
Are R1 and R2 the 10K and 470ohm divider connected to MCLR?
What about the 22pF capacitors around the crystal.



Regards
Gerry




Latest F4 Latest H7 FotS
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9588
Posted: 09:39pm 29 Nov 2016
Copy link to clipboard 
Print this post

You don't mention C10, which is the 2nd crystal oscillator cap....

I don't think you NEED the crystal and 2x 22pF caps anyway, for the minimal programming - I don't need the crystal or caps to program the E100 boards for the kits(the PIC32 uses it's own internal resonator, so Geoff tells me). However, having added the crystal and ONE cap, you most certainly do need the 2nd cap to form the correct oscillator circuit.

R3 is required(10R for AVdd as Gerry mentions) or the chip will not respond.

...but once you have mounted that many bits, why not just fully assemble the module, then you can be sure it would program.....

I am guessing there is some reason I am not aware of that requires you to do a minimum setup?
Smoke makes things work. When the smoke gets out, it stops!
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1114
Posted: 10:34pm 29 Nov 2016
Copy link to clipboard 
Print this post

David,

I too had initial problems when trying to program via usb to serial module (cp2102).
Tried selecting a couple of different versions of 470 then changed over to usb and everything came good. Pickit3 used but can,t recall version of Mpipe.
As a suggestion, dont go mad changong components unless you are SHURE they are faulty. I have found Pickit3 and mpipe temporamental at the best oc timrs - persevere 😀😀😀😀😀

... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
davematt
Regular Member

Joined: 27/09/2011
Location: Australia
Posts: 55
Posted: 12:51am 30 Nov 2016
Copy link to clipboard 
Print this post

@Gerry, I bought blank boards from Grogs, and blank chips from Microchip. The boards have part numbers, as does Geoff's website. I just assume they match! As a further thought, could you measure the
power consumption of the bare board, as a check?
Will add r3, the 10 ohms, and test. Power is from the Pickit 3 clone or Rob's serial programmer, which I assume is OK? r1 and 2 are on MCLR.
@Grogs, woops, should have said I fitted c10, my bad. Minimal components I was hoping meant less mistakes. :)
@ Panky. Thanks for the encouragement, I have a built up board on the way from NZ, but having got this far I will try and persist.
Many thanks guys for your time, I know the board is good, it's just me...D
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 01:32am 30 Nov 2016
Copy link to clipboard 
Print this post

  davematt said  Ascii programmer says incompatible cpu detected


can you please post here a copy of the exact output as produced by pic32prog? ie, cut and paste from the command window.


cheers,
rob :-)
 
davematt
Regular Member

Joined: 27/09/2011
Location: Australia
Posts: 55
Posted: 10:28am 30 Nov 2016
Copy link to clipboard 
Print this post

Bingo!!! Further to the above, I can report that late last night I fitted R3 (power to AVdd) and board 1 sprang to life. Boards 2 and 3 are still resisting, but resoldering is on the menu.
@ Rob
Adapter: . OK1 OK2 - ascii ICSP v1E
incompatible CPU detected, IDCODE=dbf6ffff

No target found.
The idcode doesn't seem to be consistent, another try will usually give a different code. Also boards 2 and 3 use about 5ma, wheras board 1 takes 50.
Again my thanks to all, TBS ROCKS! David
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 11:38pm 30 Nov 2016
Copy link to clipboard 
Print this post

i'd certainly expect to see more than 5mA when programming the device. since you were able to program one it cetainly sounds like the problem is in the target board.

for programming to succeed you need to have connected:
EVERY ground pin
EVERY Vcc and AVcc pin
the pullup resistor between MCLR and Vcc
the capacitor connected to the Vcap pin
the two ICSP lines, PGD (data) and PGC (clock)

the crystal and associated components are not needed (or used) as the target processor runs off an internal oscillator during programming.

check carefully the abovementioned connections. in the past i've found it extremely convenient to drag the pointed end of a sewing needle across the pins of QFP devices with just a little pressure on the needle. you'll hear a 'ping, ping, ping' as the needle is dragged, with a DULL ping for any pin that is not soldered.


cheers,
rob :-)
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025