[Ovmsdev] CAN-3 broken again?

Mark Webb-Johnson mark at webb-johnson.net
Mon Jan 8 08:07:04 HKT 2018


> Mark:� Note also the issue with DNS failures getting to the v2 server.� I enabled the modem, got connected, then enabled WiFi (simulating arriving at home), and lost the V2 server.� Disabling Wifi didn't bring it back, and powering off the modem (in preparation for turning it back on) caused the crash.

Yep, I’m aware of that. Discussed on the list a few days ago - seems to be the DNS server configuration when both WiFi and PPP running at the same time.

> Second, overall memory usage seems to be at the limit.� What sort of budget do we have for what remains to be done, and how are we going to be packaging the build options for when non-developers want to get their hands on the product?� Will we be able to turn everything on, minus the developer / debug stuff, or will we have a separate SKU for each model car?

The OTA system supports both. I’d prefer everything in one build, but it really depends on the flash footprint we end up with.

Regards, Mark.

> On 8 Jan 2018, at 3:05 AM, Greg D. <gregd2350 at gmail.com> wrote:
> 
> Hi Michael, Steve, Mark,
> 
> Steve, the crash was an abort in new_op.cc, so perhaps being out of space is the issue.� Crash and reboot log attached (crash.txt).� One thing I've been wondering about are the several lines "_WindowOverflow4 at ??:?" during the boot process.� Is that indicative of a problem, later to manifest in the crash?
> 
> My builds include pretty much everything, except for the Leaf, Twizy, and Soul.� 
> 
> The update included some 20 lines changed to mcp2525.cpp, as well as a bunch of other stuff, including a lot stuff updated in Canopen and Kia.� I have a script that does the git fetch master, merge, and push back to my github fork, the output of which is attached (update.txt).� As a test, I removed Canopen from the build config, and the crash has disappeared.� CAN-3 also appears to have come back to life (!), at least initially.� I can still get CAN-3 to fail if I turn on/off the modem and/or wifi in some sequence (still trying to pin that down), but that also leads to another crash (crash2.txt, attached).� 
> 
> Mark:� Note also the issue with DNS failures getting to the v2 server.� I enabled the modem, got connected, then enabled WiFi (simulating arriving at home), and lost the V2 server.� Disabling Wifi didn't bring it back, and powering off the modem (in preparation for turning it back on) caused the crash.
> 
> So, two questions...� First, why the apparent conflict between Canopen or wifi/modem and obd2ecu over access to the 3rd CAN bus?� Why would the modem or wifi have any effect on a CAN bus?
> 
> Second, overall memory usage seems to be at the limit.� What sort of budget do we have for what remains to be done, and how are we going to be packaging the build options for when non-developers want to get their hands on the product?� Will we be able to turn everything on, minus the developer / debug stuff, or will we have a separate SKU for each model car?
> 
> Thanks,
> 
> Greg
> 
> 
> Michael Balzer wrote:
>> Greg,
>> 
>> which commits / changes do you mean? The CAN drivers have not been changed since the TX performance fix, which Geir reported having solved his last issues.
>> 
>> The current version is stable over here, but without the SSH component -- I can't use that due to memory getting too low together with the Twizy component.
>> 
>> Regards,
>> Michael
>> 
>> 
>> Am 07.01.2018 um 08:04 schrieb Greg D.:
>>> Hi folks,
>>> 
>>> I just resync'd with the main repository, and am not receiving frames on
>>> CAN-3 anymore.  I see there were changes to the chip driver... 
>>> 
>>> I'm also seeing crashes right after getting connected to WiFi,
>>> immediately after the system tries to start SSH.
>>> 
>>> Seems like we just took a big step backward.  What happened?
>>> 
>>> Greg
>>> 
>>> _______________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
> 
> <update.txt><crash.txt><crash2.txt>_______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180108/be536d89/attachment.htm>


More information about the OvmsDev mailing list