Powerlink serial pinout, linux daemon and web interface

Forum about Visonic products like Powermax Plus and Powermax Pro

Moderators: Rene, Willem4ever

belibaste
Starting Member
Starting Member
Posts: 26
Joined: Fri Jun 08, 2012 9:08 pm

Re: Powerlink serial pinout

Post by belibaste »

You help me too mutch !!!

I found this : http://www.disk91.com/2012/technology/n ... nk-mr3020/
in the middle:
"in case you need to reinstall your piratebox

I had to re-flash my PirateBox due to some trouble during installation related to the non accessibility for the daviddarts website. To proceed this reinstallation of the OpenWrt Firmware, it is not still possible to use the integrated web interface.

To erase all the settings done, simply erase the /overlay directory

rm -rf /overlay/*
Then reboot the system and restart the installation procedure as if the system was just flashed.

Once Internet is reconfigured you can also re-flash the system by using the following command :

cd /tmp
wget http://downloads.openwrt.org/snapshots/ ... actory.bin
sysupgrade -n *.bin

I think it's the good procedure; in plus it's the same firmware
belibaste
Starting Member
Starting Member
Posts: 26
Joined: Fri Jun 08, 2012 9:08 pm

Re: Powerlink serial pinout

Post by belibaste »

Hello,
My MR3020 is always briked; so I buy a new wl703.
I install the good firmware; after I delete files for having the same install from Viknet.
For that I am using this command: ' opkg remove --force-depends + name of file'
And now my new 703 is bricked.
When I write 'opkg list-installed ' all files are presents exept 'base-files-network' ; so I can't connect with ssh or tfpt; I can connect just with telnet.
When I plug the command dmesg | grep tty; the answer is: ttyATH0 - console enabled bootconsole desabled
What do you think?
lademan
Starting Member
Starting Member
Posts: 4
Joined: Sun Oct 07, 2012 11:00 pm
Location: France

Re: Powerlink serial pinout

Post by lademan »

Hello viknet and thank you for sharing your findings,

I recently received a brand new Powermax Pro.

I want to make initial setup and config using Powermax Remote Programmer so i haven't done any programming using the panel, just powered it up without batteries.

Taking inspiration from your post I bought an usb to rs232 ttl adapter ( this one ) and built a simple adapter to connect RX, TX and GND to the Powermax Pro using the PC/IP connector.

I'm running Remote Programmer on a Win7 virtual machine under Ubuntu but so far no luck, Remote Programmer never connects to the Powermax.

So I tested :
- the USB adapter by looping rx/tx
- under Ubuntu : OK
- under Win7 VM : OK
- electrical continuity of my DIY adapter : OK
- listening to Powermax port during bootup using a simple port monitor : not a single char received

Any idea on what i could have missed ?
Or maybe Visonic shut down this access way for remote programming ?


Thank you for any hints.

( by the way, links to your scripts are dead, i'd be interested in looking at them as I do have a suitable TP-Link at hand )


Lademan
viknet
Member
Member
Posts: 65
Joined: Thu Jan 26, 2012 1:48 am

Re: Powerlink serial pinout

Post by viknet »

your adapter is perfect, but the PC/IP port is not for remote programming using the standard software it is only an interface with a powerlink.

If you want to see character on the serial link try enroling the powerlink instead of rebooting the pmax
lademan
Starting Member
Starting Member
Posts: 4
Joined: Sun Oct 07, 2012 11:00 pm
Location: France

Re: Powerlink serial pinout

Post by lademan »

Hello,

From this previous post I thought it would be possible :
Rene wrote:I can only answer one of these questions. Yes it is possible to use the remote programmer with this connection.
I'll do as you suggested to validate my setup ( at least from an electrical/electronical point of view ).

If I can't use DIY cable on the PC/IP port, do you know pinout on the large dual RS232 connector ?

Thank you for your help.
User avatar
Rene
Global Moderator
Global Moderator
Posts: 1689
Joined: Wed Oct 08, 2008 3:54 pm
Location: Netherlands

Post by Rene »

I use the pc/ip in combination with the remote programmer, so can confirm, at least on my powermax pro, it works.
lademan
Starting Member
Starting Member
Posts: 4
Joined: Sun Oct 07, 2012 11:00 pm
Location: France

Re: Powerlink serial pinout

Post by lademan »

Thank you Rene for your feedback.

So maybe my DIY cable is wrong, Trying to enrol powerlink should help me confirm it or not.

If the cable is good, maybe the fact that I've done absolutly nothing using the panel left it in an uninitialized state which prevent PC/IP port to be active.
Using the panel to simulate enrolment of powerlink will perhaps change this.
Or is there anything special I should do on the panel to activate this port ?

Last thing I'm thinking of is Visonic closing this port for anything but Powerlink... Would be bad for me...
viknet
Member
Member
Posts: 65
Joined: Thu Jan 26, 2012 1:48 am

Re: Powerlink serial pinout

Post by viknet »

beware something: all visonic pael seems to have different behaviour, and there is no way to know the software version loaded......

so this add a lot of mess to this mess...........
belibaste
Starting Member
Starting Member
Posts: 26
Joined: Fri Jun 08, 2012 9:08 pm

Re: Powerlink serial pinout

Post by belibaste »

Hello,
I have the same result like LADEMAN, with an other cable.

One question to Rene or Viknet: before using this method, do you use Visonic's material? (double RS or Powerlink 2)

Because I used Remote Power control firmware and when I went to save it ask me "what the serial Number of my material" and so I can't save ;

I think that before using Rene method, we do use Visonic material; that "unbricks" the mpax
User avatar
Rene
Global Moderator
Global Moderator
Posts: 1689
Joined: Wed Oct 08, 2008 3:54 pm
Location: Netherlands

Re: Powerlink serial pinout

Post by Rene »

I'm not using any other components within my PowermaxPro.
Rene.
belibaste
Starting Member
Starting Member
Posts: 26
Joined: Fri Jun 08, 2012 9:08 pm

Re: Powerlink serial pinout

Post by belibaste »

YES It's working
Thanks Rene and Viknet


To LADEMAN: just look at serial config in your pannel system of Windows
viknet
Member
Member
Posts: 65
Joined: Thu Jan 26, 2012 1:48 am

Re: Powerlink serial pinout

Post by viknet »

I am glad it is working, but what is working exactly ? the whole thing with the 703N and my software ?

if so you might like newer version of my software

Best regards

Vincent
belibaste
Starting Member
Starting Member
Posts: 26
Joined: Fri Jun 08, 2012 9:08 pm

Re: Powerlink serial pinout

Post by belibaste »

Hello Vincent
just Pmax Remote Programmer is working with USB/serial cable; like Rene describe it.

For the 703N I will see later
lademan
Starting Member
Starting Member
Posts: 4
Joined: Sun Oct 07, 2012 11:00 pm
Location: France

Re: Powerlink serial pinout

Post by lademan »

Hello belibaste,

Glad it works for you, haven't had time to fight the beast anymore for now.
Could you tell what to look for in the Windows Serial panel and the right parameters, please ?
belibaste wrote:YES It's working
Thanks Rene and Viknet


To LADEMAN: just look at serial config in your pannel system of Windows
belibaste
Starting Member
Starting Member
Posts: 26
Joined: Fri Jun 08, 2012 9:08 pm

Re: Powerlink serial pinout

Post by belibaste »

Hello Lademan,
Sorry for my bad english
when you are in your pannel system / COM and LPT Port you see "9600 8 no 1 no"; you click on "advanced" you see 2 cursors; you put them near the middle
Post Reply

Return to “Visonic Alarm systems”