ROM
pedward
Posts: 1,642
in Propeller 2
I see that the ROM is hidden after boot. I recommend that the ROM be relocated instead of hidden, the ROM code will contain routines that should be reused by user code to prevent bugs in re-implementation (cryptographic hashing functions).
The AES128 decryption routine can be implemented in a second stage bootloader, so encryption routines don't need to be in ROM.
The AES128 decryption routine can be implemented in a second stage bootloader, so encryption routines don't need to be in ROM.
Comments
My recollection is that the ROM isn't actually "visible" in the first place, but instead streamed in at startup time (via a combination of COGID and in internal counter). Chip mentioned that it would be difficult (but not impossible) to access the ROM (again, using COGID) in user code. It seems to me that a second stage bootloader could relocate that code if you wanted to re-use some of that functionality.