USb IO Board

Moderators: odroid, mdrjr

USb IO Board

Unread postby 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
tanvirkhan
 
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD

Re: USb IO Board

Unread postby 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.
User avatar
Digimaster
 
Posts: 220
Joined: Tue Feb 26, 2013 4:16 pm
Location: Moscow, Russia
languages_spoken: english, russian
ODROIDs: U2, X2, U3, C1, C2, XU4 × 300+

Re: USb IO Board

Unread postby 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

Re: USb IO Board

Unread postby 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.
tanvirkhan
 
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD

Re: USb IO Board

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

Did you press the button to activate the upload mode?

Refer this link too.
viewtopic.php?f=53&t=174
User avatar
odroid
Site Admin
 
Posts: 29073
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USb IO Board

Unread postby 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?
tanvirkhan
 
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD

Re: USb IO Board

Unread postby 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
User avatar
odroid
Site Admin
 
Posts: 29073
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USb IO Board

Unread postby 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.
tanvirkhan
 
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD

Re: USb IO Board

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

Did you compile this source?
https://github.com/hardkernel/Odroid-US ... s/Firmware
It works well.
User avatar
odroid
Site Admin
 
Posts: 29073
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USb IO Board

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

yes. but i dont know wether there is something wrong with compiler and directory etc.
tanvirkhan
 
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD

Re: USb IO Board

Unread postby 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
User avatar
odroid
Site Admin
 
Posts: 29073
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USb IO Board

Unread postby 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?
tanvirkhan
 
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD

Re: USb IO Board

Unread postby 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
User avatar
odroid
Site Admin
 
Posts: 29073
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USb IO Board

Unread postby 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

Re: USb IO Board

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

But the link is not working. This error is shown
Error 503 : Service Temporarily Unavailable
tanvirkhan
 
Posts: 19
Joined: Mon Mar 31, 2014 4:28 pm
languages_spoken: english
ODROIDs: USB IO BOARD

Re: USb IO Board

Unread postby 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.
User avatar
odroid
Site Admin
 
Posts: 29073
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USb IO Board

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

Hi,

I just wanted to compile the firmware from github https://github.com/hardkernel/Odroid-USBIO/tree/master/Microchip%20Solutions%20v2012-10-15/USB/Device%20-%20HID%20-%20Custom%20Demos/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

Re: USb IO Board

Unread postby 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
tingel2k
 
Posts: 2
Joined: Thu Jun 20, 2013 8:35 pm
languages_spoken: english


Return to Projects

Who is online

Users browsing this forum: No registered users and 1 guest