NetOS 7.5 Chip Select problem on ConnectCore 9P 9215

Hi,

I have added an external SRAM device to my board, which is accessed via CS2.
I got this working with NetOS 7.4 by updating the NAStaticMemoryTable in bsp.c so that it included:

{1, 0x181, 0x02, 0x02, 0x10, 0x10, 0x10, 0x0f, 0x03100000, 0xffff0001}, /* cs2 */

I am now trying to upgrade the software to NetOS 7.5. I have put the same mod into bsp.c but the sytem crashes whenever I try to access the SRAM.

Is anyone else using external chipo selects on NetOS 7.5, or have any clues what is going on here?

Roy

I’m accessing memory-mapped I/O via CS2, and didn’t have to change anything between NetOS 7.4 and NetOS 7.5:

{1, 0x181, 0x02, 0x02, 0x10, 0x10, 0x10, 0x0f, 0x03100000, 0xffff8001}, /* cs2 - needs to be > 800ns or so cycle */

Apart from the last value (which IIRC is the size of the memory block), we’re both using the same values.