[Swansea Hackspace] Re: Hackspace Digest, Vol 11, Issue 2

Tim Moore timmoore47 at gmail.com
Sat Nov 9 09:43:11 GMT 2013


It worked !

For the record here is what I did:

I had a fresh install of Ubuntu 64 bit 13.04

I went to 'home' and with the GUI:-

1_  I created a directory called 'usb'

2_ in it I copied 'boot_linux.x64' into it and renamed it 'bootusb'

3_ I copied a hex file 'test.hex'

4_ using control/alt/t I woke up bash

5_ cd usb

6_ chmod a+x ./bootusb

7_ sudo ./bootusb - v test.hex

8_ it came back with 'Please reset the device to enter bootloader mode'.
Which was shorting pin 4 of the 16F1455 to 0v.

9_ pressing the enter key resulted in 'Device (Write and Verify) Complete

Now for me I've not got a very easy to set up way of getting programs into
Pic chips !

That would have taken me ages and ages to get working without Justin's
infinite patience and help !

So many many many thanks to Justin and the HackSpace community !

:  ))))))

Tim_1


On 8 November 2013 12:07, Tim Moore <timmoore47 at gmail.com> wrote:

> Brill, I'll try that out over the weekend !
>
> Many many thanks !
>
> :  )))
>
> Tim_1
>
>
> On 8 November 2013 12:00, <hackspace-request at swansea.hackspace.org.uk>wrote:
>
>> Send Hackspace mailing list submissions to
>>         hackspace at swansea.hackspace.org.uk
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         http://stoneship.org.uk/mailman/listinfo/hackspace
>> or, via email, send a message with subject or body 'help' to
>>         hackspace-request at swansea.hackspace.org.uk
>>
>> You can reach the person managing the list at
>>         hackspace-owner at swansea.hackspace.org.uk
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Hackspace digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re: Hackspace Digest, Vol 11, Issue 1 (Tim Moore)
>>    2. Re: Re: Hackspace Digest, Vol 11, Issue 1 (Justin Mitchell)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 7 Nov 2013 10:22:08 +0000
>> From: Tim Moore <timmoore47 at gmail.com>
>> Subject: [Swansea Hackspace] Re: Hackspace Digest, Vol 11, Issue 1
>> To: hackspace at swansea.hackspace.org.uk
>> Message-ID:
>>         <
>> CAAEY5oOEtrH3CtbAfOzL-69ULPho4AHaYFzE9zyUoNYUfns-Dw at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Thoroughly enjoy the meeting and new Venue was fine.
>>
>> Now the technical bit:-
>>
>> The use of the USB to get hex files loaded into a Pic is a major advance !
>>
>> However having proved my Programmer worked OK and the bootloader settles
>> into my 16F1455, I missed out on some other vital details.
>>
>> I thought I'd use a 64 bit PC running Ubuntu 13.4 Linux as the main
>> computer for down loading hex files into the 16F1455.
>>
>> The file I'm trying to get work is 'boot_linux.x_64'  :  Now here comes a
>> string of questions:-
>>
>> The suggestion is to start with:-   boot -v  myproject.hex
>>
>> 1_      is best in a folder called 'bin' ?  in the root directory ? or in
>> the 'home' directory ?
>>
>> 2_      does 'boot_linux.x_64' need renaming 'boot' for ease of use ?
>>
>> 3_      using bash with sudo invoked , is it best to be in the 'bin'
>> folder
>> ?
>>
>> 4_      does its properties need changing for it to execute ?  If so what
>> is the command and syntax ?
>>
>> ( I'm used to getting shell scripts working and excecuting, but am a blank
>> slate on getting this working)   (Maybe there is a paragraph of
>> instructions I've missed somewhere)
>>
>> So far I've not met with 'boot' waking up when invoked just error
>> messages...   giving me the feeling I've missed something 'noddy' along
>> the
>> way.
>>
>> Any thoughts very welcomw !
>>
>> :  )))
>>
>> Tim_1
>>
>>
>>
>> On 1 November 2013 12:00, <hackspace-request at swansea.hackspace.org.uk
>> >wrote:
>>
>> > Send Hackspace mailing list submissions to
>> >         hackspace at swansea.hackspace.org.uk
>> >
>> > To subscribe or unsubscribe via the World Wide Web, visit
>> >         http://stoneship.org.uk/mailman/listinfo/hackspace
>> > or, via email, send a message with subject or body 'help' to
>> >         hackspace-request at swansea.hackspace.org.uk
>> >
>> > You can reach the person managing the list at
>> >         hackspace-owner at swansea.hackspace.org.uk
>> >
>> > When replying, please edit your Subject line so it is more specific
>> > than "Re: Contents of Hackspace digest..."
>> >
>> >
>> > Today's Topics:
>> >
>> >    1. [Announce] Technical Meeting -    Micro-Controllers Workshop #1
>> >       (Justin Mitchell)
>> >
>> >
>> > ----------------------------------------------------------------------
>> >
>> > Message: 1
>> > Date: Thu, 31 Oct 2013 19:24:42 +0000
>> > From: Justin Mitchell <justin at discordia.org.uk>
>> > Subject: [Swansea Hackspace] [Announce] Technical Meeting -
>> >         Micro-Controllers Workshop #1
>> > To: hackspace at swansea.hackspace.org.uk
>> > Message-ID: <1383247482.7395.13.camel at emerald.geode.org.uk>
>> > Content-Type: text/plain; charset="UTF-8"
>> >
>> > 7pm Monday 4th November 2013
>> > Volcano Theatre, 229 High Street, Swansea.
>> >
>> > A hands on workshop teaching the basics of using small, cheap computing
>> > devices to build circuits that can automate and interact with the
>> > physical world. This session will be covering the Getting Started
>> > (buttons and lights) and Communications (serial ports) tutorials.
>> >
>> > Participants will need to bring their Starter Kit and a suitable laptop,
>> > it would be advisable to download and install the software in advance
>> > (links on the website). I have a few loan kits for anyone that doesn't
>> > already have a Starter Kit.
>> >
>> > Thanks to Volcano Swansea  for the generous use of their meeting space
>> > for this event.
>> >
>> >
>> >
>> >
>> > ------------------------------
>> >
>> > _______________________________________________
>> > Hackspace mailing list
>> > Hackspace at swansea.hackspace.org.uk
>> > http://stoneship.org.uk/mailman/listinfo/hackspace
>> >
>> >
>> > End of Hackspace Digest, Vol 11, Issue 1
>> > ****************************************
>> >
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20131107/5e2eb830/attachment-0001.html
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Thu, 07 Nov 2013 15:13:33 +0000
>> From: Justin Mitchell <justin at discordia.org.uk>
>> Subject: Re: [Swansea Hackspace] Re: Hackspace Digest, Vol 11, Issue 1
>> To: hackspace at swansea.hackspace.org.uk
>> Message-ID: <1383837213.28738.5.camel at justin.llw.rokcorp.com>
>> Content-Type: text/plain; charset="UTF-8"
>>
>> On Thu, 2013-11-07 at 10:22 +0000, Tim Moore wrote:
>>
>>
>> > The file I'm trying to get work is 'boot_linux.x_64'  :  Now here
>> comes a string of questions:-
>> >
>> >
>> > The suggestion is to start with:-   boot -v  myproject.hex
>> >
>> >
>> > 1_      is best in a folder called 'bin' ?  in the root directory ? or
>> > in the 'home' directory ?
>>
>> Either just leave a copy in the directory you like working in, or
>> install it for the whole system by putting it in /usr/local/bin/
>>
>> > 2_      does 'boot_linux.x_64' need renaming 'boot' for ease of use ?
>> whatever you want to call it, just dont name it after an existing
>> command on your system or itll be very confusing.
>>
>> > 3_      using bash with sudo invoked , is it best to be in the 'bin'
>> > folder ?
>> doesnt matter what directory you are in when you do a sudo
>>
>> if you add your username to whatever group owns /dev/ttyUSB0 which is
>> often the 'dialout' group, then you wont need sudo.
>>
>> also make sure you dont have modemmanager installed, (an optional part
>> of NetworkManager) as it will keep grabbing the serial port and sending
>> it gibberish (AT modem commands).
>>
>> > 4_      does its properties need changing for it to execute ?  If so
>> > what is the command and syntax ?
>> it needs to have the execute bits set, yes.
>> eg chmod a+x ./boot_linux.x86_64
>>
>> Hope that addresses everything
>>
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Hackspace mailing list
>> Hackspace at swansea.hackspace.org.uk
>> http://stoneship.org.uk/mailman/listinfo/hackspace
>>
>>
>> End of Hackspace Digest, Vol 11, Issue 2
>> ****************************************
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20131109/a127fc80/attachment.html>


More information about the Hackspace mailing list