Microdisc replacement project
- metadata
- Pilot Officer
- Posts: 114
- Joined: Wed Aug 31, 2011 7:59 pm
- Location: Hildesheim, Germany
- Contact:
Re: Microdisc replacement project
i decomment the message line in this function. Here is the result.
- Attachments
-
- IMG_20131216_234620.jpg (116.97 KiB) Viewed 15435 times
Re: Microdisc replacement project
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'):
but I don't have idea how this issue can be solved.
May be some delay ... but this is just pure guess.
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;
May be some delay ... but this is just pure guess.
- barnsey123
- Flight Lieutenant
- Posts: 379
- Joined: Fri Mar 18, 2011 10:04 am
- Location: Birmingham
Re: Microdisc replacement project
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.
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
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.
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.
- metadata
- Pilot Officer
- Posts: 114
- Joined: Wed Aug 31, 2011 7:59 pm
- Location: Hildesheim, Germany
- Contact:
Re: Microdisc replacement project
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.
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
Awesome
I would not call you stupid, everybody is entitled in doing errors
I would not call you stupid, everybody is entitled in doing errors
Re: Microdisc replacement project
Great! That is excelent news! Congrats!
Re: Microdisc replacement project
Great news indeed!
- metadata
- Pilot Officer
- Posts: 114
- Joined: Wed Aug 31, 2011 7:59 pm
- Location: Hildesheim, Germany
- Contact:
Re: Microdisc replacement project
time to burn some roms
- Attachments
-
- IMG_20131223_192206.jpg (156.82 KiB) Viewed 15293 times
- barnsey123
- Flight Lieutenant
- Posts: 379
- Joined: Fri Mar 18, 2011 10:04 am
- Location: Birmingham
Re: Microdisc replacement project
Hurry up! Santa's waiting...
Re: Microdisc replacement project
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...!
Still, I would not be discouraging you from completing the "Great Work". I want to play Space:1999 on a real Atmos...!
- coco.oric
- Squad Leader
- Posts: 720
- Joined: Tue Aug 11, 2009 9:50 am
- Location: North of France
- Contact:
Re: Microdisc replacement project
Great work, thanks a lot !
It's my christmas gift
It's my christmas gift
coco.oric as DidierV, CEO Member
Historic owner of Oric, Apple II, Atari ST, Amiga
Historic owner of Oric, Apple II, Atari ST, Amiga
- ibisum
- Wing Commander
- Posts: 1652
- Joined: Fri Apr 03, 2009 8:56 am
- Location: Vienna, Austria
- Contact:
Re: Microdisc replacement project
So terribly, terribly exciting! I will update my Cumulus' tomorrow and have a play!
Please sir, take a bow! This is AWESOME!
Please sir, take a bow! This is AWESOME!