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 : Virgin Maximite
Page 2 of 2 | |||||
Author | Message | ||||
Keith @ Senior Member Joined: 19/06/2011 Location: AustraliaPosts: 167 |
Sorry Talbit you got me reminiscing ... about at a world away from Maximite. I recall there has been a far bit of discussion on this forum previously about similar boot issues but you'll have to pick your way through it. Go to the very top of the BackShed web page and click on search and put "pickit3" in the search field. Geoff G posted some advice in a previous post(s) and this should get you in the area if it is related to versions for MPlab and C++ etc I trust you have covered all the avenues for the low ESR tantalum but do a similar search for that as well. Keith The more we know, the more we know we don't know ! |
||||
Talbit Senior Member Joined: 07/06/2011 Location: AustraliaPosts: 210 |
Got it !!! I knew I had to be doing something wrong with the Pickit3. Thanks Keith for insisting I go and do some more searching on the Pickit3. I found this from Geoff a little while back... Location: Australia Online Status: Online Posts: 189 Posted: 16 June 2011 at 9:07am | IP Logged Report Post Quote Geoffg Hi Stuart, 300mV sounds low - I cannot remember what I normally see but I think that it should be at least a volt or two. Can anyone with an oscilloscope check theirs and tell Stuart? Detailed programming sequence: 1. Start MPLAB. 2. Make sure no other project/workspace is open by selecting File -> Close Workspace from the toolbar. 3. Select the target device by selecting Configure -> Select Device. 4. Open the Configuration Bits dialog by selecting Configure -> Configuration Bits from the toolbar. Make sure the checkbox labelled 'Configuration bits set in code' is SET. 5. Select the programmer and enable it. 6. Import the HEX file by selecting File -> Import. Importing the hex BEFORE selecting the programmer or target device will cause the HEX file to be cleared from memory, so it is important to do it in the order shown here. 7. Program the device. I didn't Import the hex file at point 6. Instead, I added the hex file to my project Project Add files to Project which won't do the right thing. I knew I had it when the programmer took longer to do the programming. The drama about the extra caps etc might have been a red herring, in my case at least. Yippee. Well at least I got one going. Now for the other two!!! Regards Talbit Talbit |
||||
Talbit Senior Member Joined: 07/06/2011 Location: AustraliaPosts: 210 |
Yep, the other two fire up as well. Thanks for all the input from forum members. I didn't think my soldering was the culprit!!! I'm going to suggest to Geoff he add this programming routine to his web site. Talbit Talbit |
||||
aargee Senior Member Joined: 21/08/2008 Location: AustraliaPosts: 255 |
<Edit- I had typed this up ready to go but not posted, so I posted it anyway for others to read. I've never done the Configuration bits step from the previous post, but if Geoff says to check, then do it. Glad to see you got it sorted Talbit!! > Talbit, These are the steps and outcomes I went through: Build board, hoping like hell the 64 pins are all soldered. Run the MPLab software. Tell it I'm using the Pickit 3 as the programmer and also tell it that I'm programming 32MX795 range of PIC chips - this is important so the programmer can setup the correct parameters. MPLab then actually reprograms the Pickit 3 device to interface with the 32MX795. MPLab complains that it can't see a valid PIC. Connect ICSP programming connector from Maximite to Pickit. Power up the Maximite with an external power supply. MPLab now identifies the PIC. 'Import' the Maximite hex file unti MPLab. Program the PIC in the Maximite, it will also do a verify. At this point MPLab is happy that the PIC has actually taken the code you have fed it (hence the verify). Now the fun and games start, power down and power up the Naximite. MPLab should now lose sight of the MM on the Pickit and the MM power light should come on. Plug the USB cable in from the MM to your PC (use the Pickit cable), the MM should be running and you will need the Silicon Chip USB driver. If you haven't already loaded the SC USB serial driver, Windows will try and do it now. This should be your first sign that the MM is running with the MM firmware. Run Teraterm to test the MM. OR try - check/play around with the capacitor issue as per post above. Trying to measure the 8MHz signal on the crystal is not always the best thing to do as the probing may cause it to stop. If desperate, and you have a fine hand, use a meter on the diode setting to check continuity between each actual pin and the PCB land it is soldered to. I've done this with success although this shouldn't be a problem as you have several boards with the same issue. - Rob. For crying out loud, all I wanted to do was flash this blasted LED. |
||||
Keith @ Senior Member Joined: 19/06/2011 Location: AustraliaPosts: 167 |
Talbit I agree that this type of information ideally needs to be stored under the Dewey Decimal system or some other similar methodical system. Geoff I think has chosen this forum to be the source for ad-hoc info on the Maximite but he may wish to include the pickit info in the release notes. What about the rest of the valuable info on this forum .... we're not out of the woods yet! So the reason there is a search tool is to bring the jumble of information together depending on the subject/topic of your search. Keith The more we know, the more we know we don't know ! |
||||
crackerjack Senior Member Joined: 11/07/2011 Location: AustraliaPosts: 164 |
Maybe we need a Wiki of sorts? But who has the time, dedication, know-how and desire to maintain it? |
||||
elproducts Senior Member Joined: 19/06/2011 Location: United StatesPosts: 282 |
You can have the PICkit 3 power the board during programming rather than external power. In MPLAB under menu Programmer>Settings there is a Tab for Power. Select it and then check the box to power target from PICkit 3. The PICkit 3 will then find the target board. www.elproducts.com |
||||
Talbit Senior Member Joined: 07/06/2011 Location: AustraliaPosts: 210 |
Thanks gents, The search for "Pickit3" did the trick although I had done a search before for MPLAB, which didn’t really help. But the Pickit3 search still gave me lots to wade through to find the info - but alas, I was not going to be beaten! I was fiddling with the damn thing all weekend when I should have been doing other things. Interestingly, MPLAB still “Programmed” the chip and “Verified” it even though it wasn’t programming anything into the chip. All running now on 2.1 so I'll load in 2.7 tonight. That won't be a problem because Geoff has given the method in his release notes, designed especially for dummy’s like me. I’ve updated my Altronics MM several times without a hitch. I emailed him and suggested he might do a write up and place it on his site. The release notes might be a better place as you suggested. Thanks again. Talbit Talbit |
||||
cmichaelcouch Newbie Joined: 23/10/2011 Location: United StatesPosts: 16 |
I've started a maximite yahoo group where there is a files section and photos section and link section. Not much there yet. http://tech.groups.yahoo.com/group/Maximite-MMBasic/?yguid=2 15646851 The email address is Maximite-MMBasic@yahoogroups.com |
||||
Talbit Senior Member Joined: 07/06/2011 Location: AustraliaPosts: 210 |
Oh No !!! Not another Forum !!! Thanks for doing it though. Talbit Talbit |
||||
vasi Guru Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
Some may prefer the email system, though nowhere is like on a real forum. Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
Talbit Senior Member Joined: 07/06/2011 Location: AustraliaPosts: 210 |
Geoff has now placed a run-down on how to program the virgin chip on his site. He has included it in the Construction Packs Thanks Geoff Talbit Talbit |
||||
Page 2 of 2 |
Print this page |