- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
does anybody know a way how can I change the contents of USB-descriptors after compilation in the .img-binary?
Can I determine the location of the descriptors in the .img-file by some linker-commands or something like that?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you want to change the serial number string with a batch file? In the iic files of the FX2 I did this simply by search and replace by a small c program. I think this is also possible with the img file. I tested this with an older SDK and the firmware was correctly downloaded and executed even if I did not adjust the checksum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chris R.,
ok, that would be the rather 'dirty' variant.
But I have to change not only the serial number - descriptor but also a device-version or even a user-changeable descriptor where i don't know the previous content so wouldn't know for what I have to search.
Regards,
Robert