![]() |
Forum Index : Microcontroller and PC projects : Explore 64 Woops
Author | Message | ||||
davematt Regular Member ![]() Joined: 27/09/2011 Location: AustraliaPosts: 55 |
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: AustraliaPosts: 1000 |
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 ZealandPosts: 9588 |
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: AustraliaPosts: 1114 |
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: AustraliaPosts: 55 |
@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 ZealandPosts: 2428 |
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: AustraliaPosts: 55 |
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 ZealandPosts: 2428 |
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 :-) |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |