so i can connect it to an external cpu and run code off it? ive looked on google and cant find any definitive answers. i know it uses flash ram but if i only want to read from it, would this be a problem? and if so, where would i connect the address and data lines? any help would be appreciated.
Assuming you've got enough I/O lines available, you could program a micro-controller to work as a crude and very slow ROM, but it seems a pretty pointless thing to do.
Assuming you've got enough I/O lines available, you could program a micro-controller to work as a crude and very slow ROM, but it seems a pretty pointless thing to do.
I've no idea if such a programme exists or not, as it's such an unusual idea, perhaps not? - exactly why do you want to do this?, and exactly what do you want to do?. Why not just copy the code to the other device?.
I've no idea if such a programme exists or not, as it's such an unusual idea, perhaps not? - exactly why do you want to do this?, and exactly what do you want to do?. Why not just copy the code to the other device?.
Personally I don't think it would work. The 8051 device controls the address bus, so an external device would have to be in serial control, bit banging an address bus externally, then decoding it and reading the code and sticking it on the data bus would take longer than a serial connection, so as Nigel already said it would be piggin slow. 8051;s do have the ability to read external rom, but from a rom chip..
It's FAR too much work for such a reason, and would perform appalling slowly - just buy some better chips - or just use a simulator on your computer, which would run a lot faster.
It's FAR too much work for such a reason, and would perform appalling slowly - just buy some better chips - or just use a simulator on your computer, which would run a lot faster.
Personally I don't think it would work. The 8051 device controls the address bus, so an external device would have to be in serial control, bit banging an address bus externally, then decoding it and reading the code and sticking it on the data bus would take longer than a serial connection, so as Nigel already said it would be piggin slow. 8051;s do have the ability to read external rom, but from a rom chip..
I don't see why not (although it depends on your definition of 'work')
It should be possible to write a program to emulate a ROM, 16 I/O lines for address input, 8 I/O lines for data output, plus the usual handful of handshaking lines - but as we've said all along, it will be horribly slow.
But as the OP seems to live in the civilised world he could get some decent devices for little coat next day.