EB039 USB232 issue

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
B4rzan
Posts: 6
Joined: Mon Oct 03, 2011 10:51 am
Has thanked: 1 time

EB039 USB232 issue

Post by B4rzan »

Hi all,

I have a complete Matrix Multimedia Development System. I recently tried the USB232 eblock and I downloaded the test file on you're site. It seems to be working but I am seeing random characters on my pc!

When you send the EB039 hex file, it says please press A0 to continue. When I press A0, the following random characters are shown on my terminal window (please see the screenshot)! these characters to show in that format, is it a normal thing or have I got problem with connections.

p.s. I am using pic16f877a. Jumpers are left as default (j3=C and j4=1)
Image

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times

Re: EB039 USB232 issue

Post by dazz »

Hi
Can you follow the link in my sig and sign up to the relevant forum , and post your flowchart , as this will allow others to check theres not a mistake in the flowchart and also will get you a prompter responce

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times

Re: EB039 USB232 issue

Post by kersing »

Have you set the clock switches correctly (XTAL and FAST)? And is the default crystal fitted onto the EB006?
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

B4rzan
Posts: 6
Joined: Mon Oct 03, 2011 10:51 am
Has thanked: 1 time

Re: EB039 USB232 issue

Post by B4rzan »

Yes I have set my clock to xtal and fast on the eb006 board. I am not using flow code am just using the test program made by mm to test the USB232 board.

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times

Re: EB039 USB232 issue

Post by kersing »

In my experience with serial connections (and the connection between the 16f877a and the EB039 is a serial one) unreadable data is usually caused by components using mismatched speed settings.

If you run the test a couple of times do you receive the same data or do you get random data? Could you set the 'Data Format' to HEX to see if any non-printable characters are received?
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

B4rzan
Posts: 6
Joined: Mon Oct 03, 2011 10:51 am
Has thanked: 1 time

Re: EB039 USB232 issue

Post by B4rzan »

Thank you very much "Kersing", the problem was indeed the speed of the clock. to be fair it was stated in the test routine document that the system should be running on 19.6608MHz. I replaced the clock from 8MHz to 20MHz, problem solved. thanks

Post Reply