Jump to content

Photo

PBI R:Fi - Project Design/Build Log

wifi 802.11 ESP32 PBI Project

170 replies to this topic

#151 TangentAudio OFFLINE  

TangentAudio

    Chopper Commander

  • Topic Starter
  • 217 posts
  • Location:USA

Posted Wed May 17, 2017 1:41 PM

Here's a schematic of the RAM, MMU and decode logic that I drew up.  It was partly an exercise to follow through the logic myself, and also partly to create a nice little one page reference for future use.

 

Attached Files



#152 Mathy OFFLINE  

Mathy

    River Patroller

  • 2,414 posts
  • Location:Heerlen, NL

Posted Wed May 17, 2017 4:20 PM

Hello TangentAudio

 

As far as I know, Atari used three different MMU's:

 

1) 1200XL/1400XL/1450XLD

2) 600XL/800XL/65XE/130XE/800XE

3) XEGS

 

Sincerely

 

Mathy

 

 



#153 Joey Z OFFLINE  

Joey Z

    Dragonstomper

  • 874 posts
  • Location:Hoffman Estates, IL

Posted Wed May 17, 2017 6:54 PM

My theory above doesn't make much sense now that I've looked at the schematic again after a cup of coffee.  Of course /EXTSEL=0 should inhibit /CAS regardless of the state of EXTENB, so it doesn't seem likely U1MB+ or anything else is an issue, and I probably have something screwy on my prototype.  What seeing this logic possibly does help confirm is why I have proper functionality in the D800-DFFF window even if I may have a non-functional /EXTSEL on my board.  It looks like the EXTENB logic includes D800-DFFF, so it's entirely likely the MMU has actually been the thing inhibiting /CAS for D800-DFFF, all the while masking an issue on my prototype until I started testing outside of that window.  I'll go hunting tonight and I bet I will find a dumb wiring error.

If your /EXTSEL pulsing is actually making it to the atari, maybe your timing is wrong. If you don't get /EXTSEL low at the right time, /CAS will go low, and the RAM will output it's data. EXTSEL should probably be combinationally decoded from the address and little else. That's how the Atari decodes EXTENB (which, though internally produced, accomplishes the same thing as you've noticed). Also, keep in mind EXTSEL can only disable the RAM, not OSROM, or BASIC/cartridge ROM, or the I/O region. You can of course disable the math pack, but only with MPD, not EXTSEL....

Also, to answer your question about EXTENB, it will go low any time the atari is accessing an address that shouldn't be RAM. This means I/O address (D000-D800), OS ROM if it's enabled (D800-FFFF), BASIC ROM if it's enabled or a cartridge if inserted (8000-9FFF, A000-BFFF), and lastly, self test if it's enabled (5000-5800 IIRC).



#154 TangentAudio OFFLINE  

TangentAudio

    Chopper Commander

  • Topic Starter
  • 217 posts
  • Location:USA

Posted Wed May 17, 2017 7:23 PM

If your /EXTSEL pulsing is actually making it to the atari, maybe your timing is wrong.

 

This seems the most likely, since I just pulled it up on the scope and it seems I am only activating it on the latter half of the bus cycle when PHI2=1 ... I'll have to fix the VHDL.

 

bad_extsel_timing.png



#155 TangentAudio OFFLINE  

TangentAudio

    Chopper Commander

  • Topic Starter
  • 217 posts
  • Location:USA

Posted Wed May 17, 2017 8:00 PM

Changed /EXTSEL (and /MPD for good measure, even though it seemed fine only being active with PHI2=1) to simple combinatorial logic and it's all good now.  My ANTIC/SPI-DMA/Dual Port RAM passthrough test now works without pre-filling the Atari RAM with FF's.

 

Another good catch, it's good to have another set of eyes helping.  Thanks!

 

good_extsel_timing.png

 



#156 foft OFFLINE  

foft

    Dragonstomper

  • 625 posts
  • Location:Nyon, Switzerland

Posted Thu May 18, 2017 11:17 AM

I've found the freddie data sheet helpful for timing of these signals.

#157 TangentAudio OFFLINE  

TangentAudio

    Chopper Commander

  • Topic Starter
  • 217 posts
  • Location:USA

Posted Thu May 18, 2017 11:18 AM

I've found the freddie data sheet helpful for timing of these signals.

 

I've never seen this, can you post it?



#158 foft OFFLINE  

foft

    Dragonstomper

  • 625 posts
  • Location:Nyon, Switzerland

Posted Thu May 18, 2017 11:41 AM

I've never seen this, can you post it?

http://www.atarimuse...freddie-mcu.pdf

#159 Mathy OFFLINE  

Mathy

    River Patroller

  • 2,414 posts
  • Location:Heerlen, NL

Posted Thu May 18, 2017 6:06 PM

Hello guys

 

You can of course disable the math pack, but only with MPD, not EXTSEL....

 

That would be a problem in the XEGS, as it does not have MPD.

 

Sincerely

 

Mathy



#160 TangentAudio OFFLINE  

TangentAudio

    Chopper Commander

  • Topic Starter
  • 217 posts
  • Location:USA

Posted Thu May 18, 2017 6:09 PM

Hello guys

 

 

That would be a problem in the XEGS, as it does not have MPD.

 

Sincerely

 

Mathy

 

That's OK, I am not initially intending this for XEGS.  It's going to start out as an external PBI (and probably ECI) device.  I've had some daydreams of rolling in a lot of the functionality of a SIDE2 and a U1MB+ and making an internal upgrade, but that would be down the road.



#161 Dropcheck ONLINE  

Dropcheck

    Stargunner

  • 1,145 posts
  • Location:Stigler, OK

Posted Tue May 23, 2017 8:07 AM

Progress? :)



#162 TangentAudio OFFLINE  

TangentAudio

    Chopper Commander

  • Topic Starter
  • 217 posts
  • Location:USA

Posted Tue May 23, 2017 8:17 AM

Progress? :)

 

Bits and pieces.  I put some hours in over the weekend doing some boring work towards getting the handshaking working, which is a combination of FPGA work, and code on both the Atari and ESP32.  I also put some time in on the schematic, inching that closer to being ready for a PC board layout.

 

As I knew would happen with the arrival of nice weather, I'm spending more of my free time outdoors and haven't been as available to put in long hours down in my lab... but I am hoping to keep the project moving forward over the summer, even if it goes slowly.



#163 TangentAudio OFFLINE  

TangentAudio

    Chopper Commander

  • Topic Starter
  • 217 posts
  • Location:USA

Posted Mon May 29, 2017 6:29 PM

Finally, it's actually doing something related to the project title... Just a simple test of everything so far, executing a command/response protocol over the PBI->SPI FPGA link to implement a few of the most rudimentary wifi commands like initializing and scanning.  Just a quick demo that shows a scan with just my main two access points visible, then I turn on a test router and re-scan so a third one shows up.

 

 



#164 Kyle22 OFFLINE  

Kyle22

    River Patroller

  • 3,066 posts
  • Location:McKees Rocks (Pittsburgh), PA

Posted Mon May 29, 2017 7:12 PM

Looking good. Are you considering adding WiFi printing capability?



#165 TangentAudio OFFLINE  

TangentAudio

    Chopper Commander

  • Topic Starter
  • 217 posts
  • Location:USA

Posted Tue May 30, 2017 6:53 AM

Looking good. Are you considering adding WiFi printing capability?

 

Printing is something I'd like to do eventually... Not sure when it will happen - still a ton of work to do to make this useful.



#166 Dropcheck ONLINE  

Dropcheck

    Stargunner

  • 1,145 posts
  • Location:Stigler, OK

Posted Wed Jun 7, 2017 2:34 PM

How's it coming? :)



#167 TangentAudio OFFLINE  

TangentAudio

    Chopper Commander

  • Topic Starter
  • 217 posts
  • Location:USA

Posted Thu Jun 8, 2017 9:15 AM

Nothing to report, sadly.  Between outdoor adventures and work being busy, it hasn't left much time for Atari stuff.



#168 Dropcheck ONLINE  

Dropcheck

    Stargunner

  • 1,145 posts
  • Location:Stigler, OK

Posted Mon Jul 3, 2017 9:22 PM

Nothing to report, sadly.  Between outdoor adventures and work being busy, it hasn't left much time for Atari stuff.

 

 

     Just checking in to see how things are going. 



#169 Dropcheck ONLINE  

Dropcheck

    Stargunner

  • 1,145 posts
  • Location:Stigler, OK

Posted Tue Jul 25, 2017 6:58 AM

 

 

     Just checking in to see how things are going. 

 

  Bump.  :)



#170 TangentAudio OFFLINE  

TangentAudio

    Chopper Commander

  • Topic Starter
  • 217 posts
  • Location:USA

Posted Tue Jul 25, 2017 7:09 AM

Outdoor activities have pretty much taken over my attention lately, which is great for the soul but bad for productivity on projects like this.  I haven't forgotten about it, though, and still hope to get back to it when my free time and attention span allow!

 

Hope everyone is enjoying their summer as well.

 

-Steve



#171 HiassofT OFFLINE  

HiassofT

    Stargunner

  • 1,014 posts
  • Location:Salzburg, Austria

Posted Wed Jul 26, 2017 3:17 AM

Maybe you should jump on the plane then for a quick trip to Austria. Summer took a break here, currently 12°C and constantly raining. No distractions from outdoor activities and sitting in front of a warm soldering iron is looking like a really good option :-)

Weather forcast says we should be back to normal temperatures by the end of the week. Let's hope they are not lying to us!

Edit: forgot to add: #winterishere

so long,

Hias

Edited by HiassofT, Wed Jul 26, 2017 4:09 AM.






Also tagged with one or more of these keywords: wifi, 802.11, ESP32, PBI, Project

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users