"Execute in Place (XIP) technology is key to running JavaScript applications on a device with only 512 KB of RAM. The Cortex M4 in Kinoma Element saves RAM by using XIP to run native ARM code directly from flash memory. The XS6 JavaScript Engine runs scripts directly from flash memory by implementing XIP for JavaScript byte code. This unique combination of XIP for both native and byte code frees the majority of RAM in Kinoma Element for application data."
So you have written 'SRAM' in the article, whereas the whole point of XIP is that it's running from Flash.
He is correct, as the mcu also has flash, thats where the code is. The 512KB is the SRAM, which is actually quite a bit for a microcontroller. The article doesnt list how much flash, but I would guess ~1-2MB.
We’ve updated our terms. By continuing to use the site and/or by logging into your account, you agree to the Site’s updated Terms of Use and Privacy Policy.
3 Comments
Back to Article
Murloc - Wednesday, June 24, 2015 - link
*itsTom Womack - Wednesday, June 24, 2015 - link
From the press release:"Execute in Place (XIP) technology is key to running JavaScript applications on a device with only 512 KB of RAM. The Cortex M4 in Kinoma Element saves RAM by using XIP to run native ARM code directly from flash memory. The XS6 JavaScript Engine runs scripts directly from flash memory by implementing XIP for JavaScript byte code. This unique combination of XIP for both native and byte code frees the majority of RAM in Kinoma Element for application data."
So you have written 'SRAM' in the article, whereas the whole point of XIP is that it's running from Flash.
extide - Wednesday, June 24, 2015 - link
He is correct, as the mcu also has flash, thats where the code is. The 512KB is the SRAM, which is actually quite a bit for a microcontroller. The article doesnt list how much flash, but I would guess ~1-2MB.