Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

PIC microcontrollers

Name: mores specifically P18F series 2011-01-27 22:37

programmed in C.

so anyone here a pic micro dev? just starting and have a few questions for the netz:
1) is it worth it to program in windows?
  >that is, i have all the command line tools i need for linux dev and can't seem to find a reason to switch to windows.
2) are there any libraries written in c for servo/pwm control?
  >i've found enough source code to be able to make something myself, but i'm not being paid to do this and not getting credit either and don't know if i have the time to complete my project before my deadline if i have to make everything.
3) anyone know how reliable pk2cmd is in linux?
  >i've tried flashing my pic with some test .hex files it came with (starter board) and nothing works. so i'm worried that it is the tool i'm using. i don't have access to windows until the weekend so i can't do much troubleshooting yet.

Name: op 2011-01-28 13:49

>>4
this doesn't make sense. pic18's are 16 bit... and i know all about programming in the 32 bit architecture. thanks though...

>>5
i don't have access to mplab yet (gotta convince sysadmin to let me install windows on a machine). i have the datasheet, that isn't the issue. there isn't an error code, so let me describe the issue in more depth:

-i have pk2cmd (the command line tool distributed by microchip for flashing their pic micros with the picKit2 usb programmer)
-i have the .hex files for demo programs distributed with my started board.
-when i flash the board with the pickit2/pk2cmd under linux the board doesn't do anything. (for instance there is a demo game of pong, but it isn't displayed in the OLED like it is supposed to)
-when i got the board from my advisor the demo pong game was on it and worked. he flashed the board from MPLAB (since he has a home machine with windows, i don't)

so basically i was wondering if anyone had any experience developing for pics in linux. since that is 'no' so far i will continue with my plan to get the sysadmin to let me install windows and resort to MPLAB which i was trying to avoid.

thanks again

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List