Jump to content

stepava

Members+
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About stepava

  • Rank
    RC-Cam Visitor
  1. PIC12C508A for TOP GUN AWS?

    I'm going a little OT but i try to go deep into this problem; I try a different software (WinPic800) and with the same hardware this time the last address is read correctly!!! The wordb is 0xC5C that is in the correct format of 0xCKK for MOVLW KK whit KK as the OSCCAL constant. I will investigate......
  2. PIC12C508A for TOP GUN AWS?

    Thank you, I agree with you, i built this "hobby" programmer and "sometimes" it works, but i had a lot of problem, I never switch to a more professional programmer because I start to work with "bigger" PICs that support the ICSP and i directly program them with ICD2. This morning i tried some experiment to verify if my programmer is "good", but as you expected it seems something wrong: I read a brand new PIC12C508A and all the register are 3FF (or FFF) anyway the last address is NOT a "valid" OSCCAL value so i think that something is wrong in the "communication" between Programmer and PIC.
  3. PIC12C508A for TOP GUN AWS?

    Thank you again for your quick and clear reply. I will double check my schematic and my built circuit in order to be sure that everything is connected correctly, I start from your schematic and built the PCB with eagle software: http://picasaweb.google.com/lh/photo/Td8Ed...feat=directlink I hope to had made every connection correctly. (The LED is lighted with "inverse" logic, is it correct? when the PIC port is 0 the LED is ON, when the port is 1 the LED is OFF?) These are the 3 PCB that i built for me and the two other friends of mine: http://picasaweb.google.com/lh/photo/ErrSB...feat=directlink For information I use a ProPic2 programmer with ICprog, as i write in my first post, during programming, the programmer ask me if I want to write OSCCAL from file and i answer NO. But the strange thing is that in your FAQ section the "message window" says: while my programmer ask something like: "OSCCAL value not found, Do you want to use value from file (3FFFh) instead?" (as is said I anyway answer NO, but to me it seems that something is not correct, because seems that there is no OSCCAL value, so the PIC won't run properly). Why the programmer is not able to "find" the factory osccal? it is possible that the PIC is "bad" before programming? i make a blank check and the ICPROG says that the PIC is blanked. Do you, in your experience, seen something like this? Regards
  4. PIC12C508A for TOP GUN AWS?

    Thank you for your very quick reply. I still have some problem with this project. I program, as written before, another PIC and this time I answer NO to the programmer regarding the osccal value, but when i try the circuit nothing happens. The pic seems "dead" and when i plug in the battery neither the blinking LED for the "I'm alive" appears. I double check the schematic and everything seems fine, my radio is Futaba so i set REV for that channel and +- 100% EPA. During programming i set INTRC, no WDT, no MCLR and yes for CP. How can i check if the PIC is "running" or if it is stucked due to bad programming. I have another question, probably a silly question, but i'm not so expert with pic programming: why the hex file is "code protected"? I think that code protection is useful to avoid that someone can "grab" the source code reading the internal hex code of an already programmed pic. In this case you are already providing the hex code that can be related directly to its assembly counterpart, so i don't clearly understand the need for code protection. The point is that the code protection avoid the automatic programmer verification, so it is difficult to know if the pic is burned correctly. Please don't think that is a critic, it is only to understand the best way to proceed for make the top gun aws working, i think that your projects are very awesome, so i hope to be able to make combat with my friends as soon as possible :-) :-) P.s. I have an ICD2 clone and i want to order some PIC12F509, is it the code for top gun aws directly portable to this flash device? In this case it can be more easy for me to try different configurations without burning too many pics (i burn today my last pic12c509a :-) :-)) Thank you Regards
  5. Hi all, i'm new in the forum. I have a question about the TOP GUN AWS project: is it possible to use th PIC12C508 / 508A instead of the specified PIC12C509 / 509A. It seems that the pics are pin to pin compatible and the main difference is in memory space, is this correct? I normally work with "bigger" flash pics like 16F877 so i'm not expert in these smaller one. Thank you for the help Regards Stefano P.s. i program a first 12c509a and make the error to answer YES when ICprog ask me to use the osccal value from file. So then i try with another 12c509a and answer NO to the question, but respect to the "window" shown in the FAQ section my icprog says that it not find any osccal value (in the FAQ is shown that icprog find a "default factory" osccal). Can i have problem with this thing or is it normal?
×