Home > Pickit 2 > Pickit 2 Error 0028

Pickit 2 Error 0028

If not, they will be floating (use a light pullup on one bit to be sure). I'm using a 12M, I changed the Fosc1/0 setting from 01(XT) to 10(HS). I thought I'd be able to sit down and write out "my first ASM program" but I haven't got past flashing the status LED because I can't debug. The A/D also includes a programmable acquisition timer so it's really easy to use. Check This Out

Either way the thing to do is put the 4620 into a socket on its own with just the 5 conenctions to it from the PK2. You should be able to step the code from the MPLAB toolbar. edeca, Mar 8, 2009 #2 blueroomelectronics Well-Known Member Joined: Jan 21, 2007 Messages: 12,536 Likes: 168 Location: Toronto, Canada Remove _MCLR_ON & _PWRTE_ON & _DEBUG_ON Bill blueroomelectronics, Mar 8, 2009 Did Bard ride the cart in the novel? http://www.microchip.com/forums/m412728.aspx

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. There is no need to have PGM connected for normal high voltage programming using the MCLR pin. #2 Like Reply nnxen likes this. Suggested Actions: Common reasons for this error: 1. Donc j'ai connecté le pickit2 en parrallele avec l'alimentation externe (VDD et VSS), le VPP tout seul, MPLAB en mode debug, Debug_on dans la directive _config et "Use target Power always"

En lĂ­nea migsantiago Colaborador DsPIC33 Mensajes: 8257 Re: PK2Error0028 en el 18F2550 « Respuesta #6 en: 12 de Mayo de 2010, 14:35:28 » Talvez ya lo hayas leĂ­do del manual del Il suffit d'achter une plaque ŕ trous et de mettre ton PIC dessus. The target board is not powered or is not powered properly. Shanghai ICP Recordal No.09049794 Resend activation?

IPC registers aren't updating on EP512MU814 Code malfunctions when declaring a 16bit-variable a day with X... SEO by vBSEO ©2011, Crawlability, Inc. --[[ ]]-- Log in or Sign up Electronics Forum (Circuits, Projects and Microcontrollers) Home Forums Electronics Forums Microcontrollers Welcome to our site! For example, PICkit2 Debug Express cannot set a breakpoint if the target application is currently running. http://www.electro-tech-online.com/threads/mplab-and-debug-mode-error-pk2error0028.90059/ Tools Groups Groups Quick Links Browse by category My groups Members Members Quick Links Notable Members Current Visitors Recent Activity New Profile Posts EE Videos Menu Log in or Sign up

I'll bug it at Microchip if I can find the right place. I have also tried powering from the Junebug rather than external power. See Section 4.3 Installing the Hardware and Software. 5. Browse other questions tagged microcontroller pic mplab pickit or ask your own question.

For PIC24 and dsPIC? http://electronics.stackexchange.com/questions/172328/run-a-program-on-a-pickit-2-chip I'll target my application at the 18F1320 and perhaps try another project on the 16F88 later. So be sure the correct OSC setting is selected in the config bits. kyru27, May 5, 2012 #1 Wp100 Active Member Joined: Feb 3, 2009 Messages: 874 Likes: 38 Location: England Hi, The PK2 and 4520/4620 debug in circuit with no problems, have it

All rights reserved. his comment is here Hi, It shows the way the Pk2 should be connected to Pic in ciruit, the chip shown was just an example. Backround scanning of projects in MPLAB IDE 12F1840 sleep current [SOLVED] MCP4011 DigiPot output terminals not referenced to IC VSS SST25 driver problems itead NEXTION display Active Posts TCPIP/UDP stops When PICkit 2 was selected as debugging tool and re-compile the same project, it will make error 0028 --- cannot enter debug mode.

Last edited: May 6, 2012 "I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation Check the Configuration bits and ensure the device has a working oscillator. 3. Pues no se algo tiene que ser porque he puesto un micro nuevo y sigue sin funcionar haga lo que haga En fin seguiré investigando. http://exactcomputerrepair.com/pickit-2/pickit-2-vdd-error.html Something like this: #include void init_io() { // init timer(s) here // init an I/O pint for output here } int main() { init_io(); while (1) { // set i/O

Ce qui fait qu'en gros il ne reste que DAT et CLK connecté sur mon PICKIT. Stay logged in Electronics Forum (Circuits, Projects and Microcontrollers) Home Forums Electronics Forums Microcontrollers Electo Tech Online Electronic Circuits and Projects Forum Forums Forums Quick Links Recent Posts Articles Articles Quick En lĂ­nea Me encanta el olor a microcontrolador por la mañana!

Bill blueroomelectronics, Mar 9, 2009 #16 edeca Active Member Joined: Apr 8, 2008 Messages: 589 Likes: 38 Location: England Bill, a quick look at the Junebug circuit suggests the two 4.7K

DSC devices, the incorrect PGXn/EMUXn port is selected in the ěComm Channel Select? but when I want to use PICKIT2 first time worked, but after some time, without changes I got a error like PK2Error0028..... 3.- Tested one program in debugger with ICD2 and Last edited: Aug 5, 2013 #7 Like Reply nnxen likes this. Board index The team • Delete all board cookies • All times are UTC - 7 hours Powered by phpBB Forum Software © phpBB Group TODOPIC Bienvenido(a), Visitante.

If you use C compilor, please make sure you do select the Link Option for "In circuit Debug"; e.g. To participate you need to register. Disable WDT post edited by FunnyNYPD - 2009/03/25 15:57:53 Funny N., Au Group Electronics, www.AuElectronics.com On-line Store: http://auelectronics.com/products/ Blog: http://augroups.blogspot.com/ Forum: http://auelectronics.com/forum/ #11 FunnyNYPD Super Member Total Posts : 1553 Reward navigate here All test are written in Assembly language at MPLAB V8.20.

I still get the error sporadically. Mon cablage est le suivant: DAT -> PGD pin 28 CLK -> PGD pin 27 VDD -> VDD pin 20 VSS -> VSS pin 8 VPP -> VPP pin 1 Lorsque The oscillator must be running for the part to enter debug mode, and oscillator problems are a very common cause of failure to enter debug mode. Vss has good ground.

Check the PICkit2 connections to the target board.8.The incorrect Linker Script was used. Powered by vBulletinCopyright © 2016 vBulletin Solutions, Inc. The PICkit 2 VDD output pin has not been connected to the target board. After spending all that time on it, it would be nice to know exactly what the real issue is.

Jose 28th December 2007,18:13 12th July 2011,16:58 #4 min2max Full Member level 1 Join Date Jul 2011 Location China Posts 104 Helped 7 / 7 Points 706 Level 5 Dismiss Notice Problems with debugging of Pickit 2 Discussion in 'Microcontrollers' started by kyru27, May 5, 2012. For the 4620 Mclre is pin1, PGD is pin40 RB7 and PGC is pin RB6. Shh!

Aug 6, 2013 #8 nnxen Thread Starter New Member Dec 22, 2012 10 0 Thats awesome, Thanks John! Does that help? Par exemple "Use target Power always" ou "Set Vdd voltage to". Aug 5, 2013 #3 JohnInTX Moderator Jun 26, 2012 2,342 1,024 ADCON1 should be 0x0f. 0x07 leaves RA0 an analog input.