Sideloading datafields on the Edge 520

Former Member
Former Member
Hi all,

I am developing a simple data field that rotates between vitals derived from a mixture of custom and conventional ANT+ profiles. I have managed to do that successfully using an ANT+ dongle and the simulator. However, I am a little stuck after sideloading the app to the actual device - Garmin Edge 520.

Specifically, in the Eclipse environment, I went under Connect IQ > Build for Device Wizard. After filling in the project name, and device, and the output directory as '..\Garmin\Apps', I was able to find the generated binary in the Apps folder (.prg extension). After doing this, I tried various settings on the 520 to try to load it, but just can't find it (for published datafields, this comes up as a option under activity profiles, but not so in this case). Can anyone advise in terms of what to do in order to load the prg file?

Many thanks,
Ed
  • You actually select CIQ DF's in the same way as native ones. When you go into to change data fields on a screen, in addition to things like the Cadence, Calories, Courses (etc) groupings, there will be "Connect IQ 0/4". Selecting Connect IQ, you'll see the DF's you installed. When you add it to a screen, it will be "Connect IQ 1/4" next time you look (you are using 1, and the max is 4)
  • Former Member
    Former Member
    Thanks

    You actually select CIQ DF's in the same way as native ones. When you go into to change data fields on a screen, in addition to things like the Cadence, Calories, Courses (etc) groupings, there will be "Connect IQ 0/4". Selecting Connect IQ, you'll see the DF's you installed. When you add it to a screen, it will be "Connect IQ 1/4" next time you look (you are using 1, and the max is 4)


    Hi, many thanks for replying. The option 'ConnectIQ app 0/4' is not available, alongside the other options such as Cadence, Calories in the data screen. In the Eclipse environment, the log listed the build as successful. What extension should be binary be? Are there known problems like that on the Edge 520?
  • You have to copy it to the Garmin/Apps folder on the 520.

    Travis
  • Former Member
    Former Member
    Hi Travis, I did - I tried both to export the build to the Garmin/Apps, as well as export to a separate location, and then manually drag and drop the .prg file over to 'X:\Garmin\Apps' location. Neither both work. Thinking it might be something wrong with my code, I tried doing it with the SimpleDataField example provided by ConnectIQ, but that did not work either.

    I also tried to dowload one of the published datafields to the device, and that worked. There must be something wrong with the export process, or else its something else. Any other ideas?
  • Do you see anything in the \garmin\apps\logs\ciq_log.txt file?

    If you built with a 1.2.x version of the SDK, the data field isn't signed, and you'll see a signing error. (the .prg gets deleted)

    You need to use the 2.1.x right now (production - you can upload to the store) or the 2.2.0 beta (no store uploads). Don't forget to update the Eclipse CIQ plugin, as that will allow you to easily generate a signing key
  • Former Member
    Former Member
    Do you see anything in the \garmin\apps\logs\ciq_log.txt file?

    If you built with a 1.2.x version of the SDK, the data field isn't signed, and you'll see a signing error. (the .prg gets deleted)

    You need to use the 2.1.x right now (production - you can upload to the store) or the 2.2.0 beta (no store uploads). Don't forget to update the Eclipse CIQ plugin, as that will allow you to easily generate a signing key


    That worked. Thanks very much.