Welcome, Guest. Please login or register.


Author Topic: SD card interface (Read 231520 times)

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: SD card interface
« Reply #120 on: 2014.March.25. 20:02:24 »
Quote
Now you are free to interchange files, delete, rename, etc, between the card and your computer.
It's cool, but the main problem remains. It can be only FAT16 and EP can use only FAT12. And no vice versa.
Z80 System

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: SD card interface
« Reply #121 on: 2014.March.25. 20:20:48 »
But Zozo said he was actually working in a FAT16 OS for the EP... We have been waiting 30 years for some miracles that are now real on the EP(10Mhz, almost all the memory map populated, SD card reader, IDE HDs, and many more).



We can wait a little...
« Last Edit: 2014.March.26. 00:42:52 by gflorez »

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: SD card interface
« Reply #122 on: 2014.March.25. 20:24:49 »
Quote
We can wait a little...

Is not that an option to teach the OS on the wifi card the FAT12 ?
Z80 System

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: SD card interface
« Reply #123 on: 2014.March.25. 20:36:04 »
On the other side.... I don't know how to do a FAT12 partition on that SD card. I have used "MiniTool partition" for FAT16 but it doesn't have a FAT12 option. May be the WIFISD would accept it...but enough of tiny partitions, the goal now is FAT16(=4G!).

Even the IDE card from Zozo can benefit from even greater partitions.

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14709
  • Country: hu
    • http://enterprise.iko.hu/
Re: SD card interface
« Reply #124 on: 2014.March.25. 20:37:35 »
Quote from: Z80System
EP can use only FAT12
Currently! :-)

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14709
  • Country: hu
    • http://enterprise.iko.hu/
Re: SD card interface
« Reply #125 on: 2014.March.25. 20:40:17 »
Quote from: gflorez
I don't know how to do a FAT12 partition on that SD card.
Most easy way write out VHD files to the card.
Empty VHD files.
VHD with lot of programs.

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: SD card interface
« Reply #126 on: 2014.March.25. 20:42:54 »
Quote
Currently! 
Is not it a slightly big chunk of meat ?
Z80 System

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14709
  • Country: hu
    • http://enterprise.iko.hu/
Re: SD card interface
« Reply #127 on: 2014.March.25. 20:43:23 »
Quote from: gflorez
I have used "MiniTool partition" for FAT16 but it doesn't have a FAT12 option.
All Windows partition program stupid :evil:
If I remember right can be done by FreeDOS. Firstly create partitions then with another command change the type to FAT12, and finaly format the partitions.

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: SD card interface
« Reply #128 on: 2014.March.25. 20:50:55 »
OK, I'll test tomorrow if the WIFISD accepts FAT12 partitions, but for me is of no use....

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14709
  • Country: hu
    • http://enterprise.iko.hu/
Re: SD card interface
« Reply #129 on: 2014.March.25. 20:53:39 »
Quote from: Z80System
Is not it a slightly big chunk of meat ?
On TVC VT-DOS done by Pal Sebestyen. Now needed to combine the modified routines with the EXDOS. The main difference: on VT-DOS FAT12 routines are completly replaced, and all floppy routines droped and replaced by directly with SD routines.
I want to keep the originaly capatibilities of the EXDOS, everything will be a plus.
On TVC the ROM space are limited, but on Enterprise we have a lot of space.

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: SD card interface
« Reply #130 on: 2014.March.26. 12:11:15 »
Definitely FAT12 doesn't work with the WIFISD Transcend. It waits indefinitely trying to connect, I don't know why. I will not do more research on this, no worth it.


But I like to see if I can make visible for the card the other 4Gig partitions, so even if Windows does not want to access them on a card reader, we could via FTP...


I will try to mount them in the autorun.sh script.

Offline Saint

  • EP user
  • *
  • Posts: 266
  • Country: gb
Re: SD card interface
« Reply #131 on: 2014.March.27. 23:14:37 »
Layout tidied up, fixed a few errors and first batch of PCB's ordered.

Plus I've got SDCC compiling a ROM extension and working with the emulator. I've even made a start on the SD card setup code. So I just need some hardware to start testing now... :ds_icon_cheesygrin:

Going to be quite slow debugging having to write code and flash a chip to test on real hardware!!

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: SD card interface
« Reply #132 on: 2014.March.28. 00:12:13 »
Seems like someone(a tech hacker named CNLohr) has achieved communication with the WIFISD by means of the 4-bit protocol. 

He has dropped the schematics of a "motherboard" for the card and all the code to allow everybody repeat the project.

Here is a video of the thing working and the web page that has published the notice.

For now it's "only" I2C protocol, as other hacker(Dimitry) says in a commentary that the real protocol of the card is still unknown, but very much fast and potent.

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: SD card interface
« Reply #133 on: 2014.March.28. 12:01:17 »
But this new is from October 2013....

Offline Saint

  • EP user
  • *
  • Posts: 266
  • Country: gb
Re: SD card interface
« Reply #134 on: 2014.April.23. 23:57:04 »
I got my prototype PCB's through yesterday. This is the first one built up with just the SRAM and FLASH as a test. Here you can see it running with additional 512KB RAM and 512KB FLASH.

Next is to install the CPLD and start testing the SPI interface.

Edit: Zozo, how are you getting on with the SD card software for the cartridge expansion? Do you have any working code for setting up and reading the SD card with the cartridge hardware? I am using some PIC Micro source code as the base for my SD card code, but if you already have something working I could use, that would save me a lot of time. :)
« Last Edit: 2014.April.24. 00:09:12 by Saint »