Page 1 of 1

why can't I delete the can mappings

Posted: Tue Apr 01, 2025 5:56 pm
by medo
Why is it that I can't delete the CAN mappings? On the web you have to delete them individually and you can't use the Remove all mappings button to delete everything at once. As soon as I restart, everything is back, the inverter isn't running either.
Screen Shot 2025-04-01 at 07.47.34.501 PM.png

Re: why can't I delete the can mappings

Posted: Tue Apr 01, 2025 8:12 pm
by johu
Ah, "Remove All" doesn't work on the ESP-CAN module yet. After removing you need to Save to flash to make removal permanent

Re: why can't I delete the can mappings

Posted: Tue Apr 01, 2025 9:45 pm
by medo
I've tried everything, but as soon as I restart it, it appears again
I've rolled back to the official firmware 5.35 to test it, and everything works there. In 5.36.40.B, you can't even save the CAN IDs. There must be something wrong?

Re: why can't I delete the can mappings

Posted: Tue Apr 01, 2025 10:04 pm
by johu
Ok, will test tomorrow

Re: why can't I delete the can mappings

Posted: Tue Apr 01, 2025 11:15 pm
by Zieg
Huh, that's interesting. A couple days ago I was having trouble mapping CAN on my 5.35R inverter via the esp-can but Foccci accepted all the mappings no problem. Do you have an 8266 on your inverter?

Re: why can't I delete the can mappings

Posted: Wed Apr 02, 2025 8:00 am
by johu
Oh, interesting... github deletes build artifacts after a while...

So I tested with my local build and indeed can reproduce. Will try to find the cause.

update: found it. The new SdoCommands class hadn't had it's canMap member set.

You can try it: https://github.com/jsphuebner/stm32-sine/actions

Makes me think about this new structure. Maybe the CanSdo class should be tightly coupled to SdoCommands. Right now there are many things you can forget when integrating it

Re: why can't I delete the can mappings

Posted: Wed Apr 02, 2025 2:42 pm
by medo
works, thank you very much

Re: why can't I delete the can mappings

Posted: Sun Apr 06, 2025 12:34 am
by medo
I have a similar situation with the Teslacharger v1.19R. I can delete canbus mappings but I can't save them anymore. Can someone check this?

A second thing would be, if I want to update the firmware via ESP-CAN module, it stops at 4% and does not go any further. With LDU and VCU no problems with updating