<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>It worked !<br><br></div>For the record here is what I did:<br><br></div>I had a fresh install of Ubuntu 64 bit 13.04<br><br></div>I went to 'home' and with the GUI:- <br>
<br>1_  I created a directory called 'usb'  <br><br></div>2_ in it I copied 'boot_linux.x64' into it and renamed it 'bootusb'<br><br></div>3_ I copied a hex file 'test.hex'<br><br></div>4_ using control/alt/t I woke up bash <br>
<br></div>5_ cd usb<br><br></div>6_ chmod a+x ./bootusb<br><br></div>7_ sudo ./bootusb - v test.hex<br><br></div>8_ it came back with 'Please reset the device to enter bootloader mode'.  Which was shorting pin 4 of the 16F1455 to 0v.<br>
<br></div>9_ pressing the enter key resulted in 'Device (Write and Verify) Complete<br><br></div>Now for me I've not got a very easy to set up way of getting programs into Pic chips !<br><br></div>That would have taken me ages and ages to get working without Justin's infinite patience and help !<br>
<br></div>So many many many thanks to Justin and the HackSpace community !<br><br>:  ))))))<br><br></div>Tim_1<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 8 November 2013 12:07, Tim Moore <span dir="ltr"><<a href="mailto:timmoore47@gmail.com" target="_blank">timmoore47@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Brill, I'll try that out over the weekend !<br><br></div>Many many thanks !<br><br>:  )))<br>
<br></div>Tim_1<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 8 November 2013 12:00,  <span dir="ltr"><<a href="mailto:hackspace-request@swansea.hackspace.org.uk" target="_blank">hackspace-request@swansea.hackspace.org.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Hackspace mailing list submissions to<br>
        <a href="mailto:hackspace@swansea.hackspace.org.uk" target="_blank">hackspace@swansea.hackspace.org.uk</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:hackspace-request@swansea.hackspace.org.uk" target="_blank">hackspace-request@swansea.hackspace.org.uk</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:hackspace-owner@swansea.hackspace.org.uk" target="_blank">hackspace-owner@swansea.hackspace.org.uk</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Hackspace digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Hackspace Digest, Vol 11, Issue 1 (Tim Moore)<br>
   2. Re: Re: Hackspace Digest, Vol 11, Issue 1 (Justin Mitchell)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 7 Nov 2013 10:22:08 +0000<br>
From: Tim Moore <<a href="mailto:timmoore47@gmail.com" target="_blank">timmoore47@gmail.com</a>><br>
Subject: [Swansea Hackspace] Re: Hackspace Digest, Vol 11, Issue 1<br>
To: <a href="mailto:hackspace@swansea.hackspace.org.uk" target="_blank">hackspace@swansea.hackspace.org.uk</a><br>
Message-ID:<br>
        <<a href="mailto:CAAEY5oOEtrH3CtbAfOzL-69ULPho4AHaYFzE9zyUoNYUfns-Dw@mail.gmail.com" target="_blank">CAAEY5oOEtrH3CtbAfOzL-69ULPho4AHaYFzE9zyUoNYUfns-Dw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Thoroughly enjoy the meeting and new Venue was fine.<br>
<br>
Now the technical bit:-<br>
<br>
The use of the USB to get hex files loaded into a Pic is a major advance !<br>
<br>
However having proved my Programmer worked OK and the bootloader settles<br>
into my 16F1455, I missed out on some other vital details.<br>
<br>
I thought I'd use a 64 bit PC running Ubuntu 13.4 Linux as the main<br>
computer for down loading hex files into the 16F1455.<br>
<br>
The file I'm trying to get work is 'boot_linux.x_64'  :  Now here comes a<br>
string of questions:-<br>
<br>
The suggestion is to start with:-   boot -v  myproject.hex<br>
<br>
1_      is best in a folder called 'bin' ?  in the root directory ? or in<br>
the 'home' directory ?<br>
<br>
2_      does 'boot_linux.x_64' need renaming 'boot' for ease of use ?<br>
<br>
3_      using bash with sudo invoked , is it best to be in the 'bin' folder<br>
?<br>
<br>
4_      does its properties need changing for it to execute ?  If so what<br>
is the command and syntax ?<br>
<br>
( I'm used to getting shell scripts working and excecuting, but am a blank<br>
slate on getting this working)   (Maybe there is a paragraph of<br>
instructions I've missed somewhere)<br>
<br>
So far I've not met with 'boot' waking up when invoked just error<br>
messages...   giving me the feeling I've missed something 'noddy' along the<br>
way.<br>
<br>
Any thoughts very welcomw !<br>
<br>
:  )))<br>
<br>
Tim_1<br>
<br>
<br>
<br>
On 1 November 2013 12:00, <<a href="mailto:hackspace-request@swansea.hackspace.org.uk" target="_blank">hackspace-request@swansea.hackspace.org.uk</a>>wrote:<br>
<br>
> Send Hackspace mailing list submissions to<br>
>         <a href="mailto:hackspace@swansea.hackspace.org.uk" target="_blank">hackspace@swansea.hackspace.org.uk</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
>         <a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
> or, via email, send a message with subject or body 'help' to<br>
>         <a href="mailto:hackspace-request@swansea.hackspace.org.uk" target="_blank">hackspace-request@swansea.hackspace.org.uk</a><br>
><br>
> You can reach the person managing the list at<br>
>         <a href="mailto:hackspace-owner@swansea.hackspace.org.uk" target="_blank">hackspace-owner@swansea.hackspace.org.uk</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of Hackspace digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
>    1. [Announce] Technical Meeting -    Micro-Controllers Workshop #1<br>
>       (Justin Mitchell)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Thu, 31 Oct 2013 19:24:42 +0000<br>
> From: Justin Mitchell <<a href="mailto:justin@discordia.org.uk" target="_blank">justin@discordia.org.uk</a>><br>
> Subject: [Swansea Hackspace] [Announce] Technical Meeting -<br>
>         Micro-Controllers Workshop #1<br>
> To: <a href="mailto:hackspace@swansea.hackspace.org.uk" target="_blank">hackspace@swansea.hackspace.org.uk</a><br>
> Message-ID: <<a href="mailto:1383247482.7395.13.camel@emerald.geode.org.uk" target="_blank">1383247482.7395.13.camel@emerald.geode.org.uk</a>><br>
> Content-Type: text/plain; charset="UTF-8"<br>
><br>
> 7pm Monday 4th November 2013<br>
> Volcano Theatre, 229 High Street, Swansea.<br>
><br>
> A hands on workshop teaching the basics of using small, cheap computing<br>
> devices to build circuits that can automate and interact with the<br>
> physical world. This session will be covering the Getting Started<br>
> (buttons and lights) and Communications (serial ports) tutorials.<br>
><br>
> Participants will need to bring their Starter Kit and a suitable laptop,<br>
> it would be advisable to download and install the software in advance<br>
> (links on the website). I have a few loan kits for anyone that doesn't<br>
> already have a Starter Kit.<br>
><br>
> Thanks to Volcano Swansea  for the generous use of their meeting space<br>
> for this event.<br>
><br>
><br>
><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> Hackspace mailing list<br>
> <a href="mailto:Hackspace@swansea.hackspace.org.uk" target="_blank">Hackspace@swansea.hackspace.org.uk</a><br>
> <a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
><br>
><br>
> End of Hackspace Digest, Vol 11, Issue 1<br>
> ****************************************<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20131107/5e2eb830/attachment-0001.html" target="_blank">http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20131107/5e2eb830/attachment-0001.html</a><br>


<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 07 Nov 2013 15:13:33 +0000<br>
From: Justin Mitchell <<a href="mailto:justin@discordia.org.uk" target="_blank">justin@discordia.org.uk</a>><br>
Subject: Re: [Swansea Hackspace] Re: Hackspace Digest, Vol 11, Issue 1<br>
To: <a href="mailto:hackspace@swansea.hackspace.org.uk" target="_blank">hackspace@swansea.hackspace.org.uk</a><br>
Message-ID: <<a href="mailto:1383837213.28738.5.camel@justin.llw.rokcorp.com" target="_blank">1383837213.28738.5.camel@justin.llw.rokcorp.com</a>><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
On Thu, 2013-11-07 at 10:22 +0000, Tim Moore wrote:<br>
<br>
<br>
> The file I'm trying to get work is 'boot_linux.x_64'  :  Now here<br>
comes a string of questions:-<br>
><br>
><br>
> The suggestion is to start with:-   boot -v  myproject.hex<br>
><br>
><br>
> 1_      is best in a folder called 'bin' ?  in the root directory ? or<br>
> in the 'home' directory ?<br>
<br>
Either just leave a copy in the directory you like working in, or<br>
install it for the whole system by putting it in /usr/local/bin/<br>
<br>
> 2_      does 'boot_linux.x_64' need renaming 'boot' for ease of use ?<br>
whatever you want to call it, just dont name it after an existing<br>
command on your system or itll be very confusing.<br>
<br>
> 3_      using bash with sudo invoked , is it best to be in the 'bin'<br>
> folder ?<br>
doesnt matter what directory you are in when you do a sudo<br>
<br>
if you add your username to whatever group owns /dev/ttyUSB0 which is<br>
often the 'dialout' group, then you wont need sudo.<br>
<br>
also make sure you dont have modemmanager installed, (an optional part<br>
of NetworkManager) as it will keep grabbing the serial port and sending<br>
it gibberish (AT modem commands).<br>
<br>
> 4_      does its properties need changing for it to execute ?  If so<br>
> what is the command and syntax ?<br>
it needs to have the execute bits set, yes.<br>
eg chmod a+x ./boot_linux.x86_64<br>
<br>
Hope that addresses everything<br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Hackspace mailing list<br>
<a href="mailto:Hackspace@swansea.hackspace.org.uk" target="_blank">Hackspace@swansea.hackspace.org.uk</a><br>
<a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
<br>
<br>
End of Hackspace Digest, Vol 11, Issue 2<br>
****************************************<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>