At 08:43 AM 9/23/99 +1000, Dennis Plunkett wrote: >At 14:15 22/09/99 -0700, you wrote: >>On Wed, 22 Sep 1999 19:57:53 +0100, you wrote: >> >>>Can anyone please help, I need to upload and execute the following srecord >>>into a M68HC11. >>> >>>I believe it must first be converted into binary format,is this correct ? >>> >>>Second how do I get it to execute ? >>> >>>S105B6007E00AD >>>S105B601E8007B >>>S105B602510042 >>>S105B6701B58 >>>S105B674EFF3 >>>S105B676DCBA >>>S105B6800000 >>>S105B6810000 >>>S105B6820000 >>> >>>-- >>>Regards, >>>Simon >> >>Hi Simon! >>Its been a while since I've messed with MOTs processors but here >>goes... >>No you do not have to convert it to anything but what you have. This >>is a standard "S" record. There should me some form of monitor rom on >>the system that you are uploading it to. Most of the motorola stuff >>is loosely based on the old MIKBUG of the original 6800 days. Usually >>a "L" command followed by the ascii "S" record. The "S" record is >>followed by a "S9" record that indicates "End of transmission". The >>old monitors I used had a "J" command followed by a 4 hex digit >>address. This would commence execution at that address. >> >>You might check the motorola web sites and look for monitor reference >>info. There are several for the HC11. >> >>Best regards >>Dave Duley >> >> > > >Not quite so, >The HC11 has an internal boot loader sequence that is entered into at reset >with the conditions of MODA and MODB. The Srecord in this case is loaded >into the first 256 bytes of RAM only. If this is a bootloader for more >code, the frist block must be an exec file to load the bytes above and >beyond the first 256. > >All that aside youre file seems to be missing some bytes. Anyway you will >find bootloader stuff in the big HC11 book. Note that these boot loadres >are for loading larger files!, but it will give you the basic idea on what >is required, just remember your file size, of course you can have more RAM >and use that too! > >Now the file is loaded byte by byte until 256 bytes are loaded (At which >time the processor will reset and execuite from 0000 (Default bootloader >reset vector (See the stuff on interrupts and vectors)). As for the file, >yep binary for the bootloader only (The examples are for S-record in the >extended code, but you may use binary) > >But why a HClemon? Why not a good functional processor like a nice PIC, >AVR, 8051, perhaps one of them 4004 would be better for your purpose... > ->(Huge in fact) > >Dennis > Sorry for the delay in adding my bit, but downloading code to HC11's is quite easy. I have, and will be happy to supply to anyone interested, a MS-DOS program for downloading S records. This program supplies its own boot block code, does verification, etc. If there is much demand I will put it up on a web site. Bob