Shop OBEX P1 Docs P2 Docs Learn Events
Can the SX microcontroller execute code stored in extra SRAM? — Parallax Forums

Can the SX microcontroller execute code stored in extra SRAM?

unebonnevieunebonnevie Posts: 20
edited 2008-11-29 22:24 in General Discussion
Hi,

I have been in the AVR land for a couple as a newbie, and actually like it very much--good price and performance. But, one thing about the SX, which I just read about, is that it can go up to 75Mhz. I am just wondering, sorry without having time going through data sheet, if the SX can execute code stored from extra SRAM, not the SRAM in the SX itself, since it sure has very little SRAM compared to the ATMEGA series.

Thanks.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-11-28 16:15
    The SX doesn't execute code from SRAM. It executes code from its flash memory.

    There's also no way to directly attach more SRAM to an SX and have it appear as an extension to the existing SRAM.

    You can attach other memory to the SX, whether SRAM or flash memory, but the extra memory is connected as an I/O device.

    READ THE DATASHEET!!!
  • unebonnevieunebonnevie Posts: 20
    edited 2008-11-29 03:49
    Thanks for the answer...Yep, I knew that MCUs execute their in flash memory, but hoping (unlike ATMEL's MCUs) that the SX would also be able to address the intructions stored in the SRAM, but I guess not, as that would make it more like a CPU than an MCU smile.gif
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2008-11-29 22:24
    unebonnevie said...
    ... as that would make it more like a CPU than an MCU
    Actually, it would make it more like a von Neumann architecture processor than a Harvard architecture processor.

    -Phil
Sign In or Register to comment.