Home AMX User Forum AMX General Discussion
Options

Marantz tuner codes

Does anyone have the RS-232 protocol for the new Marantz ST-7001? Marantz hasn't been forthcoming and I don't see anything in InConcert yet.

Jeff Lockyear
Synergy Home Systems

Comments

  • Options
    DHawthorneDHawthorne Posts: 4,584
    Attached ... there are two files in there. One is the specific command set for the ST7001, and the other is the overall protocol format for the newer Marantz devices - how to arrange the command packets, hardware settings, etc.
  • Options
    DHawthorneDHawthorne Posts: 4,584
    Oh, and I might add that sending RS-232 strings to this tuner in the wrong format locks the unit up solid ... even the front panel won't work. If it becomes unresponsive on you, you have to unplug it.
  • Options
    Jeff LockyearJeff Lockyear Posts: 147
    Thanks a ton Dave. I actually had to reboot my toaster once by unplugging it. Anything with a microchip will need a 'boot eventually! Thanks for the head's up.

    Jeff
  • Options
    JimiJimi Posts: 10
    Can you be more specific about the lock up? I have a couple units that are locking up on me and I can't seem to find the issue.

    Currently I'm not really waiting for a responce (I know, I know) but I am metering out my commands at 1 second intervals. According to the documentation I have this should be more than enough time for a responce.

    Thanks for your help. I'm pretty new to all this and the learning curve is a lot steeper than I expected.

    Jimi
  • Options
    DHawthorneDHawthorne Posts: 4,584
    Jimi wrote:
    Can you be more specific about the lock up? I have a couple units that are locking up on me and I can't seem to find the issue.

    Currently I'm not really waiting for a responce (I know, I know) but I am metering out my commands at 1 second intervals. According to the documentation I have this should be more than enough time for a responce.

    Thanks for your help. I'm pretty new to all this and the learning curve is a lot steeper than I expected.

    Jimi
    I was experimenting with the ST7001 before I had a proper protocol documentation. I was sending it codes in the format the older Marantz units accepted. The tuner completely froze. It stopped responding to the serial port and to the front panel. Once I had the proper protocol and made good and sure it never sent anything the wrong way, my lockups stopped. IMO, it's a flaw in the serial control ... bad formatting in a command should be ignored, not cause the processor to seize. Once it locked, it required the tuner to be unplugged and restarted to get control back.
  • Options
    JimiJimi Posts: 10
    I am experiencing the same thing. I've rechecked my codes a couple times and they seem to be acurate. I'm having the hardest time figuring out which one is causing it to crash. I'll use it without flaw for a while and then I'll come back to use it and it will be hung.

    Maybe something else in my program is 'accidently' sending strings to this device but I don't think so.

    Any chance I could look at your module?

    I'm so tired of messing with this thing.
  • Options
    DHawthorneDHawthorne Posts: 4,584
    Here you go. It's pretty basic and has no set panel design attached to it; I use a virtual device for all but the text display output. I might add it's entirely possible this still locks up too; when I first had the problem, I had the customer reset it himself. He's a pretty easy going guy, and he might not be bothering to tell me it still locks up, but just goes and resets it on his own.
  • Options
    JimiJimi Posts: 10
    Thanks

    Thanks for letting me take a look at your code. Although it is very well organized, I especially like a couple of your string functions, it didn't do anything different than mine.

    After much agrivation I decided to take out the power commands from my driving program. As far as I can tell it cleared up the problem. Until now I've been a little sloppy with my on and off routines and I've allowed multiple rooms to turn an device on if they want to. I feel like this particular unit didn't like that. Perhaps it'll turn out to be something else but at this time it's my best guess.

    Appreciate all the help.

    Jimi
  • Options
    Hey Dave,

    Can you give me an example of the DEFINE_MODULE for this?

    Thanks a ton.

    Jeff Lockyear
    Synergy Home Systems

    Er, never mind. Wrote before I thought!
  • Options
    So I've had lock up problems too, without power commands. I'm just parsing some of the basic feedback stuff. And I have all my commands working, except preset selection. I've tried both TPR and NUM. Anyone else had this problem?

    Jeff
Sign In or Register to comment.