You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • So... STM32F103RC chips (as used in Espruino) are supposed to have 48kB of RAM.

    However, I just tried this:

    >peek32(0x20000000+(64*1024)-4)  
    =2549694936
    >poke32(0x20000000+(64*1024)-4,0)   
    =undefined
    >peek32(0x20000000+(64*1024)-4)  
    =0
    

    It kind of implies that there's more RAM there than you'd expect. On my chip, using a value higher than 64 crashes it, so it looks like there's 64kB.

    I guess it's not unexpected - processor manufacturers don't use different dies for different processors. It's cool though - after I tried to get RD chips and couldn't, it looks like that's what we have anyway - they've just got RC stamped on the top!

About

Avatar for Gordon @Gordon started