I've received a few PIC18F25K50 samples and wanted to play around with them. I must say, i'm bloody new to PIC MCU's.
I'm running archlinux and installed the following software:
- MPLAB X 1.4 - XC8 1.1.0 - C18 3.4.0
So, everything is running fine till here (except some path problems with this "plib", but i have solved them already), But the trouble starts when it i want to start a project for the PIC18F25K50. I can't choose the C18 compiler (i believe my version doesn't support it yet). But i can choose the XC8. It creates the project and i can use the needed headers.
Now things went strange:
there is a common library and a huge set of headers for i2c,spi,pwn and so on that is namend "plib". But it seems that it also doesn't support my chip. the lib for it is missing and i can't even set the essential config (FOSC etc.) because it wasn't found.
i tested all with the PIC18F2550 and everything is working there, so my basic setup should be ok.
Does anyone of you has experiences with that chip? and more general: is MPLAB and the compilers from microchip the way i should go or is there any secret jedipath for PIC developement?
Oh, and there is a new version of the C18 (3.4.3) but the upgrade is only available for windows :-/
Please throw every tiny tip in here, i'm sure i can need it ^^
I want to reuse my attiny85 running the avr-cdc firmware for my next DIY Arduino, but this time it would be nice to have the autoreset feature onboard (pressing reset for uploading sketches sucks sometimes). So i've started to hack the DTR signal into the avr-cdc firmware for the tiny chips. It's currently working for the tiny85. in the next few days, i will upload the missing bins for tiny45 and tiny2313...
I've also made a walkthrought for all the code changes i've made.
oh, since iam the only person so far that have tested my code, it would be great to get some feedback if someone discovers a problem ;-)
------------------------- Edit ------------------------- You can find the tiny2313 code in my github repo, it provides you the DTR signal when you run this chip @12Mhz
ok, it is nothing new and far away from well done.. But its just amazing for me to see it working and i learned quiet a lot :) I just want to share it with you (because normaly i just hang around here, read about your projects/news and get inspired by you).
leave a little comment,thougth or what ever you want, if you want ;)
i have started a small project about an low cost DIY Arduino based on the ATMEL ATmega328 MCU. It uses an ATTiny45/85 with the avr-cdc Firmware from www.recursion.jp/avrcdc/ for USB to Serial conversion.
This project is still in an early develeopment state. I have already started to document it, but i have to fix the great count of typos and rework the schematics.
you can find the preview documentation and a small demovid on my blog at http://cmdrkeen.net.
I post it here because it is my first electronic project and it would be great to get some tips and feedback from you :)