Propeller Bootloader?
Waker
Posts: 4
The Propeller apparently has a bootloader in some type of ROM on board, and from browsing around, the sources have been released. I'm just wondering if this area is writable like an EEPROM or factory-pressed into the die. The ability to work without a bootloader is a dealbreaker for me. If I'm able to modify the bootloader, I'm sold on a C3 and a Synapse.
More information would be appreciated by a propeller newbie. Thanks in advance to those who post!
J
More information would be appreciated by a propeller newbie. Thanks in advance to those who post!
J
Comments
Both the prop1 and prop2 use a CMOS process that does not allow for the inclusion of EEPROM or FLASH into the chip. For that reason, but rely on an external EEPROM to get things going.
The ROMs for Prop1 and Prop2 are configured as follows:
PROPELLER 1 (products for sale now): The propeller has 32K of ROM. This ROM includes the SPIN language interpreter, a bootloader that runs a spin program off EEPROM or an attached computer. It also has stuff on it like font bitmaps and sine tables. It is interesting to note that every thing that loads of prop1 is in SPIN. Even if you load an assembly program, it is in a basic SPIN program wrapper. The prop1 has 8 cogs each with 512 longs of ram (2K) and 32K of hub memory.
PROPELLER 2 (new product 2013): The prop2 has ~2K of ROM. The prop2 ROM does only three things: 1) Bootloader from EEPROM or computer 2) Encrypted EEPROM data support w/ fuses and 3) program monitor. If there is no successful bootload device the prop2 can function over a serial connection and you can load and do various things with it. Things that used to be in ROM in the other chip are now loaded into RAM space (like SPIN interpreter and font). Trigonometry tables are not necessary because of the onboard CORDIC system in each COG. The prop2 has 512 longs (2K) for each cog like prop1 but has additional scratch memory space in each cog (used by default for color table). It also has 126K of RAM or so and can interface easily and quickly with other kinds of external RAM.
Anyhow, I hope this clarifies ROM and other memory issues for you.
1. EEPROM CHIP - the prop2 uses 32K of EEPROM to load a program. The SPI EEPROMs on most newer propeller prototyping boards is actually 64K, so you have access to that 32K for variable storage. Various drivers are on OBEX to handle this. This partially makes up for lack of built in EEPROM.
2. SDCARD. There is the FSRW or Kye's driver. It is super easy and popular to do! There are examples of how to access SD CARD for write and read on learn.parallax.com
You can expect to see a large purchase soon.
Apart from that I have 400x300 running in full colour (using the SRAM).