lifted club cars - lifted ezgo
Home FAQDonate Who's Online
Go Back   Buggies Gone Wild Golf Cart Forum > Golf Cart Repair and Troubleshooting > Electric golf carts > Icon


Post New Thread  Reply
 
Thread Tools Display Modes
Old 02-14-2022, 08:04 PM   #41
jbloomfield
Not Yet Wild
 
Join Date: Oct 2021
Posts: 13
Default Re: 2022 Icon programming cable

So for the ESP32, it talks serial direct to the controller. The controller itself uses a NXP chip which uses the FreeMaster / MCB protocol. It's pretty simple from the comms side and each parameter is just a memory read or a write to set it. The trick is to know what memory address holds what value and what's worse the location of a parameter can change from one version of the software to the next. The nice thing is there's a block of fixed parameters which indicate what software version the controller is running and a version for the parameters which lets the control software change addresses based on the running version.

Anyway, in my case I have the ESP32 lock down the controller on power up so the cart won't move until it detects a bluetooth beacon from a known source. I'm just using a cheap Tile as the beacon and the ESP32 detects the presence and then unlocks the controller. I also have my phone as a known source, so it will unlock on that too. It's simple but effective.
jbloomfield is offline   Reply With Quote
Alt Today
BGW

Golf car forum Sponsored Links

__________________
This advertising will not be shown in this way to registered members.
Register your free account today and become a member on Buggies Gone Wild Golf Cart Forum
   
Old 02-14-2022, 08:59 PM   #42
ATrain
Gone Wild
 
Join Date: Oct 2012
Location: SoCal
Posts: 671
Default Re: 2022 Icon programming cable

Quote:
Originally Posted by jbloomfield View Post
So for the ESP32, it talks serial direct to the controller. The controller itself uses a NXP chip which uses the FreeMaster / MCB protocol. It's pretty simple from the comms side and each parameter is just a memory read or a write to set it. The trick is to know what memory address holds what value and what's worse the location of a parameter can change from one version of the software to the next. The nice thing is there's a block of fixed parameters which indicate what software version the controller is running and a version for the parameters which lets the control software change addresses based on the running version.

Anyway, in my case I have the ESP32 lock down the controller on power up so the cart won't move until it detects a bluetooth beacon from a known source. I'm just using a cheap Tile as the beacon and the ESP32 detects the presence and then unlocks the controller. I also have my phone as a known source, so it will unlock on that too. It's simple but effective.
This sounds like it'd be an excellent thread to create with some how-to's. I'd never even heard of an ESP before so this sounds complex on the surface.
ATrain is offline   Reply With Quote
Old 02-15-2022, 03:55 PM   #43
BobInDaytona
Getting Wild
 
Join Date: Jul 2021
Posts: 83
Default Re: 2022 Icon programming cable

Quote:
Originally Posted by jbloomfield View Post
So for the ESP32, it talks serial direct to the controller. The controller itself uses a NXP chip which uses the FreeMaster / MCB protocol. It's pretty simple from the comms side and each parameter is just a memory read or a write to set it. The trick is to know what memory address holds what value and what's worse the location of a parameter can change from one version of the software to the next. The nice thing is there's a block of fixed parameters which indicate what software version the controller is running and a version for the parameters which lets the control software change addresses based on the running version.

Anyway, in my case I have the ESP32 lock down the controller on power up so the cart won't move until it detects a bluetooth beacon from a known source. I'm just using a cheap Tile as the beacon and the ESP32 detects the presence and then unlocks the controller. I also have my phone as a known source, so it will unlock on that too. It's simple but effective.
Just Curious - where did you get the info that revealed the NXP chip and protocol?
BobInDaytona is offline   Reply With Quote
Old 02-15-2022, 08:09 PM   #44
jbloomfield
Not Yet Wild
 
Join Date: Oct 2021
Posts: 13
Default Re: 2022 Icon programming cable

Quote:
Originally Posted by BobInDaytona View Post
Just Curious - where did you get the info that revealed the NXP chip and protocol?
Just sniffing the traffic across the com port with IconLive connected. The first message it sends to the controller is a MCB_CMD_GETINFO which you guessed it, returns info about the controller. The response from the controller contained the text FreeMASTER when then lead me to https://www.nxp.com/design/software/...ool:FREEMASTER

From there it didn't take long to find the protocol documentation (MCB), which I compared to the traffic across the port to make sure it was correct.
jbloomfield is offline   Reply With Quote
Old 02-16-2022, 07:09 AM   #45
BobInDaytona
Getting Wild
 
Join Date: Jul 2021
Posts: 83
Default Re: 2022 Icon programming cable

Quote:
Originally Posted by jbloomfield View Post
Just sniffing the traffic across the com port with IconLive connected. The first message it sends to the controller is a MCB_CMD_GETINFO which you guessed it, returns info about the controller. The response from the controller contained the text FreeMASTER when then lead me to https://www.nxp.com/design/software/...ool:FREEMASTER

From there it didn't take long to find the protocol documentation (MCB), which I compared to the traffic across the port to make sure it was correct.
Figured it was something like that... Not having a cart makes it rather difficult to explore...
BobInDaytona is offline   Reply With Quote
Old 02-19-2022, 01:11 PM   #46
rfagundo
Not Yet Wild
 
Join Date: Dec 2021
Posts: 6
Default Re: 2022 Icon programming cable

Hi Bobby. Do you make the adapter cable for sale?
rfagundo is offline   Reply With Quote
Old 02-19-2022, 02:00 PM   #47
ATrain
Gone Wild
 
Join Date: Oct 2012
Location: SoCal
Posts: 671
Default Re: 2022 Icon programming cable

Quote:
Originally Posted by rfagundo View Post
Hi Bobby. Do you make the adapter cable for sale?
I think I'll have one available on Amazon soon. Anyone else can obviously sell them. I'm not trying to control the market or anything.

The hard part for any of these cables is mass producing them cheaply and distributing them easily.

I've got one finished prototype that I'm going to test next week and verify it works. If it does, I'll order 50-100 sets of components, which takes roughly 1- 2 weeks, then I'll send them to Amazon where it takes them 1-3 weeks to process.

If you want to wait for the one I'll sell on Amazon I'd guess roughly 20-45 days before you can 2-day order it.

Amazon can be slow to intake stuff. My prototype might not work. Few things could change that number though.
ATrain is offline   Reply With Quote
Old 02-19-2022, 10:36 PM   #48
rfagundo
Not Yet Wild
 
Join Date: Dec 2021
Posts: 6
Default Re: 2022 Icon programming cable

I bought the device Bobby suggested. And i have purchased the cables you had on Amazon last month before i understood they are for the 2021 models. Does your cable set require any modification that a layman can do?
rfagundo is offline   Reply With Quote
Old 02-20-2022, 07:26 AM   #49
KRAZYMATT
Gone Wild
Club Car
 
Join Date: Aug 2010
Location: Central Florida
Posts: 1,506
Default Re: 2022 Icon programming cable

Quote:
Originally Posted by ATrain View Post
Yes I've confirmed it separately. I'm actually looking to see if I can get a custom cable made that would work for both with an attachment.

Small order quantities make it a pain though.

For now if you have a 2022, you'll have to make your own cable and buy the little device.
PM sent.
KRAZYMATT is offline   Reply With Quote
Old 02-20-2022, 08:01 AM   #50
KRAZYMATT
Gone Wild
Club Car
 
Join Date: Aug 2010
Location: Central Florida
Posts: 1,506
Default Re: 2022 Icon programming cable

Quote:
Originally Posted by BobInDaytona View Post
Attached are a couple of pictures of the cable I made.
One shows the pinout on the device, one shows the end of the cable, and one
is a hand drawing of which wire goes to which pin - the labels rx,tx,vcc,gnd match the labels on the circuit board on the device.
The 4 pin ribbon cable that is attached to the device comes with it...
This is the same molex connector that is used on the NEOS cable.
Bob does it have to use this FDI adapter or would a standard Serial to rs232 adapter work with a db9 connected with the mating molex connector?
KRAZYMATT is offline   Reply With Quote
Reply
Go Back   Buggies Gone Wild Golf Cart Forum > Golf Cart Repair and Troubleshooting > Electric golf carts > Icon




Similar Threads
Thread Forum
2022 ICON Motor Controller Icon
How to make your own ICON programming cable Icon
2022 Epic by Icon 40L Icon
2022 Icon I40L first electric cart Icon
For Sale: CANUSB & Programming Cable (Icon, EV, Aetric, Advanced ED) Golf Carts and Parts


All times are GMT -5. The time now is 05:01 PM.


Club Car Electric | EZGO Electric | Lifted Golf Carts | Gas EZGO | Used Golf Carts and Parts

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
This Website and forum is the property of Buggiesgonewild.com. No material may be taken or duplicated in part or full without prior written consent of the owners of buggiesgonewild.com. © 2006-2017 Buggiesgonewild.com. All rights reserved.