MicroCode Studio oddity...


Closed Thread
Results 1 to 14 of 14
  1. #1

    Question MicroCode Studio oddity...

    No, it's weirder than that...

    As I continue to code I see that other pin/labels are not auto-correcting. I'm coding for a PIC16F1946 64 pin device. Labels attached to PORT A,B,C,D,E.0-6 and G all auto-correct. E.7 and all of PORTF do not. Is this an indication of a deeper problem? Odd that one pin on a port and an entire port is not "recognized". I'm coding and compiling as I go (I don't have the hardware ready yet) so I don't know if the actual pin works yet.

    ***** ORIGINAL POST *****
    I have a bunch of variables in my code. They're all in uppercase letters. While typing if I type one of the labels in lowercase it will auto-correct to uppercase, except for one. Usually this is a good check that the label is wrong. But in this case it is correct, just not auto-correcting. Code compliles just fine... anyone else seen this?

    Thanks.
    Last edited by mtripoli; - 20th April 2011 at 17:16. Reason: more info

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    Yeap, I had similar issues with new commnds that appeared after 2.50 version and with some newer PICs.

    It seems that MCS needs an upgrade soon.

    Also another issue is when I had two files opened and was changing some lines on prog-A, after making some corrections to prog-B and returnd to prog-A, whatever I was doing it got LOST! Frustrating....

    Ioannis

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    Yeap and I had some issues with windows ghosting, reported to Norm, but I suppose he is busy.

    Ioannis

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    I have not had that problem. What version are you using. OS?

    Most of my work of late has been on my linux box using gedit. Never faild... yet.
    Dave
    Always wear safety glasses while programming.

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    I thought I had it figured out... then I added a bunch more variables and noticed that a whole set of variables that had auto-corrected had gone back to "as-typed" (which implies some kind of "history tracking" or something that I'm not at all comfortable with - I don't need surprises in the middle of coding). So I've given up the idea of using this "technique" as a check that the variable has been typed correctly (too bad, I thought it was pretty good).

    I can't say that I know for sure that this was supposed to be a valid "feature" of the editor. It's more than a little irritating when development tools do what they want, when they want.

  7. #7
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    Quote Originally Posted by Ioannis View Post
    Yeap and I had some issues with windows ghosting, reported to Norm, but I suppose he is busy.

    Ioannis
    I can't replicate the problem of ghosting however I am working on a new version of FL.
    It's built with the latest Delphi compiler and includes some options for windows 7.
    I'll send you a beta copy when it's ready.

    Norm

  8. #8
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    Thanks Norm. I will be looking forward to.

    @ mtripoli: it is indeed very annoying when that happens. I learned my lesson and hit the Ctrl+S all the time. Almost annoyingly often .

    Ioannis

  9. #9


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    Yeah... I hit the save key pretty often myself...

    @Norm: I downloaded and am using your IDE; very impressive. I've been using it for about half an hour and it's been tooling right along.

    I'm using the PICKIT3 programmer. I saw the setup string for firing the programmer, but when it comes up I still have to load the uC and program manually (I'm using a 16F1946). Anyone got any ideas on getting this to program automatically? I think my device declaration is wrong as well; I still don't have the declaration format correct for using Microchips programmers (@ DEVICE HS_OSC,WDT_OFF,BOD_OFF,LVP_OFF,PROTECT_OFF) doesn't work...

  10. #10
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    Are you using the stand alone software for Pickit3?

    If yes, it has the auto import hex and write button. Just click it to turn on the feature.

    Ioannis
    Last edited by Ioannis; - 24th April 2011 at 20:15.

  11. #11


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    Yes, I'm using the PICKIT3 software... and the "auto import". I'm referring to a way that the programmer starts and programs without having to hit the "auto import" button. I know that there is a command line version of the PICKIT2 available in which you can do this; I haven't looked yet for the same for the "3".

  12. #12
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    Hi,
    This is what I use from within MCSP:
    Code:
    -P$target-device$ -F$hex-filename$ -E -M -B -L -V5
    And the exutable is called PK3Cmd.exe which I don't think is the same as the standalone programmer software for the PK3.

    The -V5 is said to specify the voltage output on the Vdd line by the PICKit3 so be careful if you're using a 3.3V PIC etc.

    /Henrik.

  13. #13


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    Thanks Henrik, that did the trick.

  14. #14
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,159


    Did you find this post helpful? Yes | No

    Default Re: MicroCode Studio oddity...

    I also get the auto-correct oddity in MCSP since I updated (I had an old version).

    (system specs below)
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts