This content has been marked as final.
Show 2 replies
-
1. Re: FX3 firmware file cyfxtx.c : bits beyond valid memory
HirotakaT_91 May 13, 2018 7:49 PM (in response to 學人楊)1 of 1 people found this helpfulHi,
When the CY_U3P_BUFFER_HEAP_SIZE sets to 2292 and FX3_CACHE_LINE_SZ sets to 32, size is 72.
(On the line 723 in cyfxtx.c, (2292+31 & ~31) / 32 = 72)
> tmp = 32 - 7 = 25
That's correct.
> glBufferManager.usedStatus[size - 1] = ~((1 << 25) - 1)
That's correct.
> then i set the highest 7 bits of glBufferManager.usedStatus[size - 1] to 1.
That's correct.
Best regards,
Hirotaka Takayama
-
2. Re: FX3 firmware file cyfxtx.c : bits beyond valid memory
學人楊 May 14, 2018 6:27 AM (in response to 學人楊)Thank you for the helping (and the correction) .