Author |
Message |
Topic: pointer to rom in struct |
socerba
Replies: 4
Views: 7052
|
Forum: General CCS C Discussion Posted: Sun Jul 26, 2009 3:10 am Subject: pointer to rom in struct |
I resolved my problem, with this solution:
struct message
{
int8 iDelayMsKey;
int16 iDelayMsBefore;
int8 iSize;
int16 iPKey;
int16 iPMod;
/*BYTE *aiKey[ ... |
Topic: pointer to rom in struct |
socerba
Replies: 4
Views: 7052
|
Forum: General CCS C Discussion Posted: Sat Jul 25, 2009 12:38 pm Subject: pointer to rom in struct |
This comments?
No.
Remember that constants, are stored in the ROM, as opposed to normal variables being in RAM. To declare a constant 'inside' a structure, would require a complete change of acces ... |
Topic: plse help...rebooting system |
socerba
Replies: 14
Views: 9939
|
Forum: General CCS C Discussion Posted: Sat Jul 25, 2009 12:27 pm Subject: plse help...rebooting system |
I have the same problem on Windows XP with example usb_kbmouse.
I have a blue of screen on usbport.sys. In my Windows XP the automatic reboot is disabled.
The problem are in the code, I create the ... |
Topic: pointer to rom in struct |
socerba
Replies: 4
Views: 7052
|
Forum: General CCS C Discussion Posted: Sat Jul 25, 2009 12:18 pm Subject: pointer to rom in struct |
I have a struct with pointers.
...
struct message
{
int8 iDelayMsKey;
int16 iDelayMsBefore;
int8 iSize;
BYTE *aiKey[];
BYTE *aiMod[];
};
... ... |
Topic: FTDI FT2232 emulation... |
socerba
Replies: 2
Views: 7238
|
Forum: General CCS C Discussion Posted: Sat Jul 25, 2009 6:24 am Subject: FTDI FT2232 emulation... |
This code not work directly. You need convert it for CCS.
I have tried to convert but take many times. |
|