SimuCUBE Open Source Firmware Development Update Thread 2

it really looks like it should be doing the correct things in code according to the log. Does this happen always, or is it in any way dependent on which position you start the wheel?

I normally switch it on with the wheel more or less straight, and in this situation it spins. Just realised though that if I switch it on with the wheel at around 45 degrees or more to the left, it’s fine. Then it just centres the wheel normally.

Interesting. So more testing is needed here; the pre-beta testers clearly haven’t been good enough :slight_smile:

I might get you a test build some day soon.

No worries, happy to help where possible :slight_smile:

Hi

Good Day!

Just to confirm that I have similar issue with Wheel being 360 off center after installing latest firmware v0.10.3, on BISS and going through configuration and start auto commutation setup process.
Dont know whether this would be helpful below:

SimuCUBE Boot : 0
SimuCUBE Boot : 10
SimuCUBE Boot : 3
Flash settings data loaded : 0
Initial config has been previously performed. Initializing Drive. : 0
State: Initializing Drive : 0
First-time drive initialization : 0
SMBus baudrate initialized successfully : 0
event 90 : 4157511
Read MMC value from Drive : 12000
Read Motor Resistance value from Drive : 2240
Read CPR from Drive : 4194304
Read Drive Version ID from drive : 11201
SM Watchdog disabled successfully : 0
Waiting for faults to clear : 0
Waiting for servo to be ready : 0
event 92 : 4157520
event 94 : 7180769
SMBus baudrate initialized successfully : 0
State: Drive initialization was successful : 0
SM Watchdog enabled successfully : 0
State: Before operational - calculating new constant values : 0
State: Operational : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 1
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 1
Command: Request hardware settings : 0
Command: Request analog input settings : 0
Command: Disable all force generation : 0
Command: Unset initial config done : 0
State: System not configured : 0
SM Watchdog disabled successfully : 0
Command: Set hardware settings data : 0
Command: Activate profile number : 0
Command: Restart drive : 0
Command: Initialize drive : 0
State: Initializing Drive : 0
SMBus baudrate initialized successfully : 0
event 90 : 1
Read MMC value from Drive : 12000
Read Motor Resistance value from Drive : 2240
Read CPR from Drive : 4194304
Read Drive Version ID from drive : 11201
SM Watchdog disabled successfully : 0
Waiting for faults to clear : 0
Waiting for servo to be ready : 0
event 92 : 2
event 93 : 0
event 93 : 1
event 93 : 12
event 94 : 3007577
SMBus baudrate initialized successfully : 0
State: Drive initialization was successful : 0
SM Watchdog enabled successfully : 0
State: Before operational - calculating new constant values : 0
State: Operational : 0
Command: Request hardware settings : 0
Command: Set hardware settings data : 0
State: Before operational - calculating new constant values : 0
State: Operational : 0
Command: Setup Commutation sensors : 0
State: Autosetup Commutation Sensors : 0
SM Watchdog disabled successfully : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation finished successfully : 0
SM Watchdog enabled successfully : 0
State: Operational : 0
Command: Request hardware settings : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 1
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 1
Command: Set calibrated analog axis mode : 0
Command: Request hardware settings : 0
Command: Set hardware settings data : 0
State: Before operational - calculating new constant values : 0
State: Operational : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 1
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 1
Command: Request hardware settings : 0
Command: Request analog input settings : 0
Command: Disable all force generation : 0
Command: Unset initial config done : 0
State: System not configured : 0
SM Watchdog disabled successfully : 0
Command: Set hardware settings data : 0
Command: Activate profile number : 0
Command: Restart drive : 0
Command: Initialize drive : 0
State: Initializing Drive : 0
SMBus baudrate initialized successfully : 0
event 90 : -2
Read MMC value from Drive : 12000
Read Motor Resistance value from Drive : 2240
Read CPR from Drive : 4194304
Read Drive Version ID from drive : 11201
SM Watchdog disabled successfully : 0
Waiting for faults to clear : 0
Waiting for servo to be ready : 0
event 92 : -2
event 93 : -2
event 93 : -3
event 93 : -8
event 94 : 3894205
SMBus baudrate initialized successfully : 0
State: Drive initialization was successful : 0
SM Watchdog enabled successfully : 0
State: Before operational - calculating new constant values : 0
State: Operational : 0
Command: Request hardware settings : 0
Command: Set hardware settings data : 0
State: Before operational - calculating new constant values : 0
State: Operational : 0
Command: Unset temporary centering mode : 0
Command: Set wheel center here : 0
event 96 : 3017271
State: Saving settings to flash : 0
SM Watchdog disabled successfully : 0
SM Watchdog enabled successfully : 0
State: Operational : 0
Command: Enable force generation : 0
Command: Request hardware settings : 0
Command: Set initial config to done : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 1
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 1
Command: Request hardware settings : 0
Command: Request analog input settings : 0
Command: Disable all force generation : 0
Command: Unset initial config done : 0
State: System not configured : 0
SM Watchdog disabled successfully : 0
Command: Set hardware settings data : 0
Command: Activate profile number : 0
Command: Restart drive : 0
Command: Initialize drive : 0
State: Initializing Drive : 0
SMBus baudrate initialized successfully : 0
event 90 : -3
Read MMC value from Drive : 12000
Read Motor Resistance value from Drive : 2240
Read CPR from Drive : 4194304
Read Drive Version ID from drive : 11201
SM Watchdog disabled successfully : 0
Waiting for faults to clear : 0
Waiting for servo to be ready : 0
event 92 : -3
event 93 : -2
event 93 : -2
event 93 : -8
event 94 : 3007929
SMBus baudrate initialized successfully : 0
State: Drive initialization was successful : 0
SM Watchdog enabled successfully : 0
State: Before operational - calculating new constant values : 0
State: Operational : 0
Command: Request hardware settings : 0
Command: Set hardware settings data : 0
State: Before operational - calculating new constant values : 0
State: Operational : 0
Command: Setup Commutation sensors : 0
State: Autosetup Commutation Sensors : 0
SM Watchdog disabled successfully : 0
Command: Request hardware settings : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 1
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 1
Command: Set calibrated analog axis mode : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 1
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 1
Command: Request hardware settings : 0
Command: Request analog input settings : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation still busy : 0
Command: Request hardware settings : 0
Autosetup Commutation finished successfully : 0
SM Watchdog enabled successfully : 0
State: Operational : 0
Command: Request hardware settings : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 1
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 1
Command: Set calibrated analog axis mode : 0
Command: Request hardware settings : 0
Command: Set hardware settings data : 0
State: Before operational - calculating new constant values : 0
State: Operational : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 0
Command: Request profile data is for 55 byte set index : 1
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 0
Command: Request Profile number : 1
Command: Request profile data is for 55 byte set index : 1
Command: Request hardware settings : 0
Command: Request analog input settings : 0
Command: Disable all force generation : 0
Command: Unset initial config done : 0
State: System not configured : 0
SM Watchdog disabled successfully : 0
Command: Set hardware settings data : 0
Command: Activate profile number : 0
Command: Restart drive : 0
Command: Initialize drive : 0
State: Initializing Drive : 0
SMBus baudrate initialized successfully : 0
event 90 : 2
Read MMC value from Drive : 12000
Read Motor Resistance value from Drive : 2240
Read CPR from Drive : 4194304
Read Drive Version ID from drive : 11201
SM Watchdog disabled successfully : 0
Waiting for faults to clear : 0
Waiting for servo to be ready : 0
event 92 : -2
event 93 : 2
event 93 : 0
event 93 : 9
event 94 : 3491581
SMBus baudrate initialized successfully : 0
State: Drive initialization was successful : 0
SM Watchdog enabled successfully : 0
State: Before operational - calculating new constant values : 0
State: Operational : 0
Command: Request hardware settings : 0
Command: Set hardware settings data : 0
State: Before operational - calculating new constant values : 0
State: Operational : 0
Command: Unset temporary centering mode : 0
Command: Set wheel center here : 0
event 96 : 3020801
State: Saving settings to flash : 0
SM Watchdog disabled successfully : 0
SM Watchdog enabled successfully : 0
State: Operational : 0
Command: Enable force generation : 0
Command: Request hardware settings : 0
Command: Set initial config to done : 0
Command: Event log download request : 0

That is very helpful. I also have another log that I will take a look at.

This must be a corner case which hasn’t come up with a bunch of pre-release testers.

1 Like

Can you also confirm that you have Absolute Indexing indicated in the Hardware tab in the Configuration Tool?

Thanks, I will have a look when I get back this evening. Regards

Hi Mika,

Yes, can confirm now that index states Absolute encoder !

Excellent. There is one bit of info on your log. From tje first startup of that session, did you touch the wheel after initial powerup? There is a peculiar jump of encoder value between event 92 and 94 at the very beginning.

Hi,

I may have on that occasion, cant remember, but ive tried the configure and computation process with the wheel still from start a number of other times, and it always 360 degrees off

Hi

I have reinstalled Ioni 1.7.7 firmware in granity manually and that seems to have done the trick to reset to 0 degrees but at the same time downgrated to 10.1 Simcube fw.

The reset all settings (10.3) doesnt seem to work as I tried that earlier. Would be interesting to know whether the off set will happen if I move to 10.3 Simcube, thanks anyway

We are investigating this during this week for sure. The debug log you supplied is indeed interesting, as the wheel seems to have rotated 360 degrees within an impossible time.

1 Like

There is now a 0.10.4 version available for testing. It seems to work OK here. This is only for those that have any type of centering issues.

PM me for a link.

3 Likes

I’m hearing positive things about the 0.10.4 version. However, we want to include some underlying changes in the Configuration Tool before official release, and we are busy with other things at the moment, so the release will be next week.

5 Likes

It appears, that the Tool changes we want to make, will make flash settings data incompatible, requiring a larger change in the version number. For this reason, 0.10.4 will get released some time during the weekend, the change will be pushed to the open source repo as well, and then we will take a bit of a break for re-engineering.

2 Likes

How many profiles do you need in SimuCUBE?

  • less than 10
  • more than 10 but less than 50
  • more than 50 but less than 100
  • more than 100

0 voters

1 Like

For most titles, I find one setting usually does the job provided the FFB is relatively normalized among the cars but, in some cases, I might have settings intended for use with certain types of cars; vintage / Road-cars / Formula / GT3, etc.

In the case of rF2, some may want to have different profiles based on degrees of rotation - al least until they solve the auto Steering-lock feature issues.

So, while I voted for less than 10, it’s probably quite easy to surpass that.

Yeah, but I think we can see the story already from that data. :slightly_smiling_face:

Mika,

One thing that might be cool for profiles is to have a button next to “save” that is a “discard changes” or “clear” for those situations when all one has done is temporarily change steering angle for a specific car or experimented with a setting.