mr_chombee Posted December 8, 2004 Report Share Posted December 8, 2004 I'm using 2 of 24LC256-I/P IC's from conrad. one on adress 0 and the other on adress 1. the wiring does exactly match thorstens description, but mios detects only one of them. I compiled a syx file with reversed adresses (song adress=1, pattern adress=0). when I upload it to the pic, mios detects and formats both right after rebooting, but as soon as I switch the power supply off and turn it on again, it keeps saying that either the song or pattern bankstick is not available. any solution? Quote Link to comment Share on other sites More sharing options...
TK. Posted December 9, 2004 Report Share Posted December 9, 2004 Stupid question: are you using v2.1? Because there was a problem with this BankStick configuration in v2.0 which has been fixed in v2.1Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
mr_chombee Posted December 9, 2004 Author Report Share Posted December 9, 2004 yes, I'm using v2.1. Quote Link to comment Share on other sites More sharing options...
TK. Posted December 9, 2004 Report Share Posted December 9, 2004 Can you please insert following code below the USER_DISPLAY_Tick label and before the goto instruction in main.asm: USER_DISPLAY_Tick ;; test status of song/pattern bankstick movlw 0x00 call MIOS_LCD_CursorSet movf MB_STAT, W call MIOS_LCD_PrintHex2 movlw DEFAULT_BANKSTICK_PATTERN_CS call MIOS_LCD_PrintHex2 movlw DEFAULT_BANKSTICK_PATTERN_CS call MIOS_BANKSTICK_CtrlSet clrf MIOS_PARAMETER1 clrf MIOS_PARAMETER2 call MIOS_BANKSTICK_Read call MIOS_LCD_PrintHex2 call MIOS_BANKSTICK_Read call MIOS_LCD_PrintHex2 movf MIOS_BOX_STAT, W call MIOS_LCD_PrintHex2 movlw DEFAULT_BANKSTICK_SONG_CS call MIOS_LCD_PrintHex2 movlw DEFAULT_BANKSTICK_SONG_CS call MIOS_BANKSTICK_CtrlSet clrf MIOS_PARAMETER1 clrf MIOS_PARAMETER2 call MIOS_BANKSTICK_Read call MIOS_LCD_PrintHex2 call MIOS_BANKSTICK_Read call MIOS_LCD_PrintHex2 movf MIOS_BOX_STAT, W call MIOS_LCD_PrintHex2 return Which values are displayed at the upper LCD line?They should give me enough input to determine what is going onBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
mr_chombee Posted December 10, 2004 Author Report Share Posted December 10, 2004 hey, thanks a ton! unfortunately I can't give it a try before sunday. I'll let you know as soon as I'm back in the studio. Quote Link to comment Share on other sites More sharing options...
mr_chombee Posted December 11, 2004 Author Report Share Posted December 11, 2004 it returns the following:C80036280100362801 Quote Link to comment Share on other sites More sharing options...
TK. Posted December 12, 2004 Report Share Posted December 12, 2004 It seems that the BankSticks are not correctly configured (I must admit that this is not goot enough documented at the website, but only in the .asm file)Just open setup_mbseq_v2.asm (or the .asm file you are using), search for DEFAULT_BANKSTICK_SONG_CS and set it to 1The default is 0 since it is assumed that the MBSEQ is stuffed with a 64k BankStickBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
mr_chombee Posted December 12, 2004 Author Report Share Posted December 12, 2004 oh sorry...I took an original file where I inserted the code. with the correct bankstick setup it returns:C00036280101FFFF00(pattern adress=0, song adress=1)3001FFFF00007A5C01(pattern adress=1, song adress=0) Quote Link to comment Share on other sites More sharing options...
TK. Posted December 13, 2004 Report Share Posted December 13, 2004 It looks like your second BankStick (where Pin #1 is clamped to +5V) is not accessible. Either it is not wired correctly, or Conrad sent you the wrong chip - which part number is printed on the chip exactly (do you also see the name of the manufacturer)?Sidenote: Reichelt sells the Atmel 24C256 as ST M24256 - the Atmel EEPROM provides three chip select lines (which is good), the ST EEPROM not (which is bad). Maybe Conrad has also changed the manufacturer, regardless of the fact that the Specs could be different. Thats the reason why I'm askingBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
mr_chombee Posted December 13, 2004 Author Report Share Posted December 13, 2004 hmmm...the chips' engraving is pretty hard to identify, but it looks like:24LC256I/P0AJ0403manufacturer is microchip. I guess these are the right chips, are they? the wiring is absolutely correct...I re-checked a thousand times. hmmm...I guess I better order a 512k chip from voti, huh? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.