![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) | |
|
Hi,
I'm new to PIC programming, but not to general programming. (Mainly Visual Basic, C, C++ and PHP) I've been programming the PICs in ASM basically because it's a new thing and I like to learn new stuff. I have a Velleman K8048 programmer and a PIC16F627 which I started off with, that all went fine and I had that interfaced with an LCD as my first project. I was able to program that fine, through ICSP on a breadboard. I then bought a PIC18F452. For this I decided to make a bootloader. After making a program, I tried to program it but the programmer software which comes with the K8048 but this software only supports the PIC16F series. I then googled (A lot) for a compatiable programmer and the only one I found to do what I wanted was WinPic. I installed WinPic and set it up to use: * SMPORT * Custom interface on COM port * The pre-made "velleman_k8048.ini" custom interface file * COM2 When I press Initialize, in the messages box I get: Quote:
The Read/Write light is connected to the VPP line. There is a circuit diagram for the K8048 here. Just as a note, I'm using a USB -> Serial adapter. The programmer is a virtual COM port. I'm also running Windows Vista x32 (Business). I have however tried a normal COM port with the same effect. I have ordered an ICD2 Clone from eBay, but it will take a while to arrive. I really want to continue practicing while I wait for the new programmer to arrive. Any ideas ? Thanks, -Andrew. Last edited by yngndrw; 24th July 2007 at 12:55 AM. |
||
|
|
|
|
|
(permalink) |
|
Nobody have any ideas ?
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
Stop futzing with the Velleman and wait for the ICD2 to show up. Because you have an ICD2 on order the Velleman is not worth the effort. You can play with the PIC16F627 till it shows.
__________________
search engine for electronic partsJunebug USB PIC programmer kit., USB Bit Wacker, 3v0's Homepage The 15 Minute Printed Circuit Board! (+drill time) |
||
|
|
|
|
|
(permalink) |
|
Well I just really want to learn why - I mean we learn from our mistakes and I want to know what I've done wrong.
The Velleman is just the same as a simple Serial programmer so I don't see why it wouldn't. I am using the PGD and PGC pins as outputs through 10K resistors, could that be why ? Also the PIC16F627 cannot write to it's Flash so I can't play with my bootloader. Thanks anyhow. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
"I then bought a PIC18F452. For this I decided to make a bootloader..." Why are you making a bootloader while there are bootloaders available, like e.g. TinyBootloader? I use it with 18F252. Works great and source is available... Kind regards, Jack. |
||
|
|
|
|
|
(permalink) |
|
Because it's to help me learn about them. That and it's easier to create an x86 program which works with my own protocols.
Also lets me learn about the .hex files that the assembler creates. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| First Program in assembly, And Programmer Inchworm. | Ayne | Micro Controllers | 10 | 9th March 2007 07:26 PM |
| program for writing and testing circuits | luca-deltodesco | General Electronics Chat | 3 | 13th August 2006 10:17 AM |
| little help with my program please - simple count loop | kud0s | Micro Controllers | 5 | 7th July 2005 09:40 PM |
| Pins availables to program PIC18F452 | ZERS | Micro Controllers | 6 | 17th January 2005 07:52 AM |
| PicBasic Keypad program | Sora | Micro Controllers | 0 | 20th April 2004 07:01 PM |