xmos / lib_sdram

SDRAM library
Other
1 stars 5 forks source link

No support for 512Mb SDRAM (10b row length) #20

Open ed-xmos opened 7 years ago

ed-xmos commented 7 years ago

This should be possible at a cost of 2KB code size increase:

Change this to 512:

https://github.com/xmos/lib_sdram/blob/master/lib_sdram/src/io.S#L235

Double the length of this unrolled loop:

https://github.com/xmos/lib_sdram/blob/master/lib_sdram/src/sdram_block_read_body_xs2.inc