DIN-module problem (edited)
#1
Posted 19 December 2007 - 22:40
I managed to get Core and Sid with LCD fully working. 8 banksticks were formatted fine.
Then I let myself to have a pause while waiting DIN & DOUT parts to arrive. I soldered the DIN module and connected it to Core. Core was using the newer MBSID (V2.0 RC14) since it's PIC18F4685 so I assumed there was everything set that the DIN module works with "basic settings". I tried few buttons, but no activity.
I tried if things could be better with older MBSID software. Uploaded it in and after the boot it started to format banksticks again. It jammed on bankstick C with patch 67, rebooted, started to format bankstick C again, jammed on patch 67, rebooted, started to format... and this happened continuously.
I didin't find any other way out than upload the newer MBSID again (stupid be that I didn't unplug the bankstick module to stop that looping). The new software uploaded fine, but after the boot the LCD gave black boxes on the upper line. I heard the formatting sound again but no visual. After the formatting sound I rebooted the system, but this ongoing situation started: only black boxes on the upper row, and no sound.
Everytime the system is powered up it sends Sysex message: F0 00 00 7E 40 00 01 F7, but that's the only message for some sort of life in there. Could the PIC be dead?
Every other second I fight my way to get it work and finished no matter what it costs, but every other second I consider to give up with it and find another hobby. :-|
#2
Posted 19 December 2007 - 23:12
#3
Posted 19 December 2007 - 23:23
Could you please create a SRAM dump from address 0x000, range 0x80 and address 0x500, range 0x100 and copy&paste it here? This give me the required informations about the LCD state.
The SRAM can be read with the debug tool of MIOS Studio like shown here:

Best Regards, Thorsten.
#4
Posted 19 December 2007 - 23:50
Jimp&TK: the PIC looks like jammed somehow, because it doesn't react to any MIDI command.
Like Jimp said, it sends the upload request, but it doesn't respond to software upload when using smart mode (manual mode doesn't work either).
TK: it's the same thing when trying to read SRAM, nothing's coming in.
I've done some research. I changed the optocoupler, no solution. I tried PIC18F452, and it worked. So there's something wrong with PIC18F4685. Perhaps it's not receiving midi?
While problem solving the 4685, I can continue building with 452.
#5
Posted 20 December 2007 - 00:01
You can do this the following way: power-off the core, enable smart mode, load the latest MIOS .hex file into MIOS Studio (mios_v1_9f_pic18f4685.hex), and press the upload button. Now power the core: MIOS Studio should start with the upload after the upload request has been received.
Best Regards, Thorsten.
#6
Posted 20 December 2007 - 07:20
Quote
That was it! Thank you TK! Now I'm also more aware about the structure of software hierarchy on the PIC so this helps me with later problems to know that it's not the end if fooling around with software uploads.
#8
Posted 25 December 2007 - 18:34
The problem is that nothing happens when connecting vss to some D0-D7 pins. Every D-pin has 5 volts. I've uploaded interconnection test, but modulation wheel doesn't have any effect on screen.
Any advices?
#9
Posted 29 December 2007 - 11:44
since DINX4 J1 is labelled with "SI" pin and not "SO" pin like mine (version R5)? Does those stand for "Serial in" & "Serial out" ?
#10
Posted 29 December 2007 - 13:02
Best Regards, Thorsten.
#11
Posted 29 December 2007 - 15:39
Quote
Quote
To answer why the SO pin is on the DIN since it's only used by the DOUT, it's so a DIN->DOUT chain is possible without a "Y" cable.
From my DIN page:

Notice only half of that connector is labeled, due to it sitting on the edge of the board. There is simply no room for that half of the silkscreen legend.....

At the other end of the board. Again no room for a proper legend, but keep in mind the pinout for J1 and J2 are the same.
Quote
Best Regards, Thorsten.
Best Regards
Smash
#12
Posted 29 December 2007 - 17:45
Quote
But you still need to build a "Y" cable when connecting both DIN and DOUT? or I just made an over engineered DIN/DOUT cable? ;D
#13
Posted 30 December 2007 - 10:57
Quote
SO is routed through the DIN module, so you can connect DOUT modules after a chain of DIN modules.
The inverse is not true, SI is not routed through a DOUT module.
#14
Posted 30 December 2007 - 15:52
Quote
(yet)
#15
Posted 30 December 2007 - 17:09
#16
Posted 31 December 2007 - 15:31
Quote
From my DIN page:
Notice only half of that connector is labeled, due to it sitting on the edge of the board. There is simply no room for that half of the silkscreen legend.....
At the other end of the board. Again no room for a proper legend, but keep in mind the pinout for J1 and J2 are the same.
Best Regards
Smash
Oh my god, I finally got it and this solves my problem ;D
I didn't realize that there's a possibility to chain DOUT modules with DIN, so I have soldered the connection for the core to the wrong side of J1 on DIN pcb. First this seemed to be ideal way to connect pcb "serial out" to "serial in" (like you do with MIDI) :-) I didn't consider why there's double holes on the pcb.
Thanks everyone!



Help















