Support Forum (EN/FR)

Velleman Projects
It is currently Wed Jul 30, 2014 7:13 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri Jan 16, 2009 2:37 pm 
Offline
Member
Member

Joined: Fri Jan 16, 2009 2:09 pm
Posts: 5
Hi. I just completed building the K8048 kit. The assembly looks good, all parts in their places, voltages are good., but I get a "K8048 Not Found" message or "Failed to Initialize" when I run the program and try to "talk" to the board. I have a good connection with the RS232 cable- after a little board trimming- and am using Com2. The serial cable works fine for my Basic Stamp programmer. I'm using a PC running Windows XP. (com ports are automatically configured). I have done several electronics projects, but this is my first PIC project-ever. Any help will be appreciated! Thanks! :|


Top
 Profile  
 
PostPosted: Sat Jan 17, 2009 5:06 pm 
Offline
Member
Member

Joined: Fri Jan 16, 2009 2:09 pm
Posts: 5
Update: I found I was getting no signal from the 4Mhz crystal oscillator on the K8048 board. Something is loading it down. I got a good clock signal when I tried the same PIC chip in another board that used a canned oscillator (4-pin device) for the clock. I will first try different values for the crystal bypass caps- 22 or 33pF -and see if it runs. If that doesn't work I will try adapting the K8045 board to use the canned oscillator and see what happens.


Top
 Profile  
 
PostPosted: Sun Feb 01, 2009 8:58 pm 
Offline
Member
Member

Joined: Fri Jan 16, 2009 2:09 pm
Posts: 5
:) In case anyone else actually reads these, this may be helpful.
I finally got my K8048 going by replacing the 4MHz crystal and 18pF caps with a 4 MHz "canned" oscillator (4.000MHz ESC-100AC) I got it from DigiKey, but there are other sources.
The oscillator has four pins, but only three are needed. Pin 4 is Vcc, Pin 2 is ground and Pin 3 is the clock output that connects to Pin 16 of the PICs. Pin 1 of the oscillator is not connected.
Pin 15 of the PIC can be left unconnected. (This is how the canned oscillator is used on a PIC Demo board I have).
Carefully remove the crystal and two caps. The oscillator device can be "dead bugged" onto the board where the crystal and bypass caps used to live. I used double-sided mounting tape to secure the oscillator to the board, and connected it using #30 wire-wrap wire.
I also found that I needed the correct 9-pin serial cable. One of the cables I used caused the "K8048 not found on Com 2" message. I found that pins 1, 6, 8 and 9 did not connect through from end-to-end.
Fortunately, I had another cable that worked- all 9 pins go through. Now to learn about programming...
Hope this helps! Dave.


Top
 Profile  
 
PostPosted: Tue Mar 10, 2009 1:37 am 
Offline
Member
Member

Joined: Mon Mar 09, 2009 6:48 pm
Posts: 28
Hi I'm getting a 'COM-Init-Error' message.

Is that the same as what you had?


Top
 Profile  
 
PostPosted: Tue Mar 10, 2009 3:59 pm 
Offline
Member
Member

Joined: Fri Jan 16, 2009 2:09 pm
Posts: 5
I was getting a "K8048 Not Found" error the first time I tried running the board. That was caused by an old cable that did not have all 9 contacts connected through. 4 contacts were open. A fully connected RS232 cable solved that. The "Com-Init" error may be cable related, though I can only guess. Sorry.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group