A app to include metadata in object code

+ Reply to Thread
Results 1 to 1 of 1

Thread: A app to include metadata in object code770 days old

  1. #1
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Thumbs Up
    Received: 86
    Given: 183
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default A app to include metadata in object code

    Don't you just love some words, there's something about metadata. What's the name for data about metadata, metametadata?

    One useful side effect of this app is that you can can use either PicKit2 and PicKit3 without changing Proton IDE settings.

    From the readme -

    Following on from John Barrets excellent work with using IDLOC to tag programmed PIC with useful information. Unfortunately John was rather let down by MicroChip's sketchy implementation of IDLOC across it's range of devices, the number of LOCs, their size and their existence varying.

    Let me say up front that I appreciate that the following is probably applicable to nobody except me but I've written it now so what the heck.

    Being a very disorganized person with a poor memory (a bad combo) I wanted a way to tag any device that I might use (18F and 16F) with date, time, compiler version and application version.

    Rather than create a plug-in, I wanted something that would work without my needing to remember select it.

    The programme HexTag is executed in the normal way from the Proton IDE program buttons, modifies the HEX and runs the programmer specified in it’s INI file (which you may of course amend for other programmers).

    * add HexTag as a custom programmer with this command line - $target-device$ $long-hex-filename$ (only once)
    * add your programmer details to HexTag.ini (already setup for PicKit2 and PicKit3). (only once)
    * Copy HexTag.exe and HexTag.ini to the location of your programmer the same as ProgPath in th ini file. (only once)
    * you may need to add the start address of CONFIG bytes (bytes 18F and words 16F) for a new device. (only once)
    * add the following to the end of your source

    Org (_code -16)
    CData 0, 0, 0, 0, 0, 0, (VersionHigh << 4)|(VersionLow), 0, 0, 0, 0, 0, $55, $CC

    To retrieve the tagged info, use your programmer to read the device then look at the end of the dump eg. a 18F24K50 has this byte string 1201 1816 2736 0312 - 12/01/18 16:27 1.2 An easier way is to use your programmer to create a hex file

    This information is also displayed in plain text in my application, SnapShot, for which it was principally written.

    Due to devices that are not programmable by PicKit2, it is necessary to allow programmer selection to switch between PicKit2 and PicKit3. If PicKit2 is detected it is used, if not found then if PicKit3 is detected ,it is used. Parameters for PicKit3 are the second block of ini parameters in HexTag.ini

    Possible additional use for the concept is automatically generated serial numbers.
    Attached Files Attached Files

  2. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.

    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues

    Thank you for your attention.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


Similar Threads

  1. Include Files Not showing In Code Explorer
    By ChrisRowe in forum Proton Studio
    Replies: 5
    Last Post: 9th June 2019, 08:07
  2. [SOLVED !] Drawing graph object with EA DOGM128_6 and Amicus18
    By Broderic in forum Amicus 18
    Replies: 19
    Last Post: 31st March 2016, 22:05
  3. [SOLVED !] Bootloader and app code contradict eachother?
    By J. Mark Wolf in forum Proton Plus Compiler v3
    Replies: 1
    Last Post: 3rd June 2007, 17:53
  4. [SOLVED !] Be able to include the source code version number
    By knight in forum Wish List / Product Feedback
    Replies: 10
    Last Post: 20th March 2007, 14:07
  5. [SOLVED !] Swaying object sensor!!
    By the.fox in forum The Lounge
    Replies: 32
    Last Post: 13th October 2005, 18:32

Tags for this Thread

Posting Permissions

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