This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bug reports

Bugs are found in CARM 240 Evaluation version:
1. the bit field in union is not correctly shown in "watch" window

struct SDllPDU
{
	uint8 need_ack:1;
	uint8 media_type:3; 
	uint8 reserved1:2;
	uint8 relay_table_included:1;
	uint8 sn:1;
};
union UDllPDU
{
	struct SDllPDU s;
	uint8 u8;
};
As listed above, when media_type is set to 1, the value of u8 is not correctly shown is "watch" window of uVision3. The compiler is RealView 2.0

2. LPC flash simualation bug.
The LPC2314 has 128k flash, and the CopyToFlash ISP command allows 256,512, or 1024 bytes tobe copied from ram to flash. But when the buffer size if 256, keil simulator reports error(error code means: invalid buffer size), but the real target(LPC2134 itself) works well.

3. This bug is not easy to repeat, for I have revised my program.
In simulation of the LPC2134, the interrupt stops. I must write "VICVectAddr=0" in the "command" window to let the interrupt work again. In my further investigation, when CPU runs for, for example, 10000 circle before the bug occurs, but when I stop CPU in the 9999th circle, the bug will not occur. I think that the bug occurs during some instructions which take more than one machine circle to finish.