FINALLY figured it out, but need more help!

hi everybody,

so i finally found the courage to approach my the sid project again.  after rebuilding the entire thing from scratch using smash’s new boards (which are amazing!), i was working on the power module and then it hit me: i forget to solder one of the power lines going to the core!!  i’m truly ashamed to admit it, but that was what the problem was.  figures, i build the entire thing perfectly and simply forget to solder one of the power wires!  anyway, so i’ve got it running (sends sysex request, etc.) but it seems to be encountering some errors.  here is the midiox input log from start to finish:

00010B5A   1  –     F0  Buffer:     8 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 01 F7

0001129B   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 0E F7

0001158B   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 34 F7

0001187A   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 3A F7

00011B6A   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 3F F7

00011E59   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 5D F7

00012149   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 20 F7

00012439   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 42 F7

00012728   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 28 F7

00012A18   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 59 F7

00012D0D   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 0C F7

00012FFC   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 7C F7

000132EC   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 10 F7

000135DB   1  –     F0  Buffer:     9 Bytes   System Exclusive

SYSX: F0 00 00 7E 40 00 0F 53 F7

sometimes when i do it, though, i get 10 byte strings instead.

also, i noticed that the regulator on the core is heating up (not too hot to touch, though).  i think this is fairly normal, but i thought i should mention it.

please please please help!

thanks!

james

p.s. when i use the sysexbox program, it give me an 04 error after ever line of code that it sent.

I think after THAT midi-ox dump, you have MIOS loaded.

000132EC   1  –     F0  Buffer:     9 Bytes   System Exclusive  

SYSX: F0 00 00 7E 40 00 0F 10 F7

ect..

After the upload of every 1k block an acknowledge string will be sent by the loader - Action ID “0f” for ok

From: http://www.ucapps.de/mios_bootstrap.html

Bye, Moebius

hi moebius,

thanks for the input.  the problem is that i don’t see anything on the lcd screen when i power up (except backlight).  perhaps there is something else i need to do?  is there any reason why the sysexbox program would be consistently giving me errors?  i’ll try to get some sound out of it and hope that maybe it’s just an lcd problem.

thanks

james

Hi,

the problem is that i don’t see anything on the lcd screen when i power up (except backlight).

How is the contrast trimmer set? Tweak it! Wiring problem? (You do have your lcds datasheet with pinouts, right?)

is there any reason why the sysexbox program would be consistently giving me errors?

Could this be because of THE Rock Solid, standardized Windows Multimedia, or your midi interface drivers - Maybe it just doesn’t work in your configuration:

http://www.midibox.org/cgi-bin/yabb/YaBB.cgi?board=news;action=display;num=1094505393

So, if you have your sid app loaded and working you should be able to play it through midi.

Bye, Moebius

i do have the pinout for the lcd, but i don’t think it’s a wiring problem.  the contrast trimmer has no effect (backlight trimmer works, though).  there is no sound from the box when controlled via midi (and no startup sound with bankstick).  also, the core’s regulator IS too hot to touch.

Ok,

Then back to the basic debugging.. at least midi seems to work. ;D

You know how this works: Regulator hot = a possible short. So do a visual inspection first, and then probe around with a multimeter for shorts. ect.

Bye, Moebius

ok, so i rebuilt the thing from scratch and i still have the same problem.  the only difference is that the regulator doesn’t get too hot anymore, so i guess any shorts were eliminated in round 2.  PLEASE help!  i’ve been working on this thing for months now!

p.s. haven’t tried getting any sound out of it yet though.  it’s getting late and i was discouraged by the blank display.  will try some sound tomorrow.

in a recent post (“help needed”), sephult wrote:

"How can I test if MIOS is running?

After the startup phase, you can send this message “F0 00 00 7E 40 00 0F F7” to the core, MIOS should reply with the same message immediately. You could also try to upload an application, after every code block a checksum message will be send which acknowledges that the stream has been received correctly."

i’ve tried this and it works.  the mios seems to be loaded just fine.  the regulator on the core is getting fairly hot after a while, but not as quickly (or as hot) as it did with the old boards.  i’m getting sound out of headphones, but it’s just the very faint hum of a SID waiting to play.  i haven’t heard back from anyone about this for a while.  does anyone have any ideas?  even just a reply to let me know that people are reading this would be nice.  as i said, i’m using new boards and there are absolutely NO bridges or bad connections.  please help…anybody…

thanks

james

hmmm…

Does the regulator still get hot if you unplug the LCD and run it for a while?  

Even without the CORE sending any text to the LCD you should be able to crank the contrast pot until you see all of the pixels in the display.  If this isn’t happening (no contrast) you have VS, VD, or V0 swapped/wired wrong or the display is dead.  Having any of these wrong would keep the display from working and heat up the regulator a bit at least.

Don’t give up on it yet!

Best!

Smash

yeah, the regulator gets hot even without the lcd connected (at least when i rebuilt it i made sure to use the headers!!!).  adjusting the contrast has a very very small effect on the pixels, but even when it’s all the way up, the pixels are barely visible.  the thing is, there’s no sound even when the lcd is connected.  also, could it really be a short?  i mean, mios is working, obviously, and i’m getting all of the right values from the ic pins that thorsten lists at the end of the core and sid pages.  therefore, i really have no idea what the problem could be.

What happens when you load the SID app?

:-[ uhhh…ahem ::)…this is quite embarassing.  :-[

i actually hadn’t loaded the sid app.  didn’t realize that that was part of the process.  i though mios 1.7 would take care of it.  anyway, i loaded the “main” app from the sid zip file and i can get sound now!!!  this thing is amazing.  i’m also getting full in and out midi response.  the only thing that remains to be fixed is the lcd problem.  the regulator gets burning hot when the lcd is connected and is just hot (not too hot to touch) when the lcd is disconnected.  i’ll go ahead and give smash’s advice a try and check the lcd connections.  thanks for everyone’s help.

oh yeah, which sid app should i load?  i’m running a single 6581 sid with minimal control surface…lcd, one encoder, a few buttons…  i’ve got the “main” app on there.  actually, i guess what i’m asking is this:  would someone please give me the exact list of things i need to load for my setup?  is the “main” sid app sufficient?  when i hit buttons and turn the knob (can’t see anything without the lcd) nothing really changes.

thanks so much

james :-[

UPDATE:

the lcd wiring is 100% correct.  is the only remaining possibility that the lcd itself is messed up somehow?

:-[ uhhh…ahem ::)…this is quite embarassing.  :-[

hehe I was going to ask, I’ll try to remember not to assume next time.  ;)  

<begin teasing>

Welcome to the forgot the last step club!

We meet every other week (next door to the backwards PCB club).  Sometimes we just put both groups together and have a good old time etching bad (but still useable!) PCBs, inserting PIC chips the wrong way (with the power on), and chain smoking while soldering.  

<end teasing>   ;D

oh yeah, which sid app should i load?

I don’t have a quick answer for you on this but keep in mind that the minimal surface app is written for a 20x2, so if you run it with a 16x2 you will be missing a crucial menu selection.  I’m told it can be easily recompiled to support 16x2…just a heads up…

UPDATE:

the lcd wiring is 100% correct.  is the only remaining possibility that the lcd itself is messed up somehow?

Could be a bad display…hard to know.

I have these sweet Data Vision display here that I stocked years ago for spares for my alesis units (I have long since banished all alesis from my outboard racks).

I decided it was time to use one on a box, grabbed the datasheet and started making the cable.  According to the datasheet these have a “HD44780 or equivalent” controller/driver chip.

An hour later (and a second LCD cable built) still no groovy.  Throw it in an alesis unit, still works fine.  Cool, no problem, datasheet must be wrong. (Very common when datasheets are translated to engrish)

Two more hours later and every possible wiring configuration (within reason) tried, still no groovy, still works in the alesis, and that CORE has no problems driving other displays.

moral of the story:  some “or equivalent” displays don’t work for the MB, probably a timing issue or some other stupid difference (no fault of TK, there are several thousand companies worldwide fabricating LCDs, it’s not unreasonable to assume that while most work fine others will have issues due to “or equivalent” engineering.)

Personally I would set that display -and cable- aside and find anything with a real HD44780 chip on it before spending any more time with the no groovy one.

BTW congrats on getting some sound out of it!  I know its been a long effort but you are definitely on the downhill side now.   :slight_smile:

Best!

Smash

thanks for the support, smash.  so i sent the sid 6581 with cs app to the box and i can now change sounds, etc.  i think it still might be getting a little too hot even without the lcd though.  also, there’s a pretty heavy background hum (maybe a grounding issue?) and it reset a couple of times on my for no reason (i mean, i could literally hear it “pop” off and then “pop” back on and start playing the default sound).  this concerns me.  as for the display, i’m using the 40x2 from bg micro.  as far as i know, other people have used this one with no problems.  one thing i’m thinking: i’m actually using part of the circuit board from the original c64 for my power circuit.  i mean, i literally cut a small square from around where the power input jack and switch are on the c64 and wired directly from there to the cap, diode, and, ultimately, the core/sid circuit.  i’ve checked continuity, etc. and i think it checks out, but i’m wondering if this is fishy?  the thing that makes absolutely no sense to me is this: whatever the problem is, why am i hearing anything at all?  if it’s working well enough to function (seemingly) normally except for the lcd, that probably limits the possible trouble spots significantly, right?

i’ve got a show tonight, so i’ll have to make due with an lcd-less box.  i would really really love to get this thing working 100% though, cause it’s annoying to have to push random buttons and turn the knob blindly to change the sounds.

thanks

james

p.s. after fiddling with it for a bit, i think the ground hum that i was hearing was maybe just because the volume out of the sid was low.  when i blindly adjusted the volume to pump a little louder, the ground hum was much less noticeable.

ok, so a few updates…

i was actually able to use the sid box in my show last night and it was a hit!  after using it for a whole day and then last night, i now have a more informed description of its functionality (or lack there of).  so here goes:

  1.  the regulator does get hot after a while, but it seems pretty stable.  i chalked that up to normal functioning and threw a heatsink on it…problem solved (i hope… :-/).

  2. when i first turn on the box and the sound kicks in, the actual sid sound is very quiet and there’s a fairly prominent humming sound.  usually, when i fiddle around with the buttons and the knob for a few moments, the sid sound jumps to its normal level and (i think) the hum goes away.  i’d estimate that the “normal” volume i’ve just mentioned is aboout 5 times louder than the initial volume.  i don’t think this is a wiring issue, because it’s clearly altered by the control surface.  is this normal?

  3. the box no longer resets itself after a few mintues as long as i leave it alone.  in other words, i concluded that it only is susceptible to resetting when i really go crazy with the buttons and the encoder (i.e. esentially holding a lot of buttons down at once, etc.).

  4. it’s really important that i confirm that the 40x2 displays from b.g. micro are compatible.  i read on the boards a few months ago that other people were using them (and actually, i think thorsten posted a link on one of the midibox pages).

i really think i’m in the final stretch here.  if i could just resolve the screen issue, i think i’d have a fully functioning sid synth.  if anybody has any insight into what the problem may be or if anybody can tell me if the above obeservations are “normal” or not, please let me know.  i know i seem a bit frantic and overwhelming on the boards right now and i apologize for that, but i’ve spent a LOT of time with this thing and i really want to get it working.

thanks!

james

no one has any ideas?

is it safe to say that it’s just the lcd at this point?  if so, should i try a different brand or something?  or should i order a new one of the same model and assume my current one is busted?

my wiring is 100% correct according to the lcd data sheet.  is there anything i can do to make sure the pinout is correct?

please, i’m begging for help on this.  i think i’m almost there!

no one has any ideas?

is it safe to say that it’s just the lcd at this point?  if so, should i try a different brand or something?  or should i order a new one of the same model and assume my current one is busted?

my wiring is 100% correct according to the lcd data sheet.  is there anything i can do to make sure the pinout is correct?

please, i’m begging for help on this.  i think i’m almost there!

Are you in the US?  All Electronics has a  24x2 that should work for $4.

I’d give it a shot…

http://www.allelectronics.com/cgi-bin/category.cgi?category=365&item=LCD-107&type=store

I have exactly the same problem here. I do the midibox seq and use the same displays which thorsten uses (from reichelt). I already saw some data on screen when I uploaded other applications (i.e. midibox64 main.syx) to the PIC, but these were totally messed up and the core sends out strange sysex strings. also connected a 2x16 display to the core - same problem. I think it’s definitely not the LCD.

is there probably a problem with a wrong burned bootstrap loader? (I got a pre-burned PIC).

I have exactly the same problem here. I do the midibox seq and use the same displays which thorsten uses (from reichelt). I already saw some data on screen when I uploaded other applications (i.e. midibox64 main.syx) to the PIC, but these were totally messed up and the core sends out strange sysex strings. also connected a 2x16 display to the core - same problem. I think it’s definitely not the LCD.

First off, please keep in mind that it’s very hard to help you when you spread your questions about the same problem(s) over multiple posts…

Did you check the 2x16 using the same cable as the other one?

The row of black blocks on all character displays comes when the display is initialized correctly.  The black block display at init is built into all HD44780 LCD controller chips, it’s not a funtion of MIOS.  

That said it is possible in some situations for the display to correctly initialize -with the data lines wired wrong-.  Wrong wiring on the data lines will cause it to try to display characters, but all the wrong ones.  Also a bad or questionable connection on any of the lines could cause this.

Is the “strange sysex” merely the MB64 app sending the random data from inputs that are not clamped properly?

is there probably a problem with a wrong burned bootstrap loader? (I got a pre-burned PIC).

Seems people are starting to be quick to point fingers lately before checking their own work.  

I buy 18F452’s by the tube, and I pull one from every tube for my own certification.  This chip gets a burn test (4x erase, program, verify) and a custom I/O test before I burn any other chips from the lot.

That sticker I put on your chip only gets put there after it is verified.  I take this effort very seriously because if I don’t people could be chasing unexpected issues related to the loader.

Trust me, when you cut open that anti-static sealed baby chip tube to get the PIC out, the bootstrap was on there and ready to run.

Out of a dozen or so PIC’s returned to me as not working/bad bootstrap, NONE have been bad.  Not one.

That said, I invite you to send it all back to me for a full refund if you are not satisfied.  But know that I will troubleshoot it and post what I find here, only to let prospective customers know what was actually wrong so they can order from me without fear.  My intent is not to embarass you or question your electronics skills with this, but you called me on it in public instead of privately, so now a private response about this from me would make it seem that I don’t care if anyone has success with the stuff I sell.  That is obviously not the case.:wink:

Sorry if I am grouchy over this, but I grow weary of people first thinking that my boards/kits are at fault for issues during construction.  For every issue posted here, every problem with LCD’s, with Banksticks, with Bootloaders, there are at least ten times more boards/kits out there that worked fine first try.

Best!

SmashTV

Wow

Note to self–don’t post before morning coffee.   ;D

Sorry about grouchysmash that made that last post, you guys caught a rant that should have been posted separately (and probably worded a bit nicer)  :-[

I don’t mean to imply that your question about a bad burn on the PIC could not be the source of your problems, It is just very unlikely based on the info we have so far about your box.  Since you have a meter give me more detailed info about what’s going on and I’ll talk you through it, without the stupid american 'tude in the last post, and know that I have a shelf full of MIDIbox parts here to insure that we get your box up and running.  ;D

(or if you are sick of messing with it my offer stands to send it back, we can -all- learn from figuring out the cause of your specific failure modes and we would help countless future builders by linking the symptoms to the cause of the problem!)

I would really look the LCD cable over, an intermittent connection on a data line or a short between data lines could definitely cause this.

Let me know everything about your LCD connection please and we’ll move on from there…

Best

SmashTV