-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defining EZSP Radio manufacturer/EZSP Radio board name #1
Comments
You can also changing the manufacture to one from the "real list" on the upper left on the ZCL Cluster tab (I using IKEA for My IKEA modules). |
thanks - I'm talking with the coordinator FW. like your Billy. I know you modified it post compile at one point. |
Sorry i was not seeing you update. Its manufacture tokens that is stetted with simplicity commander. I have hacking the token in the user flash aria so bellows / ZHA is writing "Billy EZSP" as model. Its described writing the token is in the manual for commander but the token is described is one manufacturing paper. But i think you also can writing it from EZSP if the command is implanted. I must looking for the manual i was finding token name and place and reporting back. |
Here is my bin patched bin file (from one GU10) with my data. LED1836G9_UD_MW.bin.txt (added .txt for uploading) You shall using the offset for MG2 devices and then converting it to one format that you can flash to user data aria in the flash. I think its possible doing TXT file with the token and using commander CLI for flashing it and also EZSP is having the commands. |
I see, I'll have to dig into this some more. appreciate pointing me in the direction! |
The easy way is making one bin file and converting it to s37 and flashing to the device. I think its possible using segger flasher and flashing the "raw bin file" but i have not testing it. Un patched data files form the new IKEA E2001 dumped with segger flasher that you can using as reference and changing if you like (its one MG21 device) but they have putting little extra data after the normal token. If you is patching the EZSP firmware its away if flashing one "other" firmware. The manufacture token (in user data) is still there also after one debug unlocking and flash erase but not one complete chip erase. |
You can reading the user data with segger flasher and editing it in the gui and flashing it back and looking how its working then booting the ncp with bellows and if its OK dumping the user data and exporting it as s37 and you can flashing it with normal simplicity commander then making the "manufacturing". |
I will play with it. thanks! |
this would be my goal, to just have it compiled in at compile time. so using this example, I'd need the address where the token goes and the token in hex? |
I think that is not the same token as you like to using. In https://www.silabs.com/documents/public/user-guides/ug162-simplicity-commander-reference-guide.pdf 6.4 Token Commands and the token group is You can also doing the normal NCP firmware and combining it with one file for the user data with your token (Edit: dumped userdata with your token like i was doing in one s37 file for user to flashing) and you is having one s37 file with both for the user to flashing. Its also possible "patching" with commander = writing data to flash that is not standard but its not easier to do. |
If you is getting the manufacturing token in one module you can redeeming them to one file and then adding them to your s37 file with commands
You can using one output file with s37 and you is having all in your custom s37 file NCP and tokens. Its command for writing the tokens also to file or chip but i think its easier doing it in one bin file or in segger flasher and flashing it back to user data and redeeming it with commander to one token file. Then you have making one token file you can using it for all MG2 devices only adding it with the command from 6.5.3. ug162 = simplicity-commander-reference-guide.pdf |
I think I'm going to try with the header option at compile time I just need to figure out the right way to define what I want in the header. |
I was trying dumping the token from my billy file but it was not working :-((
You is having your token in the file in 5 minutes with this method only editing the file and convert the NCP.s37 file and you is having it !!! Edit: the
Is normal strings so only putting TubeZigbee in there :-))) |
With one token file like this (attached):
And flashing with commander:
I is getting from bellow (have doing one chip erase then was bricking the module and recovering it with simplicity commander so it was not having "my signature"):
You only need changing the token in the file and also the device type (MG2X is different then MG1X) then flashing / covering tokens to one NCP / firmware file. You is having it in the device in 5 minutes and also in s37 file and its staying in the chip until doing one chip erase also then the user is flashing some other firmware without attached tokens :-))) For attaching / patching it to the s37 file see #1 (comment) You also can using Command for flashing one token or token file plus one tocken:
|
thank you!
|
Looks great !! I have putting one issue in https://github.com/zha-ng/EZSP-Firmware so they can also patching there firmware if they like. |
I was trying patching one s37 NCP image with tokens and flashing it = OK. |
Have you figured out how to define the manufacturer and board name in the project before compiling the fw?
it looks like these are the keys:
I tried setting like this but it doesn't work:
The text was updated successfully, but these errors were encountered: