Return-Path: Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by mtain-mh01.r1000.mx.aol.com (Internet Inbound) with ESMTP id 7BD8738000087; Mon, 30 Apr 2012 09:53:01 -0400 (EDT) Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1SOr16-0002W7-Tb for rs_out_1@blacksheep.org; Mon, 30 Apr 2012 14:51:52 +0100 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1SOr15-0002Vy-Tn for rsgb_lf_group@blacksheep.org; Mon, 30 Apr 2012 14:51:51 +0100 Received: from mail-yw0-f43.google.com ([209.85.213.43]) by relay1.thorcom.net with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77) (envelope-from ) id 1SOr13-0004ac-9L for rsgb_lf_group@blacksheep.org; Mon, 30 Apr 2012 14:51:50 +0100 Received: by yhkk6 with SMTP id k6so2241876yhk.16 for ; Mon, 30 Apr 2012 06:51:45 -0700 (PDT) X-DKIM-Result: Domain=gmail.com Result=Good and Known Domain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=I/bbHKfiW4q0BM/drIZHXvj0QsrImmlut78J2Yy6WjY=; b=FOXgXs3QXnBvXLz7WdifLLVi3Z9svcFcGEpcOKPKGDF0uoQ3NeLV0MLl+j/sIN62EH 3Ibzjru29lnZVhIEp6SaXl6CHFlQYUKmbGAu4UydaGcJyNvWxYHui/I+u5SqMGQYddMn ag5JghRPvAZvCaZLq/5Xa+MbD/JTu4qxss0h18213AnW3d1qI7Bg6vwjgBypL/3YN21U zLh0UHV8Mx0tLJ5OH1D386vs7MwCKGNv47OuQIdMV+e4ko1vrLxTEljDVgPROd7k6fD7 jFdqyhmFZCoRGGmp2nVFM4zNLF4LiwtYhuNe7GUCtcwAZqMw6IbSQVszb6MeMs0apniB WyBg== MIME-Version: 1.0 Received: by 10.50.41.196 with SMTP id h4mr7062250igl.33.1335793905294; Mon, 30 Apr 2012 06:51:45 -0700 (PDT) Received: by 10.231.0.137 with HTTP; Mon, 30 Apr 2012 06:51:45 -0700 (PDT) In-Reply-To: <1335791883.93357.YahooMailNeo@web171601.mail.ir2.yahoo.com> References: <4F9D18DA.3030707@talktalk.net> <1335738784.91970.YahooMailNeo@web171604.mail.ir2.yahoo.com> <008701cd265e$e1819680$4001a8c0@lark> <1335791883.93357.YahooMailNeo@web171601.mail.ir2.yahoo.com> Date: Mon, 30 Apr 2012 14:51:45 +0100 Message-ID: From: Andy Talbot To: rsgb_lf_group@blacksheep.org X-Spam-Score: -0.7 (/) X-Spam-Report: Spam detection software, running on the system "relay1.thorcom.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pete - I'm not sure what you really mean when you say printed hex, text etc. The .HEX file is the binary contents of the PIC as produced by the compiler / assembler, stored in a manner that is pure ASCII text, but pretty meaningless to the human miind. It contains the HEXadecimal contents of the programme space and any EE memory, address locations and checksums. Provided printed versions of that totally pointless, and no one should ever dream of trying to modify them with an editor. Not least, you would destroy the checksum and any programmer worth its salt would throw out the corrupted file. [...] Content analysis details: (-0.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.43 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (andy.g4jnt[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Scan-Signature: e51657317b06d9cbe905ec682fad6602 Subject: Re: LF: Re: PIC Projects with no HEX code Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on post.thorcom.com X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-SA-Exim-Scanned: Yes Sender: owner-rsgb_lf_group@blacksheep.org Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group X-SA-Exim-Rcpt-To: rs_out_1@blacksheep.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:488309056:93952408 X-AOL-SCOLL-URL_COUNT: 0 X-AOL-SCOLL-AUTHENTICATION: mail_rly_antispam_dkim-d284.1 ; domain : gmail.com DKIM : pass x-aol-sid: 3039ac1d60d54f9e993c32c9 X-AOL-IP: 195.171.43.25 X-AOL-SPF: domain : blacksheep.org SPF : none Pete - I'm not sure what you really mean when you say printed hex, text etc. The .HEX file is the binary contents of the PIC as produced by the compiler / assembler, stored in a manner that is pure ASCII text, but pretty meaningless to the human miind. It contains the HEXadecimal contents of the programme space and any EE memory, address locations and checksums. Provided printed versions of that totally pointless, and no one should ever dream of trying to modify them with an editor. Not least, you would destroy the checksum and any programmer worth its salt would throw out the corrupted file. Have you been trying to do that? As Alan pointed out previously, many software authors provide .HEX files so their own IP isn't taken / stolen while at the same time making the result freely availalble. All you can do with that is load it and 'blow' your own devices. The next atage is to look at published source code. This wil be a .ASM (or assembler) file and may often have several include files in addition (often of file type .INC, but could be anything the author calls them) These are turned into .HEX files by the assembler. BUT these days not all assembly files are created equal. I have always only ever exclusively used Microchip standards and all their products, namely the MPASM assembler for producing the code. But I think some other third party designers of PIC development "systems" have in their infinite wisdom decided to use their own assembly instructions. Hence not all .ASM files compile universally. I have met this twice now when users have reported not being able to assemble the many .ASM files I provide. Well, Caveat Emptor. If they choose to not use Microchip standard products for Microchip design products... that's just Tough and their problem.. And if, as I suspect may occasionally be the case, they don't spot the difference between true assembly and PIC code written in C well . there's not much more to add! For device programmers for "blowing", its a lot simpler. Any programmer can make use of the .HEX files generated when the assembler has done its job correctly. At least here the standards are universal - mostly thanks to Intel back in the year dot minus one. And if some obscure programmer can't understand that format, throw it away and get a better one. Andy www.g4jnt.com On 30 April 2012 14:18, M0FMT wrote: > Hi Alan > > Thanks for coming back it was really a rhetorical outburst at yet other > project failure. But in a way its nice to know I am not entirely alone. > It looks as though you have been there before me. I am relatively new to = PIC > programming and I don't know what I am doing. Try to "Save" from my > programmer does not work it saves the text file OK but not completely. So= if > loaded into a new=A0 or blank=A0PIC it won't run. However if=A0say down l= oaded > from an operational PIC held in the=A0programmer S/W and modified at HEX = level > then load into a blank PIC its OK!! I have a lot to learn. > > I have a "store" of stolen routines that will run so I am trying to modif= y > them to my applications. Several have worked OK but its too much to ask t= o > get a good one every time=A0I suppose. Like changing call signs and locat= or in > ROM=A0and altering the configuration of speed etc for a CW beacon. Straig= ht > forward keyer no memory is another and Johan's SM6LKM stuff is very good = I > have found. A lot of articles promise a lot but don't deliver, it would b= e > really nice if they always attached a text file of HEX because otherwise > whats the point? Its easy enough to use character recognition to down loa= d > HEX from the printed page ... it works for me. It just means you have to = be > very diligent checking each line of text. A ruler and strong glasses it > works every time. > > I suppose I am at the stage where I just want to build projects as > advertised I don't=A0have the knowledge to write from scratch=A0but have = managed > to modify some=A0programs. > > This may seem a bit off topic but now we seem to be into automated Beacon= ing > at each other on MF/LF ......"if you can't beat 'em .......... " PIC is o= ne > way to go . Saves tying a up a PC. > > Any way its stopped raining, garden to work=A0 to do and another lot of B= ees > to hive. This is not how I saw retirement. > > Thanks for the info and encouragement. > 73 es GL Pete M0FMT IO91UX > From: Alan Melia > To: rsgb_lf_group@blacksheep.org > Sent: Monday, 30 April 2012, 0:21 > Subject: LF: Re: PIC Projects with no HEX code > > Hi Peter my success is much higher than that BUT I have found some PICs w= ont > program correctly on some programmers though the s/w indicates the ought = to. > I would say if you are not using a Microchip programmer and s/w this migh= t > be part of the cause.?? This is one I have run into. > > Reasons for lack of source inclusde, shyness and not wanting to be cricis= ed > for poor or naive programming. Producing commented source is quite a labo= ur > intensive job. If an "outsider" is to understand exactly what you have do= ne. > Many who reuse chunks of code cant be bother with the hassle > > Then I have seen code "stolen" and used for profit making ventures, or 98= % > copied, without any reference to the originator. Does it matter.....well = it > does to some people. The code is the majority of the investement in a PIC > project. Remember a assembly coders stock-in-trade is a large collection = of > small routines which he used continually to achieve standard operations. > Because these are used more than once they are usually well tested. > > I like to see source because I can learn how to write it myself from othe= r > peoples approaches. The most exasperating thing is if you suspect a bug (= not > just not working, but an exotic one)=A0 you have no way of. helping the > originator > > Alan > G3NYK > > ----- Original Message ----- > From: "M0FMT" > To: > Sent: Sunday, April 29, 2012 11:33 PM > Subject: LF: PIC Projects with no HEX code > > > > > Success rate is about 10% on projects with the HEX code attached. > > If people don't want their projects duplicated then don't publish them > FCS!!! > > Its pointless! > > > M0fmt exasperated!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > > >