Jump to content

MBSeq bankstick not working


mr_chombee
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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 on

Best Regards, Thorsten.

Link to comment
Share on other sites

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 1

The default is 0 since it is assumed that the MBSEQ is stuffed with a 64k BankStick

Best Regards, Thorsten.

Link to comment
Share on other sites

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 asking

Best Regards, Thorsten.

Link to comment
Share on other sites

hmmm...the chips' engraving is pretty hard to identify, but it looks like:

24LC256

I/P0AJ

0403

manufacturer 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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...