2004 to 2020 Mazda 3 Forum and Mazdaspeed 3 Forums banner
21 - 40 of 427 Posts
Discussion starter · #22 ·
So two bugs that I know of right now - and I am trying to fix them tonight:

1) Sometimes after recovery (when your system just went to sleep) it might stall and the screen locks up. Workaround is right now to hold down MUTE+NAV+BACK for 10s to manual reboot the system. It's something with the SD Card not mounted yet and the system trying to read from it. This will fix as soon I have implemented USB support. It's a design issue from the initial concept.

2) When you switch between apps (native and custom) the DataHandler stops working and your app doesn't receive any values anymore. I will fix this today.

Thx,

Andy
 
Discussion starter · #24 ·
So do apps actually go on the SD card, as in the root directory of the SD card for navigation? Sorry if that is obvious.
No worries - basically copy the contents of the sdcard/ folder in the release package to the root of your SD Card.

Also if it isn't obvious you need to install the proxy patch to your Infotainment system by preparing a USB stick and copy the contents of deploy/install to it. Plug in the USB stick to your Infotainment system and reboot and wait.

If there is any issues, you can use the deploy/uninstall script to remove everything.

The scripts "should" be pretty safe since there are many checks in there and really is a minor modification to the system - other than changing the opera configuration on your system.


I probably installed/removed/installed/removed .. about a 100 times and never had an problem :)
 
Thanks! Successfully installed runtime and got apps running smoothly in my car. Had to reboot the CMU to get it to install, but once it did it installed pretty quickly like any other tweak. It did hang during the startup main screen during the install but I realized it was because I hadn't put in the SD card yet, so it was probably trying to read from it. Manually rebooting got it going as you said. Simulator works great as well. Looking forward to testing how it goes and learning more about the SDK. Amazing work!
 
Discussion starter · #28 ·
Is there a way to have the data as Metric instead of imperial system?

I see that when set to North America the speed and the like are set to Mph, but here in Mexico we use Km/h

What do you mean? The Simulator operates all on metric values. The apps have a duty to convert that themselves.

The framework is data helpers that help to convert these, e.g.

Code:
 var mph = DataTransform.toMPH(speed);
 
 var mpg = DataTransform.toMPG(kmpl);
If you talk about the speedometer .. if the region is NA - than yeah the default is imperial but that app is just an example and if you hit the center button of the multicontroller (in the Sim or Car) it converts these.
 
so I did install the casdk with the USB Installer script on the car and did copy the SDCARD folder in the zip on the SD-Card.
The apps are now listed in the Application menu of the Mazda however I can't launch them. When I press select nothing happens...

Andy
 
so I did install the casdk with the USB Installer script on the car and did copy the SDCARD folder in the zip on the SD-Card.
The apps are now listed in the Application menu of the Mazda however I can't launch them. When I press select nothing happens...

Andy
Same for me, another issue is that i need to reboot several time to avoid the screen locking.

I read that is sometimes related to the sd card mounting.
 
Discussion starter · #32 · (Edited)
so I did install the casdk with the USB Installer script on the car and did copy the SDCARD folder in the zip on the SD-Card.
The apps are now listed in the Application menu of the Mazda however I can't launch them. When I press select nothing happens...

Andy
What version do you have installed?

SSH in and tail the running log in /var/log/running_log and hit the button. Look for the event SelectDriveRecord .. and send me the line what it says.
 
Another quick hint. I added in the Opera.ini by default to log all console errors to /tmp/root/casdk-error.log .. just FYI.
Thanks for all of this Andy,
Are you updating the master zip files linked to at the start of this thread for all the changes or would we need to install the sources and rebuild them for now?
Looking forward to the use of websocketdto see if the CMU performance is better, :smile2:
 
Discussion starter · #35 ·
Thanks for all of this Andy,
Are you updating the master zip files linked to at the start of this thread for all the changes or would we need to install the sources and rebuild them for now?
Looking forward to the use of websocketdto see if the CMU performance is better, :smile2:
I am updating as I fix stuff. This recovery bug really bothers me. There is no error thrown anywhere. Debugging in the car sucks :)
 
I am updating as I fix stuff. This recovery bug really bothers me. There is no error thrown anywhere. Debugging in the car sucks :)
Yeah I am getting the recovery bug maybe every 1 in 5 starts, but at least a manual reboot gets it going straightaway. And it's usually pretty obvious when it happens on boot because it hangs before loading the custom background.
 
Discussion starter · #37 ·
Yeah I am getting the recovery bug maybe every 1 in 5 starts, but at least a manual reboot gets it going straightaway. And it's usually pretty obvious when it happens on boot because it hangs before loading the custom background.
I am sitting in the car right now and do debugging .. I got the error:

Code:
undefined at undefined in undefined
Yeah .. maybe I should define it?
 
I am sitting in the car right now and do debugging .. I got the error:

Code:
undefined at undefined in undefined
Yeah .. maybe I should define it?
Or hang it up and have a beer (or two) for the evening? :beerchug 1:
Good luck

BTW, do you have a donation link somewhere?
 
  • Like
Reactions: flyandi
21 - 40 of 427 Posts