program memory
-
- Member++
- Posts: 27
- Joined: Fri Jan 06, 2012 3:55 pm
program memory
hey, just wanted to know if anyone knew how to define a value in program memory instead of ram. i am making a driver for a ks0108 lcd, and need to store the font files somewhere. i suppose the alternative would be using the spi flash, but i want to avoid that for now if i can.
-
- Respected Member
- Posts: 363
- Joined: Thu Dec 10, 2009 10:17 pm
The XMOS chips only have RAM memory inside them while the external SPI flash is accessed manually by sending read/write commands to it as there is no hardware external memory interface.
You have 64KB of memory to work with while a 8x8 pixel monochrome font for the entire ASCII palette is about 2KB only.
You have 64KB of memory to work with while a 8x8 pixel monochrome font for the entire ASCII palette is about 2KB only.
-
- Member++
- Posts: 27
- Joined: Fri Jan 06, 2012 3:55 pm
aha! that makes perfect sense. thank you very much.
-
- XCore Legend
- Posts: 1274
- Joined: Thu Dec 10, 2009 10:20 pm
Well the fonts could go into the OTP memory, just remember its permanent!
regards
Al
regards
Al