• RiscPC SD Card reader help

    From Martin Taylor@21:1/5 to All on Wed May 12 08:31:14 2021
    Hi people i was browsing on amazon a few days ago and saw a IDE to SD card reader i thought why not give it a shot it was not expensive.

    So i installed it and started the RiscPC up had a copy of hform on floppy so i loaded it and it saw the card great started with a 2GB card format ok no errors in writing anything to it even did a full verify on it without no error, However has soon has i
    reboot the RiscPC the card is blank i have to go through hform again and start a fresh now i have tried this with a 2GB,4GB,8GB and a 64GB card all work fine after format until i reboot the RiscPC.

    Machine RiscPC running RiscOS 4.02, hform version 2.75
    Hform gives the following layout for a 64GB card

    cylinder 3812
    heads 16
    sectors per track 128

    Anyone any thoughts??

    Thank You
    Martin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Martin Taylor on Fri May 14 13:04:29 2021
    Martin Taylor <mtaylor141273@gmail.com> wrote:
    Hi people i was browsing on amazon a few days ago and saw a IDE to SD card reader i thought why not give it a shot it was not expensive.

    So i installed it and started the RiscPC up had a copy of hform on floppy
    so i loaded it and it saw the card great started with a 2GB card format ok
    no errors in writing anything to it even did a full verify on it without
    no error, However has soon has i reboot the RiscPC the card is blank i
    have to go through hform again and start a fresh now i have tried this
    with a 2GB,4GB,8GB and a 64GB card all work fine after format until i
    reboot the RiscPC.

    When you say it's 'blank', what do you mean? 'Disc not recognised, has it
    been formatted?' message? Or correctly showing as an ADFS drive but just
    with an empty Filer window?

    Which 'verify' was it - from the Filer menu? The 'soak test' options in
    HForm are useless these days.

    Machine RiscPC running RiscOS 4.02, hform version 2.75
    Hform gives the following layout for a 64GB card

    cylinder 3812
    heads 16
    sectors per track 128

    Those numbers are pretty meaningless these days but indicate a 4GB drive.
    You need to format it with LBA enabled - I'm not sure if that's an option
    your version of HForm offers?

    As you say formatting succeeds and it shows up as a drive, can you write a
    few GB to it without errors? Can you read them back successfully?

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Taylor@21:1/5 to Theo on Fri May 14 05:23:12 2021
    On Friday, 14 May 2021 at 13:04:32 UTC+1, Theo wrote:
    Martin Taylor <mtaylo...@gmail.com> wrote:
    Hi people i was browsing on amazon a few days ago and saw a IDE to SD card reader i thought why not give it a shot it was not expensive.

    So i installed it and started the RiscPC up had a copy of hform on floppy so i loaded it and it saw the card great started with a 2GB card format ok no errors in writing anything to it even did a full verify on it without
    no error, However has soon has i reboot the RiscPC the card is blank i
    have to go through hform again and start a fresh now i have tried this
    with a 2GB,4GB,8GB and a 64GB card all work fine after format until i reboot the RiscPC.
    When you say it's 'blank', what do you mean? 'Disc not recognised, has it been formatted?' message? Or correctly showing as an ADFS drive but just
    with an empty Filer window?

    Which 'verify' was it - from the Filer menu? The 'soak test' options in
    HForm are useless these days.
    Machine RiscPC running RiscOS 4.02, hform version 2.75
    Hform gives the following layout for a 64GB card

    cylinder 3812
    heads 16
    sectors per track 128
    Those numbers are pretty meaningless these days but indicate a 4GB drive.
    You need to format it with LBA enabled - I'm not sure if that's an option your version of HForm offers?

    As you say formatting succeeds and it shows up as a drive, can you write a few GB to it without errors? Can you read them back successfully?

    Theo
    Hi Theo,

    after I reboot a I get 'Disc not recognised, has it been formatted?'

    I used the verify from the ADFS filler window

    and yes LBA was set to 1 which is on

    yes I have written a few GB to it and copied it back with no errors,

    Something else I tried was format on the Pi4 and copied contents to the SD card worked on RiscPC first boot, second boot 'Disc not recognised, has it been formatted?'

    Thank You.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Martin Taylor on Fri May 14 16:25:51 2021
    Martin Taylor <mtaylor141273@gmail.com> wrote:
    Hi Theo,

    after I reboot a I get 'Disc not recognised, has it been formatted?'

    I used the verify from the ADFS filler window

    and yes LBA was set to 1 which is on

    yes I have written a few GB to it and copied it back with no errors,

    Did you try this with several cards?

    Something else I tried was format on the Pi4 and copied contents to the SD card worked on RiscPC first boot, second boot 'Disc not recognised, has it been formatted?'

    I suspect the data is there but detecting the disc at boot, or its shape,
    isn't working. Can you put it back in the Pi and read the data afterwards?

    Try *Configure ADFSBuffers 0 as a quick test.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Taylor@21:1/5 to Theo on Fri May 14 10:16:00 2021
    On Friday, 14 May 2021 at 15:25:54 UTC, Theo wrote:
    Martin Taylor <mtaylo...@gmail.com> wrote:
    Hi Theo,

    after I reboot a I get 'Disc not recognised, has it been formatted?'

    I used the verify from the ADFS filler window

    and yes LBA was set to 1 which is on

    yes I have written a few GB to it and copied it back with no errors,
    Did you try this with several cards?
    Something else I tried was format on the Pi4 and copied contents to the SD card worked on RiscPC first boot, second boot 'Disc not recognised, has it been formatted?'
    I suspect the data is there but detecting the disc at boot, or its shape, isn't working. Can you put it back in the Pi and read the data afterwards?

    Try *Configure ADFSBuffers 0 as a quick test.

    Theo
    Right still getting the same error with configure adfsbuffers 0
    yes i can still read the sdcard and pull data off it after on the Pi4

    I can go into acorn menu tell it to shutdown then click on retstart and the sdcard is still there and can read write to it same if i do a shift break or even a control break the card is still there and useable, its only when i kill power to the machine
    that it stops working .Thank You

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Taylor@21:1/5 to Martin Taylor on Fri May 14 10:18:02 2021
    On Friday, 14 May 2021 at 17:16:01 UTC, Martin Taylor wrote:
    On Friday, 14 May 2021 at 15:25:54 UTC, Theo wrote:
    Martin Taylor <mtaylo...@gmail.com> wrote:
    Hi Theo,

    after I reboot a I get 'Disc not recognised, has it been formatted?'

    I used the verify from the ADFS filler window

    and yes LBA was set to 1 which is on

    yes I have written a few GB to it and copied it back with no errors,
    Did you try this with several cards?
    Something else I tried was format on the Pi4 and copied contents to the SD card worked on RiscPC first boot, second boot 'Disc not recognised, has it been formatted?'
    I suspect the data is there but detecting the disc at boot, or its shape, isn't working. Can you put it back in the Pi and read the data afterwards?

    Try *Configure ADFSBuffers 0 as a quick test.

    Theo
    Right still getting the same error with configure adfsbuffers 0
    yes i can still read the sdcard and pull data off it after on the Pi4

    I can go into acorn menu tell it to shutdown then click on retstart and the sdcard is still there and can read write to it same if i do a shift break or even a control break the card is still there and useable, its only when i kill power to the machine
    that it stops working .Thank You


    Sorry forgot you asked about did i try this with more cards yes a range of cards from 2GB all the way up to 64GB

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Evans (CJE/4D)@21:1/5 to Martin Taylor on Tue May 25 09:38:39 2021
    In article <0b10fe8d-199c-4cda-a54d-251eefe83f59n@googlegroups.com>,
    Martin Taylor <URL:mailto:mtaylor141273@gmail.com> wrote:
    On Friday, 14 May 2021 at 17:16:01 UTC, Martin Taylor wrote:
    On Friday, 14 May 2021 at 15:25:54 UTC, Theo wrote:
    Martin Taylor <mtaylo...@gmail.com> wrote:
    Hi Theo,

    after I reboot a I get 'Disc not recognised, has it been formatted?'

    I used the verify from the ADFS filler window

    and yes LBA was set to 1 which is on

    yes I have written a few GB to it and copied it back with no errors,
    Did you try this with several cards?
    Something else I tried was format on the Pi4 and copied contents to the SD card
    worked on RiscPC first boot, second boot 'Disc not recognised, has it been formatted?'

    I suspect the data is there but detecting the disc at boot, or its shape, isn't working. Can you put it back in the Pi and read the data afterwards?

    Try *Configure ADFSBuffers 0 as a quick test.

    Theo
    Right still getting the same error with configure adfsbuffers 0
    yes i can still read the sdcard and pull data off it after on the Pi4

    I can go into acorn menu tell it to shutdown then click on retstart and the sdcard i
    s still there and can read write to it same if i do a shift break or even a control br
    eak the card is still there and useable, its only when i kill power to the machine tha
    t it stops working .Thank You


    Sorry forgot you asked about did i try this with more cards yes a range of cards from
    2GB all the way up to 64GB

    Not sure if the following will be helpful or relevant.

    We had a particular model of SATA SSD drive who seemed to cache writes such that a format then restart gave unformatted and if we formatted and then
    wrote a standard disc image to it, only part of it was there after a power cycle. i.e. whatever was left in the cache wasn't being written to the media.

    What chip set is on the IDE to SD interface?
    I'm not sure if there is more than one, if not may be later firmware is the cause.
    Also are you trying to run it as a slave or with a slave drive attached?


    Chris Evans

    --

    ****** IGEPv5: The fastest RISC OS computer so far! *******
    ------------ http://www.cjemicros.co.uk/igepv5 ------------
    CJE Micro's 'Raspberry Pi & RISC OS Specialists'
    Tel: +44 (0)1903 523222
    chris@cjemicros.co.uk http://www.cjemicros.co.uk/
    Unit 16 Arunside Ind. Est., Fort Road, Littlehampton, W.Sussex BN17 7QU

    Don't let the urgent things in life, crowd out the important things!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)