tks
|
posted on 21/3/06 at 01:07 PM |
|
|
The
self programming software is cald bootloader.
It makes sense in that way that program time will depend on Program size and not anymore on chip size.
The normal programmers programm every register the chip has...sow if it has 8K then your normal program will program 8K
Wich will be +/- 20 sec. with my programmer.
If you use a Serial Bootloader it will programm the programm for you in many less time because it only programs your program and doesn't write
to the not used size.
I recommend makeing a RS-232 board for debugging and a bootloader for quick program test...
in that way one line of code change doesn't mean 20secs doing nothing!
also you have the advantage that you can let your chip stay on your board...
If any one wants pics i will make some and post them...
Debuggin is usefull for example when you want to know if the pic realy calculates whit the values you wanted..then you just order it to send the data
to the serial port.
again, i would search for a basic compiler since basic is the easy language arround
and it works very well!
Pics with assembly are to complex for beginners.... even if it only are only about 60instructions...
You will need to learn allot
- Basic Pic Boards layouts
- How to use the programmer
- How to read the data sheet..
Also if you use assembly you will need to now allot about timeing (for Communication with pc etc..)
TKs
The above comments are always meant to be from the above persons perspective.
|
|
|
NS Dev
|
posted on 21/3/06 at 03:19 PM |
|
|
quote: Originally posted by MikeR
I'm starting to think do it yourself again (yeah i do change my mind as often as as woman).
I'm saying nowt Mike!!!!!
On a more serious note, have a word with Chris (as in my housemate) as he is doing PIC stuff for his project (the eddy current crack detecting unit)
and has a programmer, pics, and god knows what else on my kitchen floor!!
Retro RWD is the way forward...........automotive fabrication, car restoration, sheetmetal work, engine conversion
retro car restoration and tuning
|
|
MikeR
|
posted on 21/3/06 at 06:09 PM |
|
|
Always said Chris was a fantastic bloke and undervalued by you - you should let him live there rent free (and you can tell him i said that!)
(spoke to custom chrome, 20 quid polished, 15 quid not for the link pipe i need! Sorted )
|
|
Rob Lane
|
posted on 21/3/06 at 06:30 PM |
|
|
Have a copy of a Basic Compiler here, I use it for fast proto boards for interfacing.
It's not copy protected
Could even save you some trouble as there are routines around here somewhere for the car.
In fact I think I posted about it a couple of years back. Try a search and there is a code segment for rev counter etc.
|
|
MikeR
|
posted on 21/3/06 at 06:33 PM |
|
|
hmm, remember you saying that a couple of years ago, i thought you lost all your code when the laptop it was on went belly up.
(if i've got that right, i'm not your stalker i just have a great memory for useless information)
|
|
Rob Lane
|
posted on 21/3/06 at 06:41 PM |
|
|
You're right Mike, I haven't got them on laptop but I did find them on a floppy.
The original thread was here Shift lights
There's code snippets there.
Just an offer, I'm playing Megaflirt nowadays, trying not to keep busting it!
|
|
Rob Lane
|
posted on 21/3/06 at 06:46 PM |
|
|
Incidently, Megaflirt puts out it's current runtime variables in response to an R character. They are 38 bytes long, easily read and deciphered
to a Pic with LCD display.
So every parameter is there. Water temp, revs, o2, battery volts etc etc.
Add a wheel sensor and there's speed hidden in current code. There's even a road dyno routine built in but commented out !
|
|
MikeR
|
posted on 21/3/06 at 06:50 PM |
|
|
i assume you mean mega squirt - why do you keep busting it? worrying me this!
I know you can get an output dash for them, did wonder what they'd do etc but not looked into it yet.
|
|
Rob Lane
|
posted on 21/3/06 at 10:22 PM |
|
|
Don't worry about me busting it, I'm doing something experimental so things like that are bound to happen.
Besides I get clumsy, like 12v on 5v line
'Megaflirt', my wifes name for it, as I spend more time with that than her.
It's ECU with ignition and most parameters available as an output.
Not everyone looks but in the code is buried experimental features that work but are not always apparent.
The speed output is known but left dormant unless you fit a wheel sensor. Then it comes into its own for traction control, launch control, speedo
output and a nifty extrapolated dyno for bhp.
I like experimenting with the Megatune on the laptop. Eric who wrote it has put an awful lot of work into it.
There are many features in that as well. I currently have it set up with the guages same colours as in my car and customised the outputs and limits.
|
|