Skip to content

Better RAM usage #32

@rkompass

Description

@rkompass

Hello @wdyichen and other w60x experts,

we made good progress on the w600 Micropython port again, recently.

I would like to ask you for further information and help:

Is it possible to get the following:

  • The sources of the secboot code,
  • the sources of the ROM,
  • the sources of the WLAN library?

Currently we have the compiled wlan archive only.

With the Micropython heap now at >= 100K it should still be possible to extend it more.
I'm looking for ways to free and use / add a RAM section within the upper 128 K RAM area.
My preliminary tests showed that the first 64 K of that area are sometimes changed, but it is not clear, how / by what activity. Changing the RAM contents there seemed to not hurt the system so far.
Is this space used by the FreeRTOS? Or is it used by the hardware crypto mechanism?

From wm_ram_config.h:

#define MASTER_SPI_DMA_ADDR     0x20038000UL
#define SLAVE_HSPI_SDIO_ADDR    0x2003A000UL  /*High speed SPI or SDIO buffer to exchange data*/
#define WIFI_MEM_START_ADDR	0x2003C000UL  /*Wi-Fi use buffer to exchange data*/

The start of the thus declared areas are at 64K in the upper 128K area. What is below that (the above mentioned 64 K)?

Is the high speed spi slave module used currently? It seems it is only used in connection with wlan.
Is it used for the flash function with the 2MB flash variant?
Can it be deactivated and the RAM space be free'd perhaps?

Thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions