Author Topic: Pic programing  (Read 1562 times)

Offline tennhillbilly

  • Sr. Member
  • ****
  • Posts: 115
Pic programing
« on: November 07, 2010, »
I know that most are busy this time of year but does anyone have time to program a couple of pics for me ? I have 1 working dongle and 1 working LE but I thought it might be nice to have a spare pic already programed just in case . I am located in East Tn. I have PM 2 members listed in the wiki nearest to me and received no response. Do I have any volunteers? Thanks!!

Offline bisquit476

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 873
Re: Pic programing
« Reply #1 on: November 07, 2010, »
If you want to send them to me, I'll program them for you, let me know and I'll PM my address,

Bill

Offline tennhillbilly

  • Sr. Member
  • ****
  • Posts: 115
Re: Pic programing
« Reply #2 on: November 07, 2010, »
Thanks !! For the offers I now have it taken care of . Thanks for all the help.

Offline jess_her

  • Sr. Member
  • ****
  • Posts: 218
Re: Pic programing
« Reply #3 on: February 26, 2011, »
Hey I have a pic 3 and downloaded MPlab. Is the code  written in Basic, C or C+

Jess
Only limitations in life is your imagination

Offline rm357

  • Sr. Member
  • ****
  • Posts: 1282
  • 31088
Re: Pic programing
« Reply #4 on: February 26, 2011, »
Generally speaking, RJ does not release source code. The hex files needed for programing are available for download from the wiki. If you are developing code, there are many on this site (including RJ) who will work with you to overcome specific problems.
RM
Robert
Warner Robins, Georgia, USA

Offline dlhoppe

  • Sr. Member
  • ****
  • Posts: 261
Re: Pic programing
« Reply #5 on: February 26, 2011, »
You are not allowed to view links. Register or Login
Hey I have a pic 3 and downloaded MPlab. Is the code  written in Basic, C or C+

Jess

If you're talking about loading RJ's firmware onto a PIC chip, you don't need to worry about what language they're written in. You just download the compiled/linked hex file and "write" it to the PIC. No programming or compiling is necessary. The term "programming PICs" is misleading. In this scenario, you're really just writing a file to it.


Dave
« Last Edit: February 27, 2011, by dlhoppe »

Offline jess_her

  • Sr. Member
  • ****
  • Posts: 218
Re: Pic programing
« Reply #6 on: February 26, 2011, »
I don't want to reinvent whats happing here. I have another project that is a boost circuit for led's using a 10f202 Micro PIC. code looks like Basic but I'm not sure. Here is a sample

   movlw   b'11111110'      ; Initialise the Port, GP0 is O/p and others I/p
    Tris    GPIO
    movlw   b'00000110'      ; Initialise the option Reg for wake up on pin change on GP3
   option               ; and set prescaler for 1:128.
   clrf    Present_key      ; Clear the Temp Reg
   clrf   Key_Buffer      ; Clear the Key Buffer Reg
   bsf      GPIO,0         ; Set GP0 output Port
   clrf   TMR0         ; Clear TMR0
   btfsc   STATUS,7      ; Wake from sleep on Pin Change and Goto 100% Intensity.
   goto   Key_Press_Check        




Anyway just was curious if anybody knows
Only limitations in life is your imagination

Offline dlhoppe

  • Sr. Member
  • ****
  • Posts: 261
Re: Pic programing
« Reply #7 on: February 26, 2011, »
That's assembler.

Offline trekster

  • Sr. Member
  • ****
  • Posts: 1279
  • A Lynx Express Device........ Fascinating! ;
    • My 2010 Videos
Re: Pic programing
« Reply #8 on: February 27, 2011, »
Shoot I thought it was French.

Ron

 <yk..
My 2010 Videos
You are not allowed to view links. Register or Login

Offline chrisatpsu

  • Sr. Member
  • ****
  • Posts: 3729
  • ahhh, yes... my new blink-i-nator 3000!!!
Re: Pic programing
« Reply #9 on: February 27, 2011, »
I'd check to see if Tris is supported on the precessor, i think it's been replaced by something in front of the word tris in PIC assembler.
To rule the entire tri-state area!  What's that? Perry the Platypus!!!

Offline dlhoppe

  • Sr. Member
  • ****
  • Posts: 261
Re: Pic programing
« Reply #10 on: February 27, 2011, »
deleted...
« Last Edit: February 27, 2011, by dlhoppe »

Offline RJ

  • Administrator
  • Sr. Member
  • *****
  • Posts: 8519
Re: Pic programing
« Reply #11 on: February 27, 2011, »
Lets not get the thread off topic looking like you need to understand assembly language to program your pic, as said all you need is to plug a device in and load the files we post.

RJ
Innovation beats imitation - and it's more satisfying