I got jaluino USB working

25 views
Skip to first unread message

Sunish Issac

unread,
Jul 10, 2010, 2:43:43 AM7/10/10
to jal...@googlegroups.com
I just now got jaluino working with USB bootloader.

So here's what was done

1. Download the Alberts 4550 USB bootloader hex from

http://jaluino.googlecode.com/svn/trunk/bootloaders/pdfusb/18f4550_usb_bootloader_autostart.hex

2. I was using MPlab and PICstart, so import the hex file and program 18f4550. The right configuration bits are there in the hex file.

3. Now get hold of the USB drivers, the official one is at http://ww1.microchip.com/downloads/en/devicedoc/MCHP_App_Lib_v2010_04_28_Installer.zip
Its a huge download(80MB), looks like separate downloads having the win32 uploader and USB drivers are not available.
Install the executable.

4. Plugin our jaluino board with the right USB cable. Select the driver folder as C:\Microchip Solutions\USB Tools\MCHPUSB Custom Driver\MCHPUSB Driver\Release.

5.Start PDFUSB from C:\Microchip Solutions\USB Tools\Pdfsusb. If all is well you should be able to see the PIC dem board in the selection list. Load the sample hex file and click program.

I couldn't get editra working on the machine I tested. So with jaledit, I had to ensure the compilation is with no fuses and loader18 2048. Its important the bootpreample location is 2048. I also had to select jaluino lib folder for compiling jaluini_medium_blink.

Sunish

Sebastien Lelong

unread,
Jul 10, 2010, 3:57:13 AM7/10/10
to jal...@googlegroups.com
Hi Sunish,

Thanks for your feedback. Did you also try following intructions here ? http://justanotherlanguage.org/content/jaluino/getting_started/bootloaders section "PDFUSB installation and configuration". I don't think you have to install this 80MB download, and you should get it working from JaluinoIDE/Editra quite straightforwared (or from Jaledit I guess).

About Editra, can you tell me more what's going wrong ? See http://justanotherlanguage.org/content/jaluino/getting_started/installation
Ca you run Editra ? Can't you see JaluinoIDE plugin ?

Cheers
Seb

Sunish Issac

unread,
Jul 10, 2010, 4:09:21 AM7/10/10
to jal...@googlegroups.com
On Sat, Jul 10, 2010 at 1:27 PM, Sebastien Lelong <sebastie...@gmail.com> wrote:
Hi Sunish,

Thanks for your feedback. Did you also try following intructions here ? http://justanotherlanguage.org/content/jaluino/getting_started/bootloaders section "PDFUSB installation and configuration". I don't think you have to install this 80MB download, and you should get it working from JaluinoIDE/Editra quite straightforwared (or from Jaledit I guess).

If my understanding is right the microchip drivers have to be installed on windows. There's the link to the sources of the bootloader, but without microchip usb windows drivers it will not work. No mention is made in the link provided or I couldn't "see"
 

About Editra, can you tell me more what's going wrong ? See http://justanotherlanguage.org/content/jaluino/getting_started/installation
Ca you run Editra ?
I can run editra, I downloaded the latest version from editra.org. Ran install.py but couldn't find the plugin.

Sunish
 

Sebastien Lelong

unread,
Jul 10, 2010, 4:34:04 AM7/10/10
to jal...@googlegroups.com
2010/7/10 Sunish Issac <sunish.net@gmail.com>


On Sat, Jul 10, 2010 at 1:27 PM, Sebastien Lelong <sebastie...@gmail.com> wrote:
Hi Sunish,

Thanks for your feedback. Did you also try following intructions here ? http://justanotherlanguage.org/content/jaluino/getting_started/bootloaders section "PDFUSB installation and configuration". I don't think you have to install this 80MB download, and you should get it working from JaluinoIDE/Editra quite straightforwared (or from Jaledit I guess).

If my understanding is right the microchip drivers have to be installed on windows. There's the link to the sources of the bootloader, but without microchip usb windows drivers it will not work. No mention is made in the link provided or I couldn't "see"

OK
 
 

About Editra, can you tell me more what's going wrong ? See http://justanotherlanguage.org/content/jaluino/getting_started/installation
Ca you run Editra ?
I can run editra, I downloaded the latest version from editra.org. Ran install.py but couldn't find the plugin.

What's inC:\\Documents and Settings\YOUR_USER_NAME\Application Data\Editra\plugins\  directory ? You should have egg files copied, as well as some XML files in directory ? You should have egg files copied, as well as some XML files in ..\cache

Do you run python2.5 ? Mandatory under windows with Editra, this is because (IIRC) Editra embeds its own python interpreter in its installer. Maybe a future version could have a higher version ? I'll ask to Cody (Editra author).


Cheers
Seb

Sunish Issac

unread,
Jul 10, 2010, 6:13:22 AM7/10/10
to jal...@googlegroups.com
On Sat, Jul 10, 2010 at 2:04 PM, Sebastien Lelong <sebastie...@gmail.com> wrote:


2010/7/10 Sunish Issac <sunish.net@gmail.com>


On Sat, Jul 10, 2010 at 1:27 PM, Sebastien Lelong <sebastie...@gmail.com> wrote:
Hi Sunish,

Thanks for your feedback. Did you also try following intructions here ? http://justanotherlanguage.org/content/jaluino/getting_started/bootloaders section "PDFUSB installation and configuration". I don't think you have to install this 80MB download, and you should get it working from JaluinoIDE/Editra quite straightforwared (or from Jaledit I guess).

If my understanding is right the microchip drivers have to be installed on windows. There's the link to the sources of the bootloader, but without microchip usb windows drivers it will not work. No mention is made in the link provided or I couldn't "see"

OK
 
 

About Editra, can you tell me more what's going wrong ? See http://justanotherlanguage.org/content/jaluino/getting_started/installation
Ca you run Editra ?
I can run editra, I downloaded the latest version from editra.org. Ran install.py but couldn't find the plugin.

What's inC:\\Documents and Settings\YOUR_USER_NAME\Application Data\Editra\plugins\  directory ? You should have egg files copied, as well as some XML files in directory ? You should have egg files copied, as well as some XML files in ..\cache

I'm running OS7

C:\Users\sunish\AppData\Roaming\Editra\Plugins
seems to be the path you are referring to.

It has 4 .egg files and the cache has xml files.


Do you run python2.5 ? Mandatory under windows with Editra, this is because (IIRC) Editra embeds its own python interpreter in its installer. Maybe a future version could have a higher version ? I'll ask to Cody (Editra author).

Yes I have Python 2.5 and wxwidgets.

Sunish
Reply all
Reply to author
Forward
0 new messages