And the user program would referenced those functions programmed into the ROM.
How does the linker hook up and referenced those functions in the ROM?
Anyone seen an example for that?
A rom (?) like a usb stick and the PI? ... or do you mean an actual rom chip accessed by i2c or SPI?lilzz wrote:And the user program would referenced those functions programmed into the ROM.
How does the linker hook up and referenced those functions in the ROM?
No, she means a real ROM, not something accessed via a serial peripheral bus. If you don't know what a ROM is then you're not going to be able to helpMarkHaysHarris777 wrote:A rom (?) like a usb stick and the PI? ... or do you mean an actual rom chip accessed by i2c or SPI?lilzz wrote:And the user program would referenced those functions programmed into the ROM.
How does the linker hook up and referenced those functions in the ROM?
Trying to find out what she means.PeterO wrote:No, she means a real ROM, not something accessed via a serial peripheral bus. If you don't know what a ROM is then you're not going to be able to helpMarkHaysHarris777 wrote:A rom (?) like a usb stick and the PI? ... or do you mean an actual rom chip accessed by i2c or SPI?lilzz wrote:And the user program would referenced those functions programmed into the ROM.
How does the linker hook up and referenced those functions in the ROM?
Are you using Linux? If so, you probably need to look up the mmap function and /dev/mem, which IIRC can translate physical addresses to the virtual addresses used in userland programs.lilzz wrote:And the user program would referenced those functions programmed into the ROM.
How does the linker hook up and referenced those functions in the ROM?
Anyone seen an example for that?