MppArduino

32 views
Skip to first unread message

DougC

unread,
Aug 8, 2020, 12:58:35 AM8/8/20
to MppDevices
Mike, could I request an enhancement, if you also think it would be useful? Could MppArduino be (optionally) set to automatically save the log upon some event. Probably just whenever there's an exception or maybe on any device restart would do. If time and space are an issue just the last few minutes of log would suffice.

MIKE POLAN

unread,
Aug 8, 2020, 9:59:58 AM8/8/20
to DougC, MppDevices

I could probably do that, but to be honest though I think it’s a waste of time.  Exceptions only help if there’s a bug in our code that we can map back to our source.  Trying to debug the Arduino SDK is really tough and it’s impossible to debug problems in the espressif library.  A lot of time the exceptions are reported outside of the loop and don’t match where it failed.  If you do find anything you need to come up with a way to recreate it using small ino’s and simple environments if you want the Arduino SDK team to look at it, and I’m not even sure how to get China to look at it.  That’s a lot of work to try to save parts worth only a few bucks – easier to upgrade to a newer device, or build in a way that avoids the problem when you need it.

 

But if you really feel strongly let me know and I’ll add it.

 

Sent from Mail for Windows 10

--
You received this message because you are subscribed to the Google Groups "MppDevices" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mppdevices+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/mppdevices/3e13bf6b-2962-48f9-8970-7cfee2ac26ebo%40googlegroups.com.

 

DougC

unread,
Aug 8, 2020, 10:45:22 AM8/8/20
to MppDevices
I see where you're coming from Mike. But I'm not trying to rescue a few old chips here. Many of the bad things I see do happen on new chips and sometimes not on the old ones. I suppose I was imagining one of those difficult to recreate situations that you leave a test running overnight. Sure enough the situation occurs when you're not looking and the logs have wrapped round. To trigger MppArduino to save the log I imagined could call an exception from code if necessary. 

Thinking it through a bit though - if I want to stop the log, I just have to stop writing to it, so I suppose I could just power down the chip?

Mike P 4 MPP

unread,
Aug 8, 2020, 9:54:49 PM8/8/20
to MppDevices
Yep, if you stop writing to the log, and turn of the UDP receivers the log wouldn't fill any further.
In any case I've posted MppAndroid 4.0.0 with a new checkbox option in the "Log" menu - if you check that box MppArduino will write the log using the current time as the log name into the current directory.

MikeP 4 MPP

unread,
Dec 26, 2020, 3:29:17 PM12/26/20
to MppDevices
MppArduino 5.0.1 eliminates the dependency on rxtxserial.dll so anyone that's been having trouble with java engine exceptions might want to give it a try.  Just install and go.  On linux you need to grant permission to access the serial device, I have instructions if anyone needs them.

Dieter

unread,
Jan 6, 2021, 3:37:27 PM1/6/21
to MppDevices
Hi Mike,

I just want to thank you for the version 5.01. 
I had an issue on a second Laptop. It close MppAnduino as soon as I got connected. Even with the rxtxserial.dll file in place.
... I wasn't able to figure out that issue.
But now with the new  version it works like a charm. :-)

Thanks 

Regards
Dieter

DougC

unread,
Aug 6, 2024, 1:17:10 PM8/6/24
to MppDevices
Hi all. I think I have a problem, very likely of my own making.:-)  Latest MppArduino installed(6.2.0) and most seems to be working perfectly - accessing devices though the USB, opening consoles over Ip etc etc.

What I think is not working for me is UDP listeners. I get the message
 "Could not open socket null: java.net.BindException: Cannot assign requested address: Cannot bind "
when trying to enable UDP listen from the menu.

I have the latest Java installed I think.
java version "1.8.0_361"
Java(TM) SE Runtime Environment (build 1.8.0_361-b09)
Java HotSpot(TM) Client VM (build 25.361-b09, mixed mode)

any ideas?

trogli...@gmail.com

unread,
Aug 6, 2024, 1:38:57 PM8/6/24
to MppDevices

There’s a field just below the checkbox, this should be the default IP of the OS where you’re running MppArduino.  If it’s incorrect you can clear it which should pick up the default, if it doesn’t or if you have multiple network interfaces on that system you can enter the one you want there.

--

You received this message because you are subscribed to the Google Groups "MppDevices" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mppdevices+...@googlegroups.com.

DougC

unread,
Aug 6, 2024, 2:16:13 PM8/6/24
to MppDevices
Spot on Mike. Not sure what had happened to cause the problem but that was the fix. :-)
Reply all
Reply to author
Forward
0 new messages