RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
Help, Firmware update caused Lua script to stop working
Author Message
Reply with quote
Post Help, Firmware update caused Lua script to stop working 
My Lua script for mapping some CAN channels stopped working after I updated my firmware yesterday.
I double checked and my CAN bus setting are still switched on.
Not sure where to even start with fixing this because it was working fine before the update and then just stopped. Brent, is there anything I should check first? Something that needs to be added to the Lua script for it to be ok with the update?
please help. track day tomorrow and trying to load up today

Dennis

View user's profile Send private message
Reply with quote
Post  
Update:
I reinstalled the firmware one more time and it cleared it up. Everything works now.
I guess there may have been some glitch on the first install.

when in doubt reboot, reinstall, etc right?

thanks

View user's profile Send private message
Reply with quote
Post  
Hi Dennis,

Glad you got things working. Thanks for your patience and persistence!


_________________
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Update:
Unfortunately I still have a bug with this. I thought it was fixed because it works correctly when my MacBook is plugged in via usb, but then won't read the CAN line without it.

Race Capture pro mk3. firmware 2.17.0
Mac osx app 1.16.0
iPad and iPhone app 1.15.2

Problem:
car's CAN line using Lua script to parse produces 0 value for all channels unless I connect the laptop.
(used to work fine before firmware update)

Example:
If I turn on the car and racecapture mk3 without connecting the laptop, all mobile devices then connected will read 0 for the CAN line and the SD card will also record 0 for these channels.
But if I connect the MacBook and turn the system on then all the CAN channels are working properly. Once this is working I can connect with a mobile device and the CAN channels read correctly.

The other CAN 2 is working fine with CAN mapping for my izze tire temp and pressure sensors

View user's profile Send private message
Reply with quote
Post  
Hi,

Can you clarify how you have the CAN data connected? Is the CAN bus with the problems connected to CAN1, and the Izze sensors connected to CAN2?

And CAN2 sensors always work correctly, regardless of laptop connection?


_________________
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Yes, as you described.
My car's CAN is connected to CAN1 and I'm using Lua Script to parse the feed. (This is the problem CAN)
Izze sensors are on CAN2 and using RC's built in CAN mapping. (This works fine even when CAN1 is broken.)

Update:
I noticed there was another firmware update so updated from 2.17.0 to 2.17.2 and it seems to have cleared up the problem.
Perhaps there was an issue with 2.17.0
I made sure test multiple times to make sure the problem doesn't come back as it did before. So far so good.
I'll see if making edits to the Lua Script or other things causes the issue to return.

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum