- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Another day, another question ... 🙂
We are finalizing our Firmware.
One question regarding the Descriptor Name.
We want to display something like that :
"STMicroelectronics STiceX emulator"
I create the dscr.asm accordingly.
But the display of the device.name is corrupted (file attached) ??
Could you verify my dscr.scm ?
I tried numerous things but always strange name is displayed (Note that it seems to work if i reduce the name lenght ...??).
I'm using Eclipse, SDCC and your framework based onto bulkloop example.
Regards.
.even ; descriptors must be 2-byte aligned for SUDPTR{H,L} to work
_StringDscr1:
.db StringDscr1_End-_StringDscr1 ;; String descriptor length
.db DSCR_STRING
StringDscr1_End:
.even ; descriptors must be 2-byte aligned for SUDPTR{H,L} to work
_StringDscr2:
.db StringDscr2_End-_StringDscr2 ;; Descriptor length
.db DSCR_STRING
.db 'S',00
.db 'T',00
.db 'M',00
.db 'i',00
.db 'c',00
.db 'r',00
.db 'o',00
.db 'e',00
.db 'l',00
.db 'e',00
.db 'c',00
.db 't',00
.db 'r',00
.db 'o',00
.db 'n',00
.db 'i',00
.db 'c',00
.db 's',00
.db ' ',00
.db 'S',00
.db 'T',00
.db 'i',00
.db 'c',00
.db 'e',00
.db 'X',00
.db ' ',00
.db 'e',00
.db 'm',00
.db 'u',00
.db 'l',00
.db 'a',00
.db 't',00
.db 'o',00
.db 'r',00
.db ' ',00
.db ' ',00
.db ' ',00
StringDscr2_End:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I finally find my issue. A variable overlaps the descriptor ....
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Kindly share your descriptor file.
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mallika,
I've already tried to attached .ASM file but it is not accepted. That's why i wrote the StringDscr2 definition in text.
I wll try again ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please zip and then try attaching.
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunaltely this is exactly what i did (using a dscr.scm required for SDCC) and it does not work.
Attached the dscr.scm.
Issue linked to sdcc ?
Perhaps you can attach your .IIC ? i can test it just to see if the displayed name is OK also onto my configuration ?
THE DISPLAY IS :
<DEVICE>
FriendlyName="STMicroelectronics STiceX emulator"
Manufacturer="Cypress"
Product="STMicro㰴籴㴵絵㸶繶onics STiceX emulator"
I can share you my complete SDCC project if needed (in private).
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I finally find my issue. A variable overlaps the descriptor ....
Thanks for your help.