Hi,
Just migrated from CCS3.3 to CCS6 - all things seem to work, save for the ioport - we've been using
*(ioport int *) CE3_1 = 0xFF03; /* CE3 EMIF Space control register 1 */
*(ioport int *) CE3_2 = 0xFFFF; /* CE3 EMIF Space control register 2 */
but it seems to get stuck for some reason when I try and write to CE2 space control register
*(ioport int *) CE2_1 = 0x0a10; /* CE2 EMIF Space control register 1 */
*(ioport int *) CE2_2 = 0x0150; /* CE2 EMIF Space control register 2 */
*(ioport int *) CE3_1 = 0xFF03; /* CE3 EMIF Space control register 1 */
*(ioport int *) CE3_2 = 0xFFFF; /* CE3 EMIF Space control register 2 */
When I tried to use
#define CE2_1 port0800 //Ce2 memory space control register 1
ioport unsigned int port0800; // IO Space address is 0x0800
CE2_1 = 0x0A10; // write 0x0A10 to CE2_1 space control register
It complained - we used to build without any funny behaviors in CCS3.3, is there something else we need to do for the compiler or development environment?