Jump to content



Photo
* * * * * 9 votes

Pinscape Controller software V2

pinscape

  • Please log in to reply
975 replies to this topic

#901 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,331 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 26 July 2021 - 04:34 PM

redferatu - It looks like you successfully installed the firmware, both the PE Micro boot loader and Pinscape, so it should work on Win 10.  A short yellow flash every few seconds means that the device is trying to establish the USB connection (see KL25Z Status Lights).

 

I'm not sure what could be going wrong.  Do you have both USB ports on the KL25Z plugged into cables to PC USB ports?



#902 redferatu

redferatu

    Hobbyist

  • Members
  • PipPip
  • 14 posts

  • Flag: Australia

  • Favorite Pinball: Terminator 2

Posted 27 July 2021 - 05:11 AM

Just the one. I was going to try a different usb port and cable. Even though the cable use to work on win7. I am using a frankendell, hacked up, full size graphics card, etc, optiplex 9020, hoping it is an issue with the usb port / mobo.



#903 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,331 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 27 July 2021 - 03:40 PM

redferatu - I'm sure you've already checked this, but are you sure you have the one USB cable plugged into the correct port on the KL25Z?  If you're only using one cable, it needs to be the one labeled "KL25Z" on the board.  If it's plugged into "OpenSDA", you'll see exactly the behavior you observe - it'll power the board, but the Pinscape side won't be able to connect to USB.



#904 redferatu

redferatu

    Hobbyist

  • Members
  • PipPip
  • 14 posts

  • Flag: Australia

  • Favorite Pinball: Terminator 2

Posted 31 July 2021 - 05:12 AM

Swapped the usb ports around. Worked after a re-boot. Cheers @mjr



#905 deltaford

deltaford

    Hobbyist

  • Platinum Supporter
  • 13 posts
  • Location:Sweden

  • Flag: Sweden

  • Favorite Pinball: Theatre of Magic

Posted 10 August 2021 - 05:54 AM

mjr- Would it be possible to add PWM support fort the 74HC595? 

74HC595's and common transistors/darlingtons/mosfets still are cheap and available even during global IC shortage.
Implementing PWM for shift registers could add flexibility to manage without dedicated LED driver IC's.
There are already implementations available that maybe could be adapted to the KL25Z and the Pinscape firmware.
 
Some examples: 
github.com/elcojacobs/ShiftPWM 
github.com/PaulStoffregen/ShiftPWM 
github.com/zookzook/binary-code-modulation 
www.batsocks.co.uk/readme/art_bcm_3.htm

Edited by deltaford, 10 August 2021 - 06:07 PM.


#906 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,331 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 10 August 2021 - 05:22 PM

Would it be possible to add PWM support fort the 74HC545? 

74HC595's and common transistors/darlingtons/mosfets still are cheap and available even during global IC shortage.

 

It might be technically possible, although it would probably be a little tricky, given the tight timing requirements for quality PWM, the tight resources on the KL25Z, and the amount of work the software is already doing.  I'd be happy to consider a pull request that implements it, if you're interested in taking it on.  (Suggestion if you do: please be sure to test with the AEDR-8300 and IR receiver features, since those depend on very low interrupt latency.)  

 

I'm personally not convinced that the global IC shortage is a permanent thing, though, so I'm not sure it would be feasible to finish the feature in time for this to be easier to solve through hardware.



#907 deltaford

deltaford

    Hobbyist

  • Platinum Supporter
  • 13 posts
  • Location:Sweden

  • Flag: Sweden

  • Favorite Pinball: Theatre of Magic

Posted 10 August 2021 - 07:31 PM

 

Would it be possible to add PWM support fort the 74HC545? 

74HC595's and common transistors/darlingtons/mosfets still are cheap and available even during global IC shortage.

 

It might be technically possible, although it would probably be a little tricky, given the tight timing requirements for quality PWM, the tight resources on the KL25Z, and the amount of work the software is already doing.  I'd be happy to consider a pull request that implements it, if you're interested in taking it on.  (Suggestion if you do: please be sure to test with the AEDR-8300 and IR receiver features, since those depend on very low interrupt latency.)  

 

I'm personally not convinced that the global IC shortage is a permanent thing, though, so I'm not sure it would be feasible to finish the feature in time for this to be easier to solve through hardware.

 

 

Thank you for the feedback. I understand it may not be worth the effort.I may give it a try, but lets hope things return to normal soon.



#908 ElekZik

ElekZik

    Neophyte

  • Members
  • Pip
  • 4 posts

  • Flag: France

  • Favorite Pinball: FX3

Posted 24 October 2021 - 09:11 AM

Hi,
I've installed pinscape on a KL25Z, but when I tried to change settings, i've a internal error on all the functions : line 8423, col 17.
I've tried to uograde the bootloader, latest firmware, but no solution....
Someone knows what should be made to solve this ?
It could be a problem with the config file ? How to reset it ?
Thanks !

Edited by ElekZik, 24 October 2021 - 09:34 AM.


#909 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,331 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 24 October 2021 - 08:10 PM

ElekZik - Are you on the latest version of the firmware and config tool?  If not, you might want to try grabbing the latest versions of both and trying it.  If you're already on the latest version, do you see any more details in the error box?



#910 ElekZik

ElekZik

    Neophyte

  • Members
  • Pip
  • 4 posts

  • Flag: France

  • Favorite Pinball: FX3

Posted 24 October 2021 - 08:16 PM

ElekZik - Are you on the latest version of the firmware and config tool?  If not, you might want to try grabbing the latest versions of both and trying it.  If you're already on the latest version, do you see any more details in the error box?

 

Yes, it seems to be the latest bootloader, latest firmware and latest config tool.
In the error box, it said :
html/Configure.htm, line 8423, col 17
TypeError : Impossible d'obtenir la propriété "type" d'une référence null ou non définie

In English, it should be : Cannot get "type" property of a null or undefined reference


Edited by ElekZik, 24 October 2021 - 08:38 PM.


#911 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,331 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 24 October 2021 - 09:54 PM

You might try backing out to the previous version of firmware and/or Config Tool to see if that helps, in case it's a problem in the latest update. Are you using the French localized version of the Config Tool, or the base version from my site (mjrnet.org)?



#912 ElekZik

ElekZik

    Neophyte

  • Members
  • Pip
  • 4 posts

  • Flag: France

  • Favorite Pinball: FX3

Posted 25 October 2021 - 04:39 AM

The first configuration was made on the French version.
That's why I asked the question to do a complete reset of the configuration. The problem may be related to missing options during initialization.
Currently, when I make a change, the configuration always asks me for my saved file. If there is a problem with this file, I import the problem every time.
Can we completely erase the current configuration?

I'd experiment with older versions in case it unlocks something.

Line 8423,Col 17 is the plunger type settings and I don't have one (I plan to use a simple button for the launch of the ball).

EDIT : I tried with the old French version and the configuration is done normally. I updated this version and it seems to be working.
I will test today and keep you informed.

Edited by ElekZik, 25 October 2021 - 06:18 AM.


#913 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,331 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 25 October 2021 - 08:04 PM

> Currently, when I make a change, the configuration always asks

> me for my saved file.

 

Hmm, I'm not sure what you mean - could you give me a screen shot of where it's asking?  And maybe the exact sequence of things you're doing to get there.

 

> Can we completely erase the current configuration?

 

Installing the firmware via drag-and-drop from the desktop will do that.  You can also use "Set up a new KL25Z" in the Config Tool.



#914 ElekZik

ElekZik

    Neophyte

  • Members
  • Pip
  • 4 posts

  • Flag: France

  • Favorite Pinball: FX3

Posted 26 October 2021 - 08:03 AM

> Can we completely erase the current configuration?

 

Installing the firmware via drag-and-drop from the desktop will do that.  You can also use "Set up a new KL25Z" in the Config Tool.

I've tried multiple time to "Set up a new KL25Z" and Drag&Drop from the desktop, but the error box continues to pop when I clic on Settings in the Config Tools.

 

The error message appears when I click on most of the parameters: "KL25Z", Plunger type, ... and even when I try to write the data in the KL25Z, or when I click on Revert, or when I 'tries to save the configuration to the hard drive.

 

 

 

> Currently, when I make a change, the configuration always asks

> me for my saved file.

 

Hmm, I'm not sure what you mean - could you give me a screen shot of where it's asking?  And maybe the exact sequence of things you're doing to get there.

It seems that when I try to update the firmware, it can't save the archive file. When update is finish, it can't load the file so it ask me to select the file but the only one I have is the first I've made with the French version and seems incompatible.

I've solved my problem with the upgrade of the version I have firstly use. :)
Seems to work perfectly now.
Thanks and sorry for disturbing you. Should have use your version at first use and avoid all this problems.



#915 jcopps

jcopps

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: United States of America

  • Favorite Pinball: Whirlwind

Posted 29 January 2022 - 06:12 PM

Hi there.  Apologies if this has been covered repeatedly, but what do I do if the Pinscape Config tool doesn't auto-download the firmware?  I'm setting up a new KL25Z board, the tool recognizes it and says it's ready to install firmware, but there's nothing in the Pinscape Downloads folder. Is there some other option?  Many thanks in advance.



#916 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,331 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 29 January 2022 - 07:06 PM

Hi there.  Apologies if this has been covered repeatedly, but what do I do if the Pinscape Config tool doesn't auto-download the firmware?  I'm setting up a new KL25Z board, the tool recognizes it and says it's ready to install firmware, but there's nothing in the Pinscape Downloads folder. Is there some other option?  Many thanks in advance.

 

You can download the firmware manually from here:

 

http://mjrnet.org/pi.../swversions.php

 

If you put it in the config tool downloads folder, the config tool should see it and offer it in the list of available files.  If you don't see it, use "select another file" and navigate to the file with the Windows file picker.

 

I'm not sure why you're not seeing any files downloaded automatically, but my guess would be that you probably have a firewall or anti-malware program that's blocking the config tool from accessing the Internet.



#917 jcopps

jcopps

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: United States of America

  • Favorite Pinball: Whirlwind

Posted 29 January 2022 - 07:22 PM

Yeah, sorry, I just found the manual download and was testing the cabinet, didn't get back quick enough haha.  It works wonderfully, thank you so much!



#918 sreisig1

sreisig1

    Hobbyist

  • Members
  • PipPip
  • 14 posts

  • Flag: United States of America

  • Favorite Pinball: Goonies Pinball Adventure

Posted 25 June 2022 - 03:03 PM


Hi there.  Apologies if this has been covered repeatedly, but what do I do if the Pinscape Config tool doesn't auto-download the firmware?  I'm setting up a new KL25Z board, the tool recognizes it and says it's ready to install firmware, but there's nothing in the Pinscape Downloads folder. Is there some other option?  Many thanks in advance.

 
You can download the firmware manually from here:
 
http://mjrnet.org/pi.../swversions.php
 
If you put it in the config tool downloads folder, the config tool should see it and offer it in the list of available files.  If you don't see it, use "select another file" and navigate to the file with the Windows file picker.
 
I'm not sure why you're not seeing any files downloaded automatically, but my guess would be that you probably have a firewall or anti-malware program that's blocking the config tool from accessing the Internet.
I just started getting the discussed error and bug this morning. I'm running latest firmware and it s been working fine for weeks. Settings page and outputs page wasn't coming up after clicking them. I looked on main page and it was asking me for firmware update even though I already had the latest firmware. So I did it and now when I save settings after loading backup config file it fails. And when I go back into pinscape config tool and click settings I get the attached errror.
Internal error. An error has occurred within the configuration tool. This is probably due to a bug in the program, not anything you did wrong.

Technical details for debugging.

html/configure.htm Line 9092 col17
Type error: Unable to get property type of undefined or null reference.

#919 CainArg

CainArg

    Hobbyist

  • Members
  • PipPip
  • 21 posts

  • Flag: Argentina

  • Favorite Pinball: Fun House

Posted 17 August 2022 - 05:27 PM

Hi!

 

is possible to add bluetooth to KZ25L with an USB dongle? of course adding a Power Unit to feed the board, or maybe a power bank to be wireless.

 

Thanks!!!!



#920 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,331 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 17 August 2022 - 07:22 PM

is possible to add bluetooth to KZ25L with an USB dongle? of course adding a Power Unit to feed the board, or maybe a power bank to be wireless.

 

Probably not.  Since there's only the one USB port, which needs to operate in device mode (not host mode) to connect to the PC.  (Yes, I know it looks like there are two USB ports on the KL25Z, but one of them doesn't actually connect to the KL25Z - it only connects to the separate on-board boot loader CPU, for loading firmware updates.)  What you'd probably have to do is find a microcontroller-friendly Bluetooth board that speaks I2C or SPI and connect it to the KL25Z via GPIO ports.

 

What did you have in mind that you wanted to do with it?  Maybe there's a way you could achieve the same goals by connecting a USB Bluetooth adapter directly to the PC?







Also tagged with one or more of these keywords: pinscape