Hello, I'm using uVision2 2.40a tool with a Cypress FX2LP cpu. Inside my project I've a global declaration of a 256 byte buffer but when I try to using it something happen and the cpu often hangs like this buffer overlaps other memory area. The code is like the following:
BYTE xdata I2CBuff[256]; . . . for(i=0; i<256; i++) I2CBuff[i] = 0x00; //the upper line hangs!!
No way ... I'm currently using the fifo buffer of USB interface (the chip is a usb2.0 front-end) to store my data ... dirty but funcioning ...