Trying to program a PIC18F452 in circuit - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 13th August 2006, 11:32 AM   #1
diyAudio Member
 
12 Cents's Avatar
 
Join Date: Nov 2004
Default Trying to program a PIC18F452 in circuit

Hello,

lately I have started to put together a PGA2310 based Preamp as discussed some time ago in this thread: New Digital Pre-Amp . The designer's website is here where board layouts and schematics can be found also.

I have problems programming the 18F452 I use in the main board circuit. I built the PPWIN parallel port programmer as shown here .

For programming I use IC-Prog. Now when I test the two LEDs using IC-Prog everything works, the hardware settings are as described on the PPWIN website, but when I connect the PIC using the ICSP header on the PPWIN board I cant program the PIC, everytime it breaks with "Programming failed at adress 000000h".

Maybe some points:
1) When testing Vcc with the PIC connected, it is switching off slower, clearly the 10F on the PGA2310 main board gets charged by the programmer, is this a problem?
2) When powered off, all pins of the ICSP header on the programmer are isolated, but with power on (12.5V, 78L12 regulator of the programmer bridged), the pins GND, RB6 and RB7 measure a short and seem connected, maybe the 7406 is broken or what?

Has someone built this preamp and managed to bring the code up with ICSP?

Thanks & kind regards,
Lukas
Attached Images
File Type: jpg pre_pga_main.jpg (82.6 KB, 119 views)
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cdpro2 using pic18f452 for control BrianGT Digital Source 59 16th October 2008 07:19 AM
PCB program seroxatmad Parts 4 8th February 2007 04:28 PM
Micro-Cap Electronic Analog/Digital Circuit Analysis Program Franklin Swap Meet 0 24th June 2004 07:18 AM
need a program .. boris333 Digital Source 3 19th June 2004 03:14 AM
a program to made PCB's jackorlando11 Parts 5 29th May 2003 10:14 PM


New To Site? Need Help?

All times are GMT. The time now is 11:11 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2