2.3.1 compiler/simulator problem

I was using an older SDK, just had extracted all files from the zip file and started to program - a datafield, an app, a watchface and now a widget - and all worked fine on the simulator as well as on my watch.
Now I was doing the same with the new 2.3.1 SDK, but the simulator does not feel ready to show any of my compiled prg files - only a small garmin logo is seen on the display, that's it.

Any ideas what is going wrong here?:confused:
  • Did you update the eclipse plugin when you switched to 2.3.1? "Help>Check For Updates" in eclipse.
  • Did you update the eclipse plugin when you switched to 2.3.1? "Help>Check For Updates" in eclipse.


    No, I am the one who ignores eclipse and uses a batch file to compile everything :rolleyes:

    BTW, my "make" file works excellent with the older SDK and also produces also prg files with the new release, but it doesn't show anything on the simulator.
  • Could be there's new/changed things on the command line for the sim due to new features (the debugger for example).
  • Could it be that the new simulator needs to be invoked differently? I think that the 2.3.1 simulator is re-designed so that the simulator is closer to a watch to allow one app to invoke another for example.

    Going back to Jim's comment asking if you had updated the plugins, it would be nice if things like the simulator contained a version number. I have been experiencing problems with the 2.3.1 simulator not working and crashing so I thought I'd check the version, but I could not work out how to do this.

    Help->About does not give any version number.
  • Having the version in "help>about" in the sim would be useful.


    You can find/display it an an app using monkeyVersion, but that's something you don't commonly have in the code.
  • I was using an older SDK, just had extracted all files from the zip file and started to program - a datafield, an app, a watchface and now a widget - and all worked fine on the simulator as well as on my watch.
    Now I was doing the same with the new 2.3.1 SDK, but the simulator does not feel ready to show any of my compiled prg files - only a small garmin logo is seen on the display, that's it.

    Any ideas what is going wrong here?:confused:


    you could be affected by this: https://forums.garmin.com/showthread.php?374430-Connect-IQ-2-3-beta-blue-arrow-on-startup

    in case it's this: to solve rename your project so that it does not contain spaces (this includes any directories)
  • Could be there's new/changed things on the command line for the sim due to new features (the debugger for example).


    I didn't find big changes in the monkeydo.bat file, the shell seems to get started multiple time (trying different ports), like "E:\Honeypot\Programs\Tools\Garmin\Connect IQ.new\Bin\shell.exe" --transport=tcp --transport_args=127.0.0.1:1238

    I tried a lot of things, most of the time I just see the garmin logo on the simulator. But for one datafield, the display changes to completely white with one inverted text line, let's say "TEST" (a lot of other content won't be displayed, but the word "TEST" is correct, even wrongly inverted). I changed the text in the source to "TEST*", recompiled it and started it in the simulator: it shows again "TEST" :confused: I closed the simulator and started the datafield in the old simulator - voilá, "TEST*" appeared but also all the other content of the datafield.

    So the compiler seems to do a fine job here (Windows 8.1), but something weard is going on with the simulator :(
  • I have no idea why the simulator of the new SDK fails. Meantime I downloaded the SDK multiple times and I also checked the whole thing on three different computer (Windows 8.1 and W10) but with no success. I've tried to compare all settings and parameters but didn't find any suspicious item. Maybe some new environment variables have been introduced by the new SDK? Or something else? Does anyone give me a hint what could be wrong? Thanks!
  • Former Member
    Former Member over 7 years ago
    I noticed yesterday that the updated 'Make' you posted still has the "round_watch" and "square_watch" device profiles listed. Is there any chance you are trying to use those? In the 2.3.1 release the simulator no longer supports those generic profiles, with the intention being that you use specific device profiles for testing.
  • I noticed yesterday that the updated 'Make' you posted still has the "round_watch" and "square_watch" device profiles listed. Is there any chance you are trying to use those? In the 2.3.1 release the simulator no longer supports those generic profiles, with the intention being that you use specific device profiles for testing.


    Thanks for trying to help! I will do some changes here so the 'make' may work for other users as well. I am using the option '9' by default, so the source 'Mickey.mc' contains the line '// make Mickey rO9!* 9' or '// make f*Mickey rO9!* 9'...

    E:\...\Connect IQ.new>make mickey

    Project 'Watchface\Mickey' with DEFAULT options 'rO9.*':
    ----------------------------------------------------------
    Compile: 'samples\Watchface\Mickey\source\*.mc':
    - Mickey.mc
    - MickeyView.mc

    Default: 'make f*Mickey rO9!* 9'

    Resource files:
    - samples\Watchface\Mickey\resources\resources.xml
    - samples\Watchface\Mickey\resources\settings\settings.xml

    Flags: --device fr935 --warn --release
    ----------------------------------------------------------

    Batchvorgang abbrechen (J/N)? j
    E:\...\Connect IQ.new>


    Within the batch file, the following call will be done: 'bin\monkeydo Mickey.prg fr935', which results in displaying the forerunner 935 within the simulator and the garmin logo on its screen. 'Kill App' seems to do nothing then, and 'Kill Device' hides the forerunner watch in the simulator but does not quit my batch file (in the previous SDK, this worked fine).