tjc02002 Posted February 4, 2019 Share Posted February 4, 2019 I am wondering if anyone out there has a Nucleo pin2dmd build that they are using in a stern pinball machine(preferably SAM) using a serial connection for switching palettes/pinball browser colorization. The reason I’m asking is because I have set up 2 stern Metallica pinball machines with pin2dmds. The first one was the older stm build and it worked perfectly. This latest one is a Nucleo and it is having strange behavior. Certain screens are switching pallets correctly and certain screens don’t. I have recreated all the files, tried different SD cards and swapped the max232 out and it acts the same. I think the problem is narrowed down to one of two things: the unclesash shield has an error or the Nucleo firmware is not communicating correctly. It’s strange because many screens work fine and I can even recolor them in pinball browser and it works. But a few screens, I’d say 30 percent of them, are colored incorrectly. If I disconnect the serial cable the screens no longer color correctly at all so it’s definitely communicating somewhat. Any help would be appreciated. Link to comment Share on other sites More sharing options...
Content Provider lucky1 Posted February 5, 2019 Content Provider Share Posted February 5, 2019 I´m running the Nucleo firmware (on a EVO board) in my ST Pro and haven´t noticed any problems so far. Is the problem reproducable like the same scene has always the wrong colors ? From the code side there is absolutely no difference between the builds for disco and nucleo except that the uart ports are mapped to different pins. Do you have a wifi chip installed ? Link to comment Share on other sites More sharing options...
tjc02002 Posted February 5, 2019 Author Share Posted February 5, 2019 It’s always the same scenes that are either colored correctly or not. The ones that aren’t colored correctly seem to inherit the palette that’s already loaded. Something even more strange is that we just recently tried loading the met 1.8 code and colored scenes and it doesn’t seem to work at all. 1.7 works but some scenes are not. Link to comment Share on other sites More sharing options...
Content Provider lucky1 Posted February 5, 2019 Content Provider Share Posted February 5, 2019 Do you have a wifi chip installed ? Did you patch the ROM with your serial number ? Link to comment Share on other sites More sharing options...
tjc02002 Posted February 5, 2019 Author Share Posted February 5, 2019 No WiFi module installed. Rom patched with serial number. Link to comment Share on other sites More sharing options...
Content Provider lucky1 Posted February 6, 2019 Content Provider Share Posted February 6, 2019 I released the v2.62 which adds a RS232 test to the onscreen menu. Make a connection between TX and RX pin to test. https://github.com/lucky01/PIN2DMD/tree/master/firmware/latest/V4 NUCLEO-144 Link to comment Share on other sites More sharing options...
tjc02002 Posted February 7, 2019 Author Share Posted February 7, 2019 Thank you!! I will try this soon. So all I have to do is connect(jumper) TX to RX on the shield and run the serial test? Nothing else? Also here are pics of my shield. If you have any recommended tests to make sure proper connections are designed into the PCB let me know I will test it. Link to comment Share on other sites More sharing options...
Content Provider lucky1 Posted February 7, 2019 Content Provider Share Posted February 7, 2019 You should get "OK" when the serial port is working properly and "Loop Error" when not. Link to comment Share on other sites More sharing options...
tjc02002 Posted February 10, 2019 Author Share Posted February 10, 2019 Ok got it all working. Not really sure how but it works fine now. Another member sent me a file and it works. Link to comment Share on other sites More sharing options...
tjc02002 Posted February 11, 2019 Author Share Posted February 11, 2019 On 2/5/2019 at 12:52 PM, lucky1 said: Do you have a wifi chip installed ? Did you patch the ROM with your serial number ? How do you patch the rom with your serial number? Link to comment Share on other sites More sharing options...
Content Provider lucky1 Posted February 11, 2019 Content Provider Share Posted February 11, 2019 With pinball browser and the makro from _j_m Link to comment Share on other sites More sharing options...
tjc02002 Posted February 11, 2019 Author Share Posted February 11, 2019 Why does it need a serial number? Reason I’m asking is because I’ve made a bunch of changes to the colorization and I’d rather not re-run the macro as it would mess what I’ve done up I think. When I ran the macro it was for a different serial number but why the heck would that matter? Link to comment Share on other sites More sharing options...
Content Provider lucky1 Posted February 11, 2019 Content Provider Share Posted February 11, 2019 That was introduced by Oga to prevent people sharing modified ROMs. You should have a macro for your changes. If you run that after the original macro it should make the changes again. If you mor questions about pinball browser the official pinside thread is a better place. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.