Page 10 of 13

Re: Microdisc replacement project

Posted: Mon Dec 16, 2013 11:46 pm
by metadata
i decomment the message line in this function. Here is the result.

Re: Microdisc replacement project

Posted: Mon Dec 16, 2013 11:57 pm
by iss
I'm glad to help!
Unfortunately, this is just diagnose and not fix.
The easiest what I can suggest is to try another SD-Card :).

Else, the execution fails exactly here (in function 'card_read'):

Code: Select all

        /* Wait until 0xFE is received */
        while ((card_response = SPI(0xFF)) == (uint8_t) 0xFF);
        
        if (card_response != 0xFE)
                return 0;
but I don't have idea how this issue can be solved.
May be some delay ... but this is just pure guess.

Re: Microdisc replacement project

Posted: Tue Dec 17, 2013 9:39 am
by barnsey123
If it's a card thing...Check the class of the card...different cards allow writing at different speeds.

http://kb.sandisk.com/app/answers/detai ... ed-ratings

Try either a higher or lower class than the one you are using...maybe worth a try.

Re: Microdisc replacement project

Posted: Fri Dec 20, 2013 8:41 pm
by kenneth

Re: Microdisc replacement project

Posted: Fri Dec 20, 2013 9:30 pm
by Dbug
I will perhaps say something stupid, but when I see the code something really annoys me: As far as I can see, the CUMULUS.BIN file is loaded sector by sector with the firmware erase and update being done at the same time for each sector.

Is it because there's not enough memory?

Personally I would have allocated a buffer large enough to load the entire file in memory, eventually do checksums and whatnots, and then only start the update/erase/flash process, knowing that I'm not going to have a partial read error because the user removed the card or there was a flimsy contact on the connector.

Re: Microdisc replacement project

Posted: Sun Dec 22, 2013 9:41 pm
by metadata
D'oh!
You can call me stupid.... don't tell anyone. There is a big diffenrenz between an HEX and a BIN file.

Good news, everyone!
I found the problem :)
Now i can update the firmware from the sd-card.

Re: Microdisc replacement project

Posted: Sun Dec 22, 2013 9:53 pm
by Dbug
Awesome :)

I would not call you stupid, everybody is entitled in doing errors :)

Re: Microdisc replacement project

Posted: Sun Dec 22, 2013 10:15 pm
by Chema
Great! That is excelent news! Congrats!

Re: Microdisc replacement project

Posted: Mon Dec 23, 2013 8:12 am
by Symoon
Great news indeed!

Re: Microdisc replacement project

Posted: Mon Dec 23, 2013 7:40 pm
by metadata
time to burn some roms :)

Re: Microdisc replacement project

Posted: Tue Dec 24, 2013 10:49 am
by barnsey123
Hurry up! Santa's waiting... :wink:

Re: Microdisc replacement project

Posted: Sun Dec 29, 2013 5:28 pm
by JonB
Too late, he's bogged off back to Lapland!

Still, I would not be discouraging you from completing the "Great Work". I want to play Space:1999 on a real Atmos...! ;)

Re: Microdisc replacement project

Posted: Mon Dec 30, 2013 6:37 am
by coco.oric
Great work, thanks a lot !
It's my christmas gift :o

Re: Microdisc replacement project

Posted: Wed Jan 15, 2014 6:46 pm
by metadata
btw... :)
How to update the Oric Cumulus
http://www.youtube.com/watch?v=WoVpMwnYQIY

Re: Microdisc replacement project

Posted: Wed Jan 15, 2014 8:01 pm
by ibisum
So terribly, terribly exciting! I will update my Cumulus' tomorrow and have a play!

Please sir, take a bow! This is AWESOME!