USb IO Board

Post Reply
tanvirkhan
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD
Contact:

USb IO Board

Unread post by tanvirkhan » Tue Apr 08, 2014 2:20 pm

Hi
Have any body used the usb IO board http://dev.odroid.com/projects/pic18f45 ... /FrontPage? how to access its IOs? any souce code etc? plz guide

User avatar
Digimaster
Posts: 220
Joined: Tue Feb 26, 2013 4:16 pm
languages_spoken: english, russian
ODROIDs: U2, X2, U3, C1, C2, XU4 × 300+
Location: Moscow, Russia
Contact:

Re: USb IO Board

Unread post by Digimaster » Tue Apr 08, 2014 2:36 pm

I have one, but not tested yet due to lack of time. As I can see everything is well documented. I suppose there shouldn't be any problem using it.

tanvirkhan
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD
Contact:

Re: USb IO Board

Unread post by tanvirkhan » Tue Apr 08, 2014 2:39 pm

@Digimaster can you please share that?

tanvirkhan
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD
Contact:

Re: USb IO Board

Unread post by tanvirkhan » Tue Apr 08, 2014 2:42 pm

I have compiled using the prescribed procedure and it is compiled successfully but when i upload it, it does not work.

User avatar
odroid
Site Admin
Posts: 29651
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: USb IO Board

Unread post by odroid » Tue Apr 08, 2014 4:35 pm

Did you press the button to activate the upload mode?

Refer this link too.
http://forum.odroid.com/viewtopic.php?f=53&t=174

tanvirkhan
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD
Contact:

Re: USb IO Board

Unread post by tanvirkhan » Tue Apr 08, 2014 5:55 pm

yes. and code is uploaded successfully. can you plz send the source code whose hex file is pre built in the board so that I can make changes in that code?

User avatar
odroid
Site Admin
Posts: 29651
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: USb IO Board

Unread post by odroid » Tue Apr 08, 2014 6:37 pm

The source code and prebuilt Hex files are already available.
http://dev.odroid.com/projects/pic18f45 ... Page#s-3.6

tanvirkhan
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD
Contact:

Re: USb IO Board

Unread post by tanvirkhan » Tue Apr 08, 2014 6:44 pm

but its not working. I am compiling it in C18 compiler. pre built hex file and compiled hex files are different.

User avatar
odroid
Site Admin
Posts: 29651
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: USb IO Board

Unread post by odroid » Tue Apr 08, 2014 8:15 pm

Did you compile this source?
https://github.com/hardkernel/Odroid-US ... s/Firmware
It works well.

tanvirkhan
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD
Contact:

Re: USb IO Board

Unread post by tanvirkhan » Wed Apr 09, 2014 12:58 pm

yes. but i dont know wether there is something wrong with compiler and directory etc.

User avatar
odroid
Site Admin
Posts: 29651
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: USb IO Board

Unread post by odroid » Wed Apr 09, 2014 4:20 pm

We've just tested it with the latest tools and we can confirm it works.

PIC C18- Compiler : MPLAB C for PIC18 v3.47 Standard-Eval Version
http://ww1.microchip.com/downloads/en/D ... taller.exe

MPLABX-IDE v2.05
http://www.microchip.com/mplabx-ide-windows-installer

tanvirkhan
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD
Contact:

Re: USb IO Board

Unread post by tanvirkhan » Sat Apr 12, 2014 7:33 pm

Thanks Odroid: It works now. do you have LCD code for this board? or any other code for this board?

User avatar
odroid
Site Admin
Posts: 29651
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: USb IO Board

Unread post by odroid » Sun Apr 13, 2014 6:51 pm

You can find the schematics and source code for the character LCD interface in this link.
http://odroid.com/dokuwiki/doku.php?id= ... smartpower

tanvirkhan
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD
Contact:

Re: USb IO Board

Unread post by tanvirkhan » Tue Apr 15, 2014 1:40 pm

Thanks odroid.

tanvirkhan
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD
Contact:

Re: USb IO Board

Unread post by tanvirkhan » Tue Apr 15, 2014 1:56 pm

But the link is not working. This error is shown
Error 503 : Service Temporarily Unavailable

User avatar
odroid
Site Admin
Posts: 29651
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: USb IO Board

Unread post by odroid » Tue Apr 15, 2014 6:36 pm

That link is alive.
You might need to check your internet connection or firewall.
Try the link with your smartphone.

tingel2k
Posts: 2
Joined: Thu Jun 20, 2013 8:35 pm
languages_spoken: english
Contact:

Re: USb IO Board

Unread post by tingel2k » Tue Jun 24, 2014 10:32 pm

Hi,

I just wanted to compile the firmware from github https://github.com/hardkernel/Odroid-US ... s/Firmware. Therefore I installed the MPLAB IDE and PIC compiler. When I open the project and want to compile the source code, I always get a missing header error. Can somebody print his compiler includes here please? Of course I tried include the targeted dir, but then came more errors up and if I include an parant dir, I can't include subdirs explictly.

Thanks Tingel2k

tingel2k
Posts: 2
Joined: Thu Jun 20, 2013 8:35 pm
languages_spoken: english
Contact:

Re: USb IO Board

Unread post by tingel2k » Wed Jun 25, 2014 2:47 am

Hi folks,

I managed to solve that linker problem, I recently ignored the extra include dirs for the mc18. My bad.
And I forgot to copy the p18f45k50.lib within a path without whitespaces, which was not so simple to find out, because the libs are under "C:\Program files(x86)\Microchip\mplabc18\ .... " in my case.
But so far, firmware is compiled.

Thanks Tingel2k

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest