MPLAB IDE looks good
More progress with the dev enviornment.
I set up the MPLAB IDE specifically for the PIC18F4525.
Some template and linker files have been made for this chip which should come in handy. Also, discovered a friendly screen which will allow me to control the chips configuration without coding it into the assembly file until I'm ready to.
Wrote some sample code to send a changing value out an I/O port with delay, which finally assembled!
And the simulator isn't bad at all.
I'm really impressed with it's capabilities. You can walk through the program line by line as it will be executed and watch any register, it's address and it's value at that point in the program. There's also a stop watch which can measure instrction cycles and give you time to complete in microseconds based on a configurable clock speed.
I haven't burned the internal osciallator configuration onto the chip yet. I'm getting a little sucked into the IDE. But, hopefully tomorrow.
Also, I can't believe how expensive the compilers are for these chips. The demos I've tried out haven't worked with MPLAB or MicroCode Studio (another popular IDE). I'll hunt around and try some more installations tomorrow because the cheapest compiler I found was around 250$. So far I haven't wanted to use any C code, but that will probably change.
I set up the MPLAB IDE specifically for the PIC18F4525.
Some template and linker files have been made for this chip which should come in handy. Also, discovered a friendly screen which will allow me to control the chips configuration without coding it into the assembly file until I'm ready to.
Wrote some sample code to send a changing value out an I/O port with delay, which finally assembled!
And the simulator isn't bad at all.
I'm really impressed with it's capabilities. You can walk through the program line by line as it will be executed and watch any register, it's address and it's value at that point in the program. There's also a stop watch which can measure instrction cycles and give you time to complete in microseconds based on a configurable clock speed.
I haven't burned the internal osciallator configuration onto the chip yet. I'm getting a little sucked into the IDE. But, hopefully tomorrow.
Also, I can't believe how expensive the compilers are for these chips. The demos I've tried out haven't worked with MPLAB or MicroCode Studio (another popular IDE). I'll hunt around and try some more installations tomorrow because the cheapest compiler I found was around 250$. So far I haven't wanted to use any C code, but that will probably change.

0 Comments:
Post a Comment
<< Home