Well even if it weren't a bootloader, it seems like it could have value as an interface. Yet anoyher way to talk to the animals.
Well even if it weren't a bootloader, it seems like it could have value as an interface. Yet anoyher way to talk to the animals.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Just a thought.
Have a PIC receive data from the PC serially and squirt the same data out I2C ???
That would be too easy.
Dave
Always wear safety glasses while programming.
I soldered all the smt parts on my card, uP,3311,12 volt driver, and LED's. and of course the ICSP header. Wrote a quik ASM to just turn the LED's on and off and LED's all work! This is a major milestone for me, this is my first dive into SMT.
Next up on the list, do the same thing using PBP. Of coursethis means figuring out how to pull everything together, IDE, compiling and of course setup stuff for the chip. WOW what an exciting new road I am traveling on today!!
Of course I have to post this kind of thing here, cuz you guys are the only folks I know that can appreciate these small feats.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
I know what you mean.Of course I have to post this kind of thing here, cuz you guys are the only folks I know that can appreciate these small feats.
The first time I did a blinky with a PIC it was around the holidays. I called my wife over and excitedly showed her the LED turning on and off. She looks at it for a bit, walks over to the tree, plugs it in, waits for the lights to start blinking, turns to me and says, "SO". She then leaves the room.
Dave
Always wear safety glasses while programming.
more progress, but a little confusion.
Worked through all the issues of getting everything to work together. Compiled and programmed the blink program that pops up in the MCS program. Mind you I am using MPLAB. Well heres my confusion: with the pauses left at 500, it takes about 5 sec to blink. If I change it to 50, seems about 1/2 sec as the program says it should. Now there are no config,define's, or whatnot, Any thoughts on this?
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
What are you using for an oscillator? Type and speed.
The default configs in the PBP directory *.inc file has the OSC set for HS.
And PBP defaults to 4MHz.
If you have an external OSC add
DEFINE OSC x
x being speed.
Dave
Always wear safety glasses while programming.
I think I just found the problem. I left too much up for granted. Being new to this chip, I never dreamed it would default to a 500K clock!
BTW, I am running intosc (apperantly at 500K, not 4M like I assumed) So I will set osccon to be 4M and see what happens
EDIT: How fantastic life is when you tend to the little things. now works as it should. Off to do more fun stuff![]()
Last edited by cncmachineguy; - 20th November 2010 at 20:35.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Bookmarks