Hi all~~
This is my first forray into programming microcontrollers...
I have been trying to build a pc controlled ddr... Ithink i'm having some problems with the rs232 interface...
Originally I searched and found Jesper's MiniDDS at **broken link removed**
It uses the obsolete AT90S2313... I figured I might be able to get this working with an AT-Tiny 2313...
Then I found this very helpful page afer not being able to compile the original source ASM file (without errors)...
http://www.geocities.com/leon_heller/minidds.html
Leon Heller has rebuilt the code for Atmel AVR Studio... Thanks so much to him...
So far the code compiles great... and I can write it to the AT-Tiny2313 ... I changed the .include "2313def.inc" to .include "tn2313def.inc" .. .but either way it doesn't seem to make any difference...
I burnt the fuses on the Tiny2313 for external xtal 8mhz-up .. then I couldn't access the chip ...
So I said "Ah ha!" and added the 11.092 MHz xtal... then I could erase or verfiy no problem...
When I apply the power and run the chip in the circuit... I get a tone out... about 1kHz I think... when I unplug the xtal.. it stops.. and when I change the xtal, the tone changes... (It didnt do this b4 I burnt the fuses)....
So.. all that seems ok...
Now... other than swapping the at90s2313 for the at-tiny2313 ....
I also swapped the the max202 for a max232... since I found a kit rs232 interface... board, chip, connectors, was 4$....
For power I'm using a PC PSU...
I'm not using the AD557.. just the resistor ladder...
So... When I power up and plug in the rs232 cable... and then run the software from Jesper's site...
Then I try to set a freq... I jsut get 0000 in the output box... which is better than if I run the program without the rs232 cable.. then I get nothing in the freq output box...
I have read that there are some differences in the way the at tiny and the at90S communicate with the rs232 port... but I can't find anything more specific...
Could someone shed some light on it??
Thanks,
Michael
This is my first forray into programming microcontrollers...
I have been trying to build a pc controlled ddr... Ithink i'm having some problems with the rs232 interface...
Originally I searched and found Jesper's MiniDDS at **broken link removed**
It uses the obsolete AT90S2313... I figured I might be able to get this working with an AT-Tiny 2313...
Then I found this very helpful page afer not being able to compile the original source ASM file (without errors)...
http://www.geocities.com/leon_heller/minidds.html
Leon Heller has rebuilt the code for Atmel AVR Studio... Thanks so much to him...
So far the code compiles great... and I can write it to the AT-Tiny2313 ... I changed the .include "2313def.inc" to .include "tn2313def.inc" .. .but either way it doesn't seem to make any difference...
I burnt the fuses on the Tiny2313 for external xtal 8mhz-up .. then I couldn't access the chip ...
So I said "Ah ha!" and added the 11.092 MHz xtal... then I could erase or verfiy no problem...
When I apply the power and run the chip in the circuit... I get a tone out... about 1kHz I think... when I unplug the xtal.. it stops.. and when I change the xtal, the tone changes... (It didnt do this b4 I burnt the fuses)....
So.. all that seems ok...
Now... other than swapping the at90s2313 for the at-tiny2313 ....
I also swapped the the max202 for a max232... since I found a kit rs232 interface... board, chip, connectors, was 4$....
For power I'm using a PC PSU...
I'm not using the AD557.. just the resistor ladder...
So... When I power up and plug in the rs232 cable... and then run the software from Jesper's site...
Then I try to set a freq... I jsut get 0000 in the output box... which is better than if I run the program without the rs232 cable.. then I get nothing in the freq output box...
I have read that there are some differences in the way the at tiny and the at90S communicate with the rs232 port... but I can't find anything more specific...
Could someone shed some light on it??
Thanks,
Michael