Keeeper! Full Member
   Karma:
3 [applaud]
[smite]
Gender:
 Posts: 219

A Trivial one.
|
 |
Re:Flash cart question
(neviksti) « Reply
#25 on: Mar 10th a 09:32:42pm » |
|
Quote
from: The Dumper on Mar 8th a
10:37:39pm
I'd be interested in
these. Do you have the SWC DX2
schematics? You wouldn't by any chance
have the ASM source code for the DX2 ROM BIOS
would
you?
|
Hum,
no ASM. The pictures are quite large, but i'll
release then somewhere in the net, than mail
you, ok?
By the way Model DX 9304 is one
of them, I need to check for others. |
|
Logged |
If you want inspiring
music try Cocteau Twins
| | |
GazP Newbie
 Karma:
2 [applaud]
[smite]
Gender:
 Posts: 7

|
 |
Re:Flash cart question
(neviksti) « Reply
#26 on: Mar 11th a 03:01:34am » |
|
I'd be interesested in these as well! |
|
Logged | | | |
The
Dumper Newbie
 Karma:
9 [applaud]
[smite]
Gender:
 Posts: 10

I
love YaBB SE!
|
 |
Re:Flash cart question
(neviksti) « Reply
#27 on: Mar 11th a 03:08:52am » |
|
> Hum, no ASM. The pictures are quite large,
but i'll release then somewhere in the net, than
mail you, ok?
That would be great,
thanks.
|
|
Logged | | | |
Keeeper! Full Member
   Karma:
3 [applaud]
[smite]
Gender:
 Posts: 219

A Trivial one.
|
 |
Re:Flash cart question
(neviksti) « Reply
#28 on: Mar 13th a 12:50:40am » |
|
Have you received them?
I just send it
yesterday. |
|
Logged |
If you want inspiring
music try Cocteau Twins
| | |
The
Dumper Newbie
 Karma:
9 [applaud]
[smite]
Gender:
 Posts: 10

I
love YaBB SE!
|
 |
Re:Flash cart question
(neviksti) « Reply
#29 on: Mar 13th a 08:36:03am » |
|
I haven't seen anything.
Could you mail
the link to snesdumper@yahoo.com
?
Thanks
|
|
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#30 on: Mar 13th a 09:39:02pm » |
|
Neviksti, I am ready to build the
reader/programmer. the parts I ordered
came in. |
|
Logged | | | |
neviksti Newbie
 Karma:
42 [applaud]
[smite]
Gender:
 Posts: 45

|
 |
Re:Flash cart question
(neviksti) « Reply
#31 on: Mar 15th a 06:48:14pm » |
|
OK, I'll try to write that program for you real
quick. Let's start simple. I'll have it be
able to dump a LoRom cart. Sound
good?
Once we get that working we can
expand to other things. |
|
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#32 on: Mar 15th a 08:53:21pm » |
|
ok, sounds good.
here is a list of my
snes games.
Baseball simulator
1.000 BattleToads in BattleManiacs Donkey
Kong Country 3 Far east of eden Zero
(SPC7110/RTC game) HyperZone Mario
Paint Super Mario Kart (DSP1 game) Super
Mario World Star Fox (SFX game) Terranigma
(german version) Wizardry V
Thats all
of them. which of these do you know are
lo-rom? |
|
Logged | | | |
neviksti Newbie
 Karma:
42 [applaud]
[smite]
Gender:
 Posts: 45

|
 |
Re:Flash cart question
(neviksti) « Reply
#33 on: Mar 16th a 02:13:44am » |
|
Super Mario World will work just fine - however
I haven't sat down long enough to get the
program to that point yet.
I've always
had a slight bug with my atmel programmer.
I was hoping to get rid of it with this new
version. But no luck ... I still can't quite
figure it out. I'm fairly convinced that
it has something to do with Window's
timing. Oh well, I just upped what
my program considers the 'time out' time ...
when it thinks the Atmel is taking so long to do
something that something is wrong. Oh
well, it works fine like that ... it just bugs
me that when I run programs under windows, I
can't trust it to get the same result when I run
it several times with the same data.
Whatever.
Anyway, I finished the 'core'
of the PC side of the program. Can you
just run it for me to make sure this works on
your hardware?
http://repyh.homestead.com/files/prog.zip
Just
run test.bat and tell me what it says (hopefully
no errors). Anyway, I moved a few wires on
my previous programmer to match the design we
were talking about ... and it worked with the PC
program. So this is just a test that we're
on the same page.
Oh, and just to be
safe, don't plug a cartridge in while running
that program. It just communicates with
the Atmel to see if I can load data to it.
However, the data is just a chunk of some old
program ... just junk data, so I have no idea
what it will do. I haven't really started
the Atmel side of things yet. |
|
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#34 on: Mar 16th a 02:26:33am » |
|
here is what came
up.
C:\WINDOWS\Desktop\prog>prog -wp
test.rom
Program is set to
Write. Transfer type is set to Atmel AVR
program memory. Average time per write to
DATA port = 0.933333
usec Average time per write to CONTROL
port = 1.100000 usec Average time
per read from DATA port =
0.900000 usec Average time per read from
STATUS port = 1.100000
usec
Programming
enable...
Erasing
Programming
enable...
Sending data Reset set
high... Atmel AVR should be runnning program
now. C:\WINDOWS\Desktop\prog>
Is
this the expected result? |
|
Logged | | | |
neviksti Newbie
 Karma:
42 [applaud]
[smite]
Gender:
 Posts: 45

|
 |
Re:Flash cart question
(neviksti) « Reply
#35 on: Mar 16th a 02:42:04am » |
|
Yes, that is exactly what is supposed to
happen.
What OS do you use? ... because
those timings that are printed out, your times
are correct. But on my computer they're
not quite right, and aren't very consistant
between runs. Oh well.
Anyway, it
looks like my software is working fine with the
pieces you put together. So I just need to
finish it up now. Its past 5 in the
morning here. Sorry I didn't actually
spend much time programming. But I'm
tired. I promise I'll finally sit down and
do it tomorrow .... hopefully 
Goodnight.
|
|
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#36 on: Mar 16th a 02:46:05am » |
|
timing isn't even consistent between runs on my
computer. it just so happened that the first run
was correct.
anyways, I am using 98 SE
|
|
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#37 on: Mar 16th a 05:12:30pm » |
|
neviksti, are you still writing the code for the
atmel, to dump a lorom game? |
|
Logged | | | |
neviksti Newbie
 Karma:
42 [applaud]
[smite]
Gender:
 Posts: 45

|
 |
Re:Flash cart question
(neviksti) « Reply
#38 on: Mar 16th a 05:13:28pm » |
|
OK, I had time to do a little more.
(broken link)
It
still doesn't look like much, but I finished the
main core of the Atmel program and finished the
communications protocal between PC <-->
Atmel. It should be fairly easy after
this.
Anyway, the batch file will load
the AVR program onto the atmel chip and then
attempt to communicate with it. It will
print every non-zero character that is sent
over. Right now the atmel will just send
over a few characters and then a stream of
zero's ... so you should see a little
message. Then the program should just sit
there ... a constant stream of data is going
back and forth, and the program will complain if
the Atmel times out. So the best result is
for it to print the message ... then sit there
saying nothing because the data stream is
working.
I moved more wires to test it
out on my side and it works fine. Let me
know if there are any problems, in the mean time
I'll write something to dump the cartridge
header ... and hopefully the ROM. Then we
can test it for real. |
|
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#39 on: Mar 16th a 05:16:26pm » |
|
Here is the end result of your second test
program.
Programming
enable...
Erasing
Programming
enable...
Sending data Reset set
high... Atmel AVR should be runnning program
now. C:\WINDOWS\Desktop\prog>prog -rp
blah.txt
Program is set to
Read. Transfer type is set to Atmel AVR
program memory. Average time per write to
DATA port = 0.900000
usec Average time per write to CONTROL
port = 1.100000 usec Average time
per read from DATA port =
0.933333 usec Average time per read from
STATUS port = 1.100000
usec
Size defaults to full 4096
words. Serial Link initialized... HELLO
? IT WORKS!
|
|
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#40 on: Mar 16th a 05:20:53pm » |
|
BTW, the only time the atmel times out, is when
I unplug the power to the programmer. |
|
Logged | | | |
neviksti Newbie
 Karma:
42 [applaud]
[smite]
Gender:
 Posts: 45

|
 |
Re:Flash cart question
(neviksti) « Reply
#41 on: Mar 16th a 05:31:34pm » |
|
Alright, everything looks good!
Oh, BTW,
I felt like a little break from programming, so
I went to check out that "APU Connector"
you were referring to... and I don't have
one.
At your website here:
headphone.htm
You
show a picture of the insides ... mine looks
basically the same except that it doesn't have a
little board with inter-connect in the upper
right hand corner. There is a S-DSP A (Sony '89)
chip that I assume is the sound DSP, and it is
connected directly onto the main
board.
My SNES is very boxy looking, like
the original SNES, but I guess there were a few
internal revisions. I did not realize
this. Oh well ... back to programming.
|
|
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#42 on: Mar 16th a 05:33:37pm » |
|
Ok, I will have to update the page, to show what
a first revision snes looks like, as that is the
only snes revison I have.
Think I
could get the source code to the first 2 test
AVR roms?
Also, what is the current
status in the programming of the reader/writer?
|
| « Last Edit: Mar
16th a 08:01:07pm by CaitSith2 » |
Logged | | | |
neviksti Newbie
 Karma:
42 [applaud]
[smite]
Gender:
 Posts: 45

|
 |
Re:Flash cart question
(neviksti) « Reply
#43 on: Mar 16th a 11:05:35pm » |
|
>Think I could get the source code to the
first 2 test >AVR roms?
I'm not
even sure what the first "rom" was ... I just
wanted a file to test with, searched through my
files for a "rom", and grabbed the first one I
saw.
As for the actual code ... no
problem. However, is it ok if I finish it
first? I feel strange releasing code that
isn't really functional yet.
>Also,
what is the current status in the programming of
>the reader/writer?
Sorry, I got
side tracked. But I did spend a little
more time on it. We've reached a problem
point however ... I can no longer just move
wires around to test the program with real
circuitry. So from here on out, my
programs probably won't work ... and we'll have
to debug it together.
I really really
hope this works. The new 'test' is here:
(broken link) It
should read a little information from the header
of the cartridge you
insert.
------------------------------ Another
design change: To protect the SRAM from
accidentally becoming over-written, pull up the
/WR, /RD lines to Vcc with some resistors.
Otherwise the lines are floating whenever the
Atmel is reset, and the cart may accidentally be
written to. Sorry, I didn't notice this
til recently.
Obviously, this isn't
necessary for my test program to work, but is
something to keep in mind.
|
|
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#44 on: Mar 16th a 11:19:24pm » |
|
Here are the results.
Command
sent. Cart title: [
] ROM type: LoRom Cart contents: ROM
only ROM size: 1 Mbits SRAM size: 0
kbits
My Super mario world cart was
plugged in at the time. |
|
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#45 on: Mar 16th a 11:21:33pm » |
|
also, Im lucky that I didn't accidently fry my
circuit for having accidently plugged the cart
in backwards.
when I noticed an odd
smell, I disconnected the power immediately,
checked power supply, and notice it got hotter
than usual, so I just let it cool
down.
anyways, do you use any IM
software, like MSN? this could go a bit faster
with IM. |
| « Last Edit: Mar
16th a 11:24:00pm by CaitSith2 » |
Logged | | | |
neviksti Newbie
 Karma:
42 [applaud]
[smite]
Gender:
 Posts: 45

|
 |
Re:Flash cart question
(neviksti) « Reply
#46 on: Mar 16th a 11:43:32pm » |
|
>...I noticed an odd smell...
Ow, not
good. I hope you didn't fry the cartridge.
It looks like the atmel read a zero from
every single location on the cartridge. Can you
try it with another
cartridge?
>...anyways, do you use any
IM software, like MSN?
Good
suggestion. Hmmm... I have an old version of
AIM, and I have mIRC. Will either of those
work for you?
--------
Doh! Found
a silly error, it turns out that reading all
zeros is what it should do with my
mistake. I was reading the wrong
place. I uploaded a 'fixed' version (same
link as before) ... I hope this one works.
|
| « Last Edit: Mar
16th a 11:53:18pm by neviksti » |
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#47 on: Mar 16th a 11:53:16pm » |
|
I have mIRC, and AIM.
[AIM screen name
removed for privacy reasons (neviksti got it
already)]
as for mIRC, what IRC network
are you on? |
| « Last Edit: Mar
17th a 01:46:50am by CaitSith2 » |
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#48 on: Mar 17th a 05:37:53am » |
|
Time to move onto writing support for HiRom, and
SRAM dumping / programming support.
Ever
since I fixed that stupid data bit 8 / /read
error, caused by a short in the ribbon cable at
the connector end, the programmer has worked
perfectly from that point on.
Its also
time for me to move my power supply into a new
project box (snes programmer got the
project box power supply was in
previously. |
| « Last Edit: Mar
17th a 05:40:00am by CaitSith2 » |
Logged | | | |
CaitSith2 Jr. Member
  Karma:
7 [applaud]
[smite]
Gender:
 Posts: 69

You don't need a reason to help
people
|
 |
Re:Flash cart question
(neviksti) « Reply
#49 on: Mar 18th a 01:38:28am » |
|
I got my cart dumper to dump baseball simulator
1.000, and to also dump other roms 100%
correctly, 99.999% of the time. (redundant byte
read has to reproduce the same incorrect byte
second time to actually make it through). |
|
Logged | | | |