17 January 2018, 18:56 | #2501 | |
Registered User
Join Date: Aug 2014
Location: Netherlands
Posts: 697
|
Quote:
I get it you are low on CPLD space . I also think you are right about the low clock speed for the rest of the initialisation sequence. Every single modern SD card will probably work fine on a fast clock. What is the clock speed on the SPI port? I also had a quick look at the SPI driver. It doesn't support RDB right? If somebody (Toni? ) could add that you could have an autoboot rom-able driver... |
|
17 January 2018, 19:54 | #2502 | |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Quote:
The CPLD is full. I've had to be sneaky to get what i have there to fit. Its a starting point for someone who knows what they are doing to help me with. Plus since i'm away for 3 weeks i figured people might want to play with it. EDIT: I'm decent with C++ but i do code for a living so i prefer to avoid it in my hobbies. |
|
17 January 2018, 22:56 | #2503 | |
Registered User
Join Date: Sep 2017
Location: birmingham, uk
Posts: 548
|
Quote:
I realized last night that Brian's k1208 with his now braindead out gayle could possibly be used for SPI on the ide header pins assuming that cpld has room for your spi code. That means I can get it running on the a1200 so I'm thinking that'll be my quickest path to getting in bed with the driver development unless you get something going with UAE sooner than this next week. Also unsure what I'm doing but will play anyway. I think there's a lot of code for network drivers SANA-II (if applicable?). Some chatter about Zorro Autoconfig... and so on but we'll see. |
|
17 January 2018, 23:04 | #2504 | |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Quote:
|
|
17 January 2018, 23:26 | #2505 | |
Registered User
Join Date: Sep 2017
Location: birmingham, uk
Posts: 548
|
Quote:
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 . Last edited by solidcore; 17 January 2018 at 23:38. |
|
17 January 2018, 23:44 | #2506 | |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Quote:
|
|
17 January 2018, 23:46 | #2507 | |
Registered User
Join Date: Sep 2017
Location: birmingham, uk
Posts: 548
|
Quote:
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; 17 January 2018 at 23:54. |
|
17 January 2018, 23:50 | #2508 |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
|
17 January 2018, 23:59 | #2509 | |
Registered User
Join Date: Sep 2017
Location: birmingham, uk
Posts: 548
|
Quote:
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; 18 January 2018 at 00:21. |
|
18 January 2018, 00:16 | #2510 | |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Quote:
I'm gonna use this .. which by the way might let an arduino be usable for JTAG too.. https://github.com/BLavery/virtual-GPIO |
|
18 January 2018, 00:24 | #2511 | |
Registered User
Join Date: Sep 2017
Location: birmingham, uk
Posts: 548
|
Quote:
|
|
18 January 2018, 18:22 | #2512 | |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Quote:
Is there an open source network driver in C? If not should we not consider writing a set of exemplar drivers. |
|
18 January 2018, 19:19 | #2513 | |
Registered User
Join Date: Sep 2017
Location: birmingham, uk
Posts: 548
|
Quote:
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. |
|
18 January 2018, 19:58 | #2514 | ||
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Quote:
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:
|
||
18 January 2018, 20:03 | #2515 | |
Registered User
Join Date: Sep 2017
Location: birmingham, uk
Posts: 548
|
Quote:
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; 18 January 2018 at 20:29. |
|
18 January 2018, 20:40 | #2516 | |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Quote:
For the moment i'm switching into flying mode. ending all my ebay listings too. |
|
18 January 2018, 21:06 | #2517 | |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Quote:
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. |
|
18 January 2018, 21:09 | #2518 | ||
Registered User
Join Date: Sep 2017
Location: birmingham, uk
Posts: 548
|
Quote:
Quote:
Roger that. Keep us posted. Last edited by solidcore; 18 January 2018 at 21:44. |
||
18 January 2018, 23:02 | #2519 |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Cant get that VirtGPIO to work.
|
19 January 2018, 16:54 | #2520 |
Registered User
Join Date: Oct 2017
Location: Germany
Posts: 193
|
Is the SPI AUTOCONFIG and dasey chained (requesting the KS to map to I/O space) when the TF530 AUTOCONFIGs the FastRAM? I could check the verilog, but will ask first. I would like this for my DIY A500 accelerator I'm working on.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
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 06:30 |
Terrible usb drive performance? | lovinggames | support.FS-UAE | 5 | 11 March 2015 09:06 |
Broken MASPlayer - Terrible hissing. | SS454 | support.Hardware | 8 | 17 November 2013 01:41 |
Accelerators | pmc | MarketPlace | 9 | 04 November 2009 20:23 |
Problem with a terrible, simply effect! | Camionsauro | Coders. General | 13 | 19 April 2009 08:53 |
|
|