Vitat's homepage
29 Apr 2024, 09:29
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: 21.03.08 Произведено обновление сайта/Site was updated
Home
Forum
Help
Search
Login
Register
Vitat's homepage
>
Forum
>
General
>
MP3
>
IP-BUS to Computer
Pages:
1
[
2
]
Go Down
« previous
next »
Print
Author
Topic: IP-BUS to Computer (Read 30680 times)
0 Members and 1 Guest are viewing this topic.
Vitat
Administrator
Full Member
Gender:
Posts: 338
Re: IP-BUS to Computer
«
Reply #15 on:
27 Dec 2006, 12:50 »
Quote from: GnatGoSplat on 27 Dec 2006, 04:26
Yeah, Mega8 has fuse bits or option bits. I know the one needs to be set for external oscillator, but I don't know what to do about the rest. I wonder if that's why my HU doesn't recognize M-CD?
You don't read main site?
http://www.vitat.spb.ru/eng/index.php?L1=ip-bus
You can found screenshot with fuse bits.
http://www.vitat.spb.ru/files/ip-bus/lockbits&fuses.jpg
Logged
GnatGoSplat
Junior
Posts: 11
Re: IP-BUS to Computer
«
Reply #16 on:
29 Dec 2006, 09:23 »
Sorry, I did find the image earlier and forgot to update my post, but those fuse settings don't seem to work and they kill the ISP.
Maybe I didn't translate them correctly? I am using AVRStudio4 and the fuse settings look a little different. What program did that screenshot come from?
You have CKSEL0, CKSEL1, CKSEL2, CKSEL3 = unchecked. Is that same as CKSEL=[0000]? SUT0 = checked, SUT1 = unchecked, is that same as SUT=[10]? BOOTRST=unchecked, is that same as BOOTRST=0 or BOOTRST=1? I think AVRStudio4 BOOTRST checked is same as BOOTRST=0.
Maybe it would be easier if I just use the same program as you used, but my programmer is an Atmel Dragon so the program I use must support it.
Can you tell me the hex values of the fuse bytes?
Logged
Vitat
Administrator
Full Member
Gender:
Posts: 338
Re: IP-BUS to Computer
«
Reply #17 on:
29 Dec 2006, 11:00 »
checked = programmed = "0"
In AVR, programmed = 0, unprogrammed = 1.
I used YAPP and I say it on main site too.
Logged
GnatGoSplat
Junior
Posts: 11
Re: IP-BUS to Computer
«
Reply #18 on:
03 Jan 2007, 05:24 »
Ok, I see YAPP. I can't use YAPP since it doesn't support Atmel Dragon.
I found a handy fuse calculator here:
Fuse Calculator
I think I have the fuses set correctly, 0x2F & 0xC9.
Still no communication though. I must have a hardware problem somewhere.
Logged
GnatGoSplat
Junior
Posts: 11
Re: IP-BUS to Computer
«
Reply #19 on:
01 Oct 2007, 06:11 »
Okay, I am now revisiting this project 10-months later!
Unfortunately, I was never able to get it to work. I am almost certain the circuitry is assembled correctly, but I'm not sure. I tried to diagnose the problem by myself, but I am lacking in any real electronics knowledge.
I took some measurements of various test points on my circuit with a scope, would somebody please take a look and tell me if anything looks wrong?
This is the schematic of my interface showing the test point locations.
TP1 - Atmega8 Pin 14
TP2 - 2SA733 Base
TP3 - 2SA733 Collector
TP4 - LM339 Pin 3
TP5 - LM339 Pin 1
IP Bus TTL signal I measured on an HA12240FP inside a CD-IB100
Link to the pics above
Any help will be greatly appreciated!
Logged
Vitat
Administrator
Full Member
Gender:
Posts: 338
Re: IP-BUS to Computer
«
Reply #20 on:
03 Oct 2007, 14:09 »
Scope pics make with connected HU?
Can you upload firmware with diagnostic on?
Logged
GnatGoSplat
Junior
Posts: 11
Re: IP-BUS to Computer
«
Reply #21 on:
04 Oct 2007, 23:07 »
Yes, scope pics are with connected HU (Pioneer AVIC-D2).
What do you mean by upload firmware with diagnostics on? The firmware was already uploaded.
Thanks.
Logged
Vitat
Administrator
Full Member
Gender:
Posts: 338
Re: IP-BUS to Computer
«
Reply #22 on:
05 Oct 2007, 01:08 »
Uncomment
#define LOG
and
#define ANSWER_A1
strings. And recompile firmware. Upload to emulator. Connect emulator to PC. Open any terminal programm.
Logged
Pages:
1
[
2
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> MP3
=> General
TinyPortal v1.0.5 beta 1©
Bloc
Loading...