English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware > Hardware mods

 
 
Thread Tools
Old Today, 00:44   #2501
plasmab
Registered User

plasmab's Avatar
 
Join Date: Sep 2016
Location: Glasgow
Posts: 1,743
Quote:
Originally Posted by solidcore View Post
Yeah that's great, just have to make sure regarding the spi modules that people are aware they need to buy the 3.3v modules not the 5v ones that are more specific for the arduino. Not sure what may happen if they put a 5v module on the tf530 lol a terrible fire ???

Edit: sorry missed your question regarding which USB spi in cd32 thread. Answer: guess I was looking for a cheap and easy one off eBay but ardunio nano will be suffice as long as it's discreet and easy to integrate into UAE im game .
Make sure you get a TF530 Rev 3. The Rev 2s dont have the interrupt pin.
plasmab is offline  
AdSense AdSense  
Old Today, 00:46   #2502
solidcore
Registered User

 
Join Date: Sep 2017
Location: birmingham, uk
Posts: 316
Quote:
Originally Posted by plasmab View Post
Make sure you get a TF530 Rev 3. The Rev 2s dont have the interrupt pin.
I got a rev 3 in black from you November ish

Edit : .

Bought an a500 rev6a mainboard today and USB keyboard adapter.
Bprepared is borrowing me a cpu and should have the tf530 built as soon as A week or so maybe.

I will get the a1200 going with spi cpld sooner( if it works out)

And arduino nano on order just now .

Looking at 3v3 modules ATM

Last edited by solidcore; Today at 00:54.
solidcore is offline  
Old Today, 00:50   #2503
plasmab
Registered User

plasmab's Avatar
 
Join Date: Sep 2016
Location: Glasgow
Posts: 1,743
Quote:
Originally Posted by solidcore View Post
I got a rev 3 in black from you November ish .
Cool. Im gonna throw my MMC module and an arduino nano in my suitcase. If i can find my ENC28J60 module i'll take that too.
plasmab is offline  
Old Today, 00:59   #2504
solidcore
Registered User

 
Join Date: Sep 2017
Location: birmingham, uk
Posts: 316
Quote:
Originally Posted by plasmab View Post
Cool. Im gonna throw my MMC module and an arduino nano in my suitcase. If i can find my ENC28J60 module i'll take that too.
I'll grab both ethernet and a sd spi module on eBay now then . What mmc chip specifically you got ? And good plan, thought you would have let's hope others chip in, would be cool to have an array of options such as Bluetooth, Wi-fi, LCD/OLED/COLOR-TFT display, dot-matrix (think arcades), flash memory, nixi tube.. Endless applications of use

Edit: Is it possible to run multiple SPI modules (dreaming here a bit) in regards to cpld firmware/ hardware limitations? I think I read somewhere about this, but not sure if you can chain them.

Edit #2: so far I can only find expensive 30GBP MMC. Grabbed the most common cheapest SD SPI that has a 3.3v reg & 'SN74LVC125A' bus buffer gate.

Last edited by solidcore; Today at 01:21.
solidcore is offline  
Old Today, 01:16   #2505
plasmab
Registered User

plasmab's Avatar
 
Join Date: Sep 2016
Location: Glasgow
Posts: 1,743
Quote:
Originally Posted by solidcore View Post
I'll grab both ethernet and a sd spi module on eBay now then . What mmc chip specifically you got ? And good plan, thought you would have let's hope others chip in, would be cool to have an spi LCD/OLED/COLOR-TFT display module at some point also .

Edit: Is it possible to run multiple SPI modules (dreaming here a bit) in regards to cpld firmware/ hardware limitations? I think I read somewhere about this, but not sure if you can chain them.

Edit #2: so far I can only find expensive 30GBP MMC. Grabbed the most common cheapest SD SPI that has a 3.3v reg & 'SN74LVC125A' bus buffer gate.
The MMC chip? the SPI chip is wired straight to an sd card.

I'm gonna use this .. which by the way might let an arduino be usable for JTAG too..

https://github.com/BLavery/virtual-GPIO
plasmab is offline  
Old Today, 01:24   #2506
solidcore
Registered User

 
Join Date: Sep 2017
Location: birmingham, uk
Posts: 316
Quote:
Originally Posted by plasmab View Post
The MMC chip? the SPI chip is wired straight to an sd card.

I'm gonna use this .. which by the way might let an arduino be usable for JTAG too..

https://github.com/BLavery/virtual-GPIO
Ah my bad so wont matter then. Good catch! it would certainly make an Arduino a very cheap jtag indeed.
solidcore is offline  
Old Today, 19:22   #2507
plasmab
Registered User

plasmab's Avatar
 
Join Date: Sep 2016
Location: Glasgow
Posts: 1,743
Quote:
Originally Posted by solidcore View Post
Ah my bad so wont matter then. Good catch! it would certainly make an Arduino a very cheap jtag indeed.
Ok i have an arduino nano, a enc28j60, sd card breakout and some dupoint wires. I'll take them with me to play with in USA.

Is there an open source network driver in C? If not should we not consider writing a set of exemplar drivers.
plasmab is offline  
Old Today, 20:19   #2508
solidcore
Registered User

 
Join Date: Sep 2017
Location: birmingham, uk
Posts: 316
Quote:
Originally Posted by plasmab View Post
Ok i have an arduino nano, a enc28j60, sd card breakout and some dupoint wires. I'll take them with me to play with in USA.

Is there an open source network driver in C? If not should we not consider writing a set of exemplar drivers.
Okay, nice to be in sync is that v3 nano?

For Amiga? Well I've been looking around and there's SANA II which may help but unsure if that's only OS 3.9. As for 3.0/3.1 I'd have to keep searching, otherwise yep will have to make some example drivers indeed and hope someone more attuned to Amiga drivers can chip in as well.

As it stands atm your example miggy driver is a simple read/write right?

Also can we have multiple SPI devices at the same time in a daisy chain? https://www.maximintegrated.com/en/a...ex.mvp/id/3947 chip-select lines.
solidcore is offline  
Old Today, 20:58   #2509
plasmab
Registered User

plasmab's Avatar
 
Join Date: Sep 2016
Location: Glasgow
Posts: 1,743
Quote:
Originally Posted by solidcore View Post
Okay, nice to be in sync is that v3 nano?

For Amiga? Well I've been looking around and there's SANA II which may help but unsure if that's only OS 3.9. As for 3.0/3.1 I'd have to keep searching, otherwise yep will have to make some example drivers indeed and hope someone more attuned to Amiga drivers can chip in as well.

As it stands atm your example miggy driver is a simple read/write right?
Mine is a tinxi® MINI USB Nano V3.0 ATmega328P CH340G 5V 16M Compatible for Arduino Nano V3.0

My driver isnt simple. it detects all the versions and features of cards and does the correct thing based on that. Handles block vs direct addressing etc, voltage setup and all the other crazy things those cards expect.

Quote:
Also can we have multiple SPI devices at the same time in a daisy chain? https://www.maximintegrated.com/en/a...ex.mvp/id/3947 chip-select lines.
The TF530 does this. it has 2 CS lines just line that diagram. Read the docs and look at the schematic.
plasmab is offline  
Old Today, 21:03   #2510
solidcore
Registered User

 
Join Date: Sep 2017
Location: birmingham, uk
Posts: 316
Quote:
Originally Posted by plasmab View Post
Mine is a tinxi® MINI USB Nano V3.0 ATmega328P CH340G 5V 16M Compatible for Arduino Nano V3.0

My driver isnt simple. it detects all the versions and features of cards and does the correct thing based on that. Handles block vs direct addressing etc, voltage setup and all the other crazy things those cards expect.



The TF530 does this. it has 2 CS lines just line that diagram. Read the docs and look at the schematic.
Same as my nano. Nice I'll have a look over everything and awesome will do.

Edit: Nice I hadn't got round to noticing dev branch spiport.v I see the pick active device on output reg [1:0] SPI_CS lovely stuff!!!! glad you've taken this approach.

Just going through your spi_alpha branch, /rtl and /drivers/sdcard/ files now.

Edit: sorry didn't mean to imply the sd driver was simple (it isn't) was referring to previous example I saw of the spi access in the workbench terminal.
Thought below was a simple quick test file where read/write access was proven didn't know if it was anything substantial at that time. I miss understood that it was more developed than that.
http://eab.abime.net/showpost.php?p=...postcount=2435

Last edited by solidcore; Today at 21:29.
solidcore is offline  
Old Today, 21:40   #2511
plasmab
Registered User

plasmab's Avatar
 
Join Date: Sep 2016
Location: Glasgow
Posts: 1,743
Quote:
Originally Posted by solidcore View Post
Same as my nano. Nice I'll have a look over everything and awesome will do.
I'm planning to make this dev environment work off standard linux SPI port mode which apparently that Virtual GPIO support.

For the moment i'm switching into flying mode. ending all my ebay listings too.
plasmab is offline  
Old Today, 22:06   #2512
plasmab
Registered User

plasmab's Avatar
 
Join Date: Sep 2016
Location: Glasgow
Posts: 1,743
Quote:
Originally Posted by solidcore View Post

Edit: sorry didn't mean to imply the sd driver was simple (it isn't) was referring to previous example I saw of the spi access in the workbench terminal.
Thought below was a simple quick test file where read/write access was proven didn't know if it was anything substantial at that time. I miss understood that it was more developed than that.
http://eab.abime.net/showpost.php?p=...postcount=2435
The driver is fully written but there is a testbench to match the one in the mntsd.device. Really really get to understand whats there. I expect the driver doesnt work properly but its a case of debugging now using the test bench. Seriously read and review whats there first before forming an opinon.

As i've said (4 times now) i have refactored a FULL mntsd.device driver and plumbed in the guts of the EmuTOS SD Card Driver. Its complete but buggy/broken. Just needs time to iron out which i dont have right now.
plasmab is offline  
Old Today, 22:09   #2513
solidcore
Registered User

 
Join Date: Sep 2017
Location: birmingham, uk
Posts: 316
Quote:
Originally Posted by plasmab View Post
The driver is fully written but there is a testbench to match the one in the mntsd.device. Really really get to understand whats there. I expect the driver doesnt work properly but its a case of debugging now using the test bench. Seriously read and review whats there first before forming an opinon.

As i've said (4 times now) i have refactored a FULL mntsd.device driver and plumbed in the guts of the EmuTOS SD Card Driver. Its complete but buggy/broken. Just needs time to iron out which i dont have right now.
That's fine I gotcha, just picking it all up working backwards had me confused. (taking a look at http://www.github.com/mntmn/amiga200...drivers/sdcard comparing differences etc while I go through everything. Can't wait to get setup. )

Quote:
Originally Posted by plasmab View Post
I'm planning to make this dev environment work off standard linux SPI port mode which apparently that Virtual GPIO support.

For the moment i'm switching into flying mode. ending all my ebay listings too.
That's fine by me, I use the Arch Linux distribution over here so once you've got FS-UAE all setup let us know.

Roger that. Keep us posted.

Last edited by solidcore; Today at 22:44.
solidcore is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 6 (4 members and 2 guests)
indigolemon, 8 Bit Dreams, Stedy, mattymuc
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Listening to Amiga music with too much treble makes it sound terrible! Foebane Amiga scene 4 08 October 2016 07:30
Terrible usb drive performance? lovinggames support.FS-UAE 5 11 March 2015 10:06
Broken MASPlayer - Terrible hissing. SS454 support.Hardware 8 17 November 2013 02:41
Accelerators pmc MarketPlace 9 04 November 2009 21:23
Problem with a terrible, simply effect! Camionsauro Coders. General 13 19 April 2009 09:53

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:56.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Page generated in 0.18931 seconds with 14 queries