Author Topic: SBC44UC Interface  (Read 6820 times)

JoshG

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
SBC44UC Interface
« on: December 10, 2007, 04:04:41 AM »
Hello my group has just recently purchased two of your development boards, the SBC44EC and the SBC44UC, for help in developing our senior project for college and we have run into some difficulties concerning communication between a computer and the SBC44UC. We decided that utilizing the USB features, over the Ethernet, would work better with our final project but have run into the issue that we really have very little, to no, experience with coding data transfer over USB. We have realized that I2C is required but with the examples in the code, FLASH1 is the closest to what we would like, we still haven't figured out the data transfer from a computer to the board. Simply enough we would like create a small program that when run would output a high to the SBC44UC which in turn would have a port on the board high for a few milliseconds so our PIC18f452 will recognize the change as an action. Later when we build our user interface, thinking of using VB6, we will attempt to create Bi-directional communication for monitoring purposes of project on the computer.

Any helpful information, websites or would be great code examples, would be very much so appreciated.

-JoshG

modtro2

  • Administrator
  • Hero Member
  • *****
  • Posts: 564
    • View Profile
Re: SBC44UC Interface
« Reply #1 on: December 10, 2007, 02:55:50 PM »
Have you had a look at the VB demo projects from SK Pang yet?

http://forum.modtronix.com/index.php?topic=820.0
and
http://forum.modtronix.com/index.php?topic=800.0

This seems like what you want to do.

JoshG

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: SBC44UC Interface
« Reply #2 on: December 10, 2007, 07:12:28 PM »
Thanks for your response!

No I haven't looked at that but I just tried to load the page and I'm getting an error on loading of the website, is anyone else having this problem?

-JoshG

sk_uk

  • Hero Member
  • *****
  • Posts: 80
    • View Profile
    • http://www.skpang.co.uk
Re: SBC44UC Interface
« Reply #3 on: December 10, 2007, 11:46:32 PM »
The pages are loading ok for me.

JoshG

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: SBC44UC Interface
« Reply #4 on: December 11, 2007, 03:55:27 AM »
For some reason that webpage is blocked in my area, regardless I just used a proxy and got in.

These look great I would love to do some editing of my own to combine both programs into one, if that is ok with the original author, I know open source but still would just like to ask.

Also at the bottom of the page are links to the source code for the VB project and for the PIC18F4550 and was wondering the hex under the _output folder, is that what I must download into the board for VB to function?

Thanks again for all the help!

-JoshG

sk_uk

  • Hero Member
  • *****
  • Posts: 80
    • View Profile
    • http://www.skpang.co.uk
Re: SBC44UC Interface
« Reply #5 on: December 11, 2007, 10:57:34 AM »
Yes, you are welcome to use the code in your own program. I just would like to ask you to leave the header with the name a date in place.

The _output folder contains the hex file for the SBC44UC board. Program the board with this hex file and run the VB.net
program.

Enjoy.

JoshG

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: SBC44UC Interface
« Reply #6 on: December 11, 2007, 07:58:07 PM »
Thank you very much for this code and when we finish the project if no one will object I will post our finished code!

Quick question I have the PICkit 2 programmer utilizing MPLAB 8 for handling the C and MS Visual Basic for the program but I tried to connect the SBC44UC to the my computer to download the hex and cannot make a connection says something about the PIC18f4550 not installed/configured properly

Do I have to jump the pins to get into bootloader mode or normal mode to transfer the hex file? Either way could MPLAB be used to transfer the hex file with the import settings under the File dropdown menu? Or do I have to use a program like Tera Term Pro for hex transfer?

-JoshG



sk_uk

  • Hero Member
  • *****
  • Posts: 80
    • View Profile
    • http://www.skpang.co.uk
Re: SBC44UC Interface
« Reply #7 on: December 12, 2007, 01:01:57 PM »
You don't need the PICkit2 to program the SBC44UC as it already has a bootloader.

Download the software from:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2124&param=en532204&page=wwwFullSpeedUSB

JoshG

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: SBC44UC Interface
« Reply #8 on: December 12, 2007, 01:38:36 PM »
So I can simply set the board to bootloader mode and then use the USB for transfer?

Wow that's good to know!!! So I just simply download the software and utilize its transfer protocols? That rules.

Thanks for the help

-Josh