Ixox
September 9, 2006, 11:01pm
1
Hello,
It seems that a FM Box reformat correctly a SID FM bankstick although the contrary is not possible.
The SID freeze (each time at the same pach) and reboot when trying to reformat a 24LC256s formatted by a FM.
Is it something known ?
Is there a way to totally reset a 24C256 ?
Thanks for the answers,
Xavier
T.K
September 10, 2006, 8:24pm
2
Hi Xavier,
yes, I remember that this was reported by Seppoman (?) some time ago. I still haven’t searched for the cause yet, but in general I think that this is a “low priority” issue.
You can clear the BankStick with following C program:
Init()
{
unsigned int addr;
for(addr=0; addr<32768; ++addr)
MIOS_BANKSTICK_Write(addr, 0x00);
}
[/code]
Best Regards, Thorsten.
Ixox
September 10, 2006, 9:32pm
3
Thanks Thorsten,
I had to install the sdcc kit for that but that was interesting…
The main.c skeleton looks great…
The C functions seem to be very documented (like the rest of the project).. I found how to select the bankstick in 10 seconds…
In the init() the function did not exit from the loop (!!!)… I may have uploaded something wrong.
But
void DISPLAY_Init(void) __wparam
{
unsigned int addr;
MIOS_LCD_Clear();
MIOS_LCD_CursorSet(0x00);
MIOS_LCD_PrintCString("Formating... ");
MIOS_BANKSTICK_CtrlSet(0x01);
for(addr=0; addr<32768; ++addr) {
MIOS_BANKSTICK_Write(addr, 0x00);
}
MIOS_LCD_CursorSet(0x00);
MIOS_LCD_PrintCString("Finished....");
}
did exactly what i wanted… Now my MidiboxSID have again its 2 * 24C256…
Xavier